Package tigase.xmpp.impl
Class OfflineMessages.StampComparator
java.lang.Object
tigase.xmpp.impl.OfflineMessages.StampComparator
- All Implemented Interfaces:
Comparator<Packet>
- Enclosing class:
OfflineMessages
Comparator interface implementation for the purpose of sorting Elements retrieved from the repository by
the timestamp stored in delay element.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
StampComparator
public StampComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Packet>
-