blueme.messenger.common
Class UserListTimeComp

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

public class UserListTimeComp
extends java.lang.Object
implements iQSortComp

Sorts the buddylist based on when each user was last in use. Used by QSort.


Constructor Summary
UserListTimeComp()
          Init object.
 
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

UserListTimeComp

public UserListTimeComp()
Init object.

Method Detail

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

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