daikon
Class PptCombined.PpSizeComparator
Object
PptCombined.PpSizeComparator
- All Implemented Interfaces:
- Comparator<PptTopLevel>
- Enclosing class:
- PptCombined
public static final class PptCombined.PpSizeComparator
- extends Object
- implements Comparator<PptTopLevel>
Given a map, sort elements of the map according to the size of the mapped-to list.
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PptCombined.PpSizeComparator
public PptCombined.PpSizeComparator(Map<PptTopLevel,List<PptTopLevel>> pp)
compare
public int compare(PptTopLevel ppt1,
PptTopLevel ppt2)
- Specified by:
compare in interface Comparator<PptTopLevel>