Package daikon
Class DynamicConstants.ConIndexComparator
- Object
-
- ConIndexComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<DynamicConstants.Constant>
- Enclosing class:
- DynamicConstants
public static final class DynamicConstants.ConIndexComparator extends Object implements Comparator<DynamicConstants.Constant>, Serializable
Compares two constants based on the vi_index of their variable.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(DynamicConstants.Constant con1, DynamicConstants.Constant con2)
static DynamicConstants.ConIndexComparator
getInstance()
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
@Pure public int compare(DynamicConstants.Constant con1, DynamicConstants.Constant con2)
- Specified by:
compare
in interfaceComparator<DynamicConstants.Constant>
-
getInstance
public static DynamicConstants.ConIndexComparator getInstance()
-
-