edu.uci.ics.pattis.ics22
Class IntegerIncreasing

java.lang.Object
  extended by edu.uci.ics.pattis.ics22.IntegerIncreasing
All Implemented Interfaces:
java.util.Comparator

public class IntegerIncreasing
extends java.lang.Object
implements java.util.Comparator


Constructor Summary
IntegerIncreasing()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerIncreasing

public IntegerIncreasing()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Comparator
Overrides:
equals in class java.lang.Object