com.ibm.carma.model.util
Class ParameterIdentifierComparator

java.lang.Object
  extended by com.ibm.carma.model.util.ParameterIdentifierComparator
All Implemented Interfaces:
java.util.Comparator<Parameter>

public class ParameterIdentifierComparator
extends java.lang.Object
implements java.util.Comparator<Parameter>

Compares a set of parameter identifiers from CARMA Parameter objects to determine the order in which the parameter objects should be sorted. The sorting is performed based on parameter identifier.


Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ParameterIdentifierComparator()
           
 
Method Summary
 int compare(Parameter p1, Parameter p2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ParameterIdentifierComparator

public ParameterIdentifierComparator()
Method Detail

compare

public int compare(Parameter p1,
                   Parameter p2)
Specified by:
compare in interface java.util.Comparator<Parameter>