blueme.messenger.common
Class MsgTimeSort

java.lang.Object
  extended by blueme.messenger.common.MsgTimeSort
All Implemented Interfaces:
iQSortComp

public class MsgTimeSort
extends java.lang.Object
implements iQSortComp

Used by QSort to sort messages on time..


Constructor Summary
MsgTimeSort()
          Creates a new instance of MsgTimeSort
 
Method Summary
 boolean le(java.lang.Object obj1, java.lang.Object obj2)
          Returns "true" if obj1 <= obj2.
 void OldFirst(boolean oldFirst)
          If set to "true", the "oldest" objects will come first.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgTimeSort

public MsgTimeSort()
Creates a new instance of MsgTimeSort

Method Detail

le

public boolean le(java.lang.Object obj1,
                  java.lang.Object obj2)
Description copied from interface: iQSortComp
Returns "true" if obj1 <= obj2.

Specified by:
le in interface iQSortComp

OldFirst

public void OldFirst(boolean oldFirst)
Description copied from interface: iQSortComp
If set to "true", the "oldest" objects will come first.

Specified by:
OldFirst in interface iQSortComp