Package fr.dyade.aaa.agent
Class MessageSoftList.MessageSoftComparator
- java.lang.Object
-
- fr.dyade.aaa.agent.MessageSoftList.MessageSoftComparator
-
- All Implemented Interfaces:
Comparator<MessageSoftRef>
- Enclosing class:
- MessageSoftList
static class MessageSoftList.MessageSoftComparator extends Object implements Comparator<MessageSoftRef>
A comparator to keep list sorted by message stamp when using soft references.
-
-
Constructor Summary
Constructors Constructor Description MessageSoftComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(MessageSoftRef o1, MessageSoftRef o2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(MessageSoftRef o1, MessageSoftRef o2)
- Specified by:
comparein interfaceComparator<MessageSoftRef>
-
-