fr.dyade.aaa.agent
Class MessageSoftList.MessageSoftComparator

java.lang.Object
  extended by fr.dyade.aaa.agent.MessageSoftList.MessageSoftComparator
All Implemented Interfaces:
java.util.Comparator<MessageSoftRef>
Enclosing class:
MessageSoftList

static class MessageSoftList.MessageSoftComparator
extends java.lang.Object
implements java.util.Comparator<MessageSoftRef>

A comparator to keep list sorted by message stamp when using soft references.


Constructor Summary
MessageSoftList.MessageSoftComparator()
           
 
Method Summary
 int compare(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
 

Constructor Detail

MessageSoftList.MessageSoftComparator

MessageSoftList.MessageSoftComparator()
Method Detail

compare

public int compare(MessageSoftRef o1,
                   MessageSoftRef o2)
Specified by:
compare in interface java.util.Comparator<MessageSoftRef>


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.