|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.messaging.comparators.FieldComparator
nl.tudelft.simulation.messaging.comparators.PriorityCompare
A priority-based comparator to be able to compare messages based on fields.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
| Field Summary | |
static java.lang.String |
FIELDNAME
the fieldName used to check priority |
| Fields inherited from class nl.tudelft.simulation.messaging.comparators.FieldComparator |
fieldName, negative, next |
| Constructor Summary | |
PriorityCompare()
constructs a new PriorityCompare on the id-field of a message |
|
PriorityCompare(java.util.Comparator next)
constructs a new PriorityCompare |
|
| Methods inherited from class nl.tudelft.simulation.messaging.comparators.FieldComparator |
compare, isNegative, setNegative |
| 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 |
| Field Detail |
public static final java.lang.String FIELDNAME
| Constructor Detail |
public PriorityCompare()
public PriorityCompare(java.util.Comparator next)
next - the next comparator to use
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||