nl.tudelft.simulation.messaging.comparators
Class ReversePriorityCompare

java.lang.Object
  extended bynl.tudelft.simulation.messaging.comparators.FieldComparator
      extended bynl.tudelft.simulation.messaging.comparators.PriorityCompare
          extended bynl.tudelft.simulation.messaging.comparators.ReversePriorityCompare
All Implemented Interfaces:
java.util.Comparator, java.io.Serializable

public class ReversePriorityCompare
extends PriorityCompare

A reverse 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.

Version:
$$Revision: 1.3 $$ $$Date: 2005/04/08 11:29:13 $$
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.messaging.comparators.PriorityCompare
FIELDNAME
 
Fields inherited from class nl.tudelft.simulation.messaging.comparators.FieldComparator
fieldName, negative, next
 
Constructor Summary
ReversePriorityCompare()
          constructs a new ReversePriorityCompare
ReversePriorityCompare(java.util.Comparator next)
          constructs a new ReversePriorityCompare
 
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
 

Constructor Detail

ReversePriorityCompare

public ReversePriorityCompare()
constructs a new ReversePriorityCompare


ReversePriorityCompare

public ReversePriorityCompare(java.util.Comparator next)
constructs a new ReversePriorityCompare

Parameters:
next - the next comparator to use


Copyright © 2004-2005 Delft University of Technology, the Netherlands. All Rights Reserved.