if ( t1.getTriggerTimestamp() < t2.getTriggerTimestamp() ) return -1;
if ( t1.getTriggerTimestamp() > t2.getTriggerTimestamp() ) return 1;
       public int compare(Object o1, Object o2)         {            if ( ! ( o1 instanceof BeliefUpdateTrigger )                 || ! (o2 instanceof BeliefUpdateTrigger ))                throw new ClassCastException                        ( "Cannot compare objects. Not BeliefUpdateTriggers.");            BeliefUpdateTrigger t1 = (BeliefUpdateTrigger) o1;            BeliefUpdateTrigger t2 = (BeliefUpdateTrigger) o2;        if ( t1.getTriggerTimestamp() < t2.getTriggerTimestamp() )            return -1;        if ( t1.getTriggerTimestamp() > t2.getTriggerTimestamp() )            return 1;        return 0;        } // method compare