All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jdsl.core.ref.IntegerComparator
Integer
is equal to another.
Integer
is greater than another.
Integer
is greater than or equal to another.
Integer
is less than another.
Integer
is less than or equal to another.
public IntegerComparator()
public boolean isGreaterThan(Object x1, Object x2) throws InvalidElementException
Integer
is greater than another.
x1
is greater than x2
Integer
public boolean isLessThan(Object x1, Object x2) throws InvalidElementException
Integer
is less than another.
x1
is less than x2
Integer
public boolean isEqualTo(Object x1, Object x2) throws InvalidElementException
Integer
is equal to another.
x1
is equal to x2
Integer
public boolean isGreaterThanOrEqualTo(Object x1, Object x2) throws InvalidElementException
Integer
is greater than or equal to another.
x1
is greater than or equal to
x2
@exception InvalidElementException if either parameter
is not an Integer
public boolean isLessThanOrEqualTo(Object x1, Object x2) throws InvalidElementException
Integer
is less than or equal to another.
x1
is less than or equal to
x2
@exception InvalidElementException if either parameter
is not an Integer
public boolean isComparable(Object x)
All Packages Class Hierarchy This Package Previous Next Index