org.exolab.jms.messagemgr
Class MessageHandleComparator
java.lang.Object
|
+--org.exolab.jms.messagemgr.MessageHandleComparator
- All Implemented Interfaces:
- java.util.Comparator
- public class MessageHandleComparator
- extends java.lang.Object
- implements java.util.Comparator
MessageHandleComparator is used to order messages on priority, acceptance
time and sequence number.
- Version:
- $Revision: 1.2 $ $Date: 2005/03/18 03:58:39 $
- Author:
- Jim Mourikis
Method Summary |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
boolean |
equals(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageHandleComparator
public MessageHandleComparator()
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare
in interface java.util.Comparator
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface java.util.Comparator
- Overrides:
equals
in class java.lang.Object
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.