daikon
Class PptSlice.ArityPptnameComparator

Object
  extended by 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.


Constructor Summary
PptSlice.ArityPptnameComparator()
           
 
Method Summary
 int compare(PptSlice slice1, PptSlice slice2)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Comparator
equals
 

Constructor Detail

PptSlice.ArityPptnameComparator

public PptSlice.ArityPptnameComparator()
Method Detail

compare

public int compare(PptSlice slice1,
                   PptSlice slice2)
Specified by:
compare in interface Comparator<PptSlice>