jautil
Class MapInt.Int.Comp

java.lang.Object
  extended by jautil.MapInt.Int.Comp
All Implemented Interfaces:
java.util.Comparator<MapInt.Int>
Enclosing class:
MapInt.Int

public static class MapInt.Int.Comp
extends java.lang.Object
implements java.util.Comparator<MapInt.Int>

Comparator: it simply compares the wrapped values.


Constructor Summary
MapInt.Int.Comp()
           
 
Method Summary
 int compare(MapInt.Int i0, MapInt.Int i1)
          Compares the values wrapped by the given pair of Ints.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

MapInt.Int.Comp

public MapInt.Int.Comp()
Method Detail

compare

public int compare(MapInt.Int i0,
                   MapInt.Int i1)
Compares the values wrapped by the given pair of Ints.

Specified by:
compare in interface java.util.Comparator<MapInt.Int>