org.getopt.luke
Class IntPair.PairComparator

java.lang.Object
  extended by org.getopt.luke.IntPair.PairComparator
All Implemented Interfaces:
java.util.Comparator<IntPair>
Enclosing class:
IntPair

public static class IntPair.PairComparator
extends java.lang.Object
implements java.util.Comparator<IntPair>


Constructor Summary
IntPair.PairComparator(boolean byText, boolean ascending)
           
 
Method Summary
 int compare(IntPair h1, IntPair h2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

IntPair.PairComparator

public IntPair.PairComparator(boolean byText,
                              boolean ascending)
Method Detail

compare

public int compare(IntPair h1,
                   IntPair h2)
Specified by:
compare in interface java.util.Comparator<IntPair>