org.apache.activemq.openwire
Class CommandIdComparator
java.lang.Object
org.apache.activemq.openwire.CommandIdComparator
- All Implemented Interfaces:
- Comparator<Command>
public class CommandIdComparator
- extends Object
- implements Comparator<Command>
A @{link Comparator} of commands using their Command.getCommandId()
- Version:
- $Revision: 564814 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandIdComparator
public CommandIdComparator()
compare
public int compare(Command c1,
Command c2)
- Specified by:
compare
in interface Comparator<Command>
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.