daikon
Class PptSlice.ArityPptnameComparator
Object
PptSlice.ArityPptnameComparator
- All Implemented Interfaces:
- Comparator<PptSlice>
- Enclosing class:
- PptSlice
public static final class PptSlice.ArityPptnameComparator
- extends Object
- implements Comparator<PptSlice>
This class is used for comparing PptSlice objects.
It orders by arity, then by name.
Because of the dependence on name, it should be used only for slices
on the same Ppt.
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PptSlice.ArityPptnameComparator
public PptSlice.ArityPptnameComparator()
compare
public int compare(PptSlice slice1,
PptSlice slice2)
- Specified by:
compare in interface Comparator<PptSlice>