All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Supporting.Comparable

public abstract interface Comparable
Protocol for Comparable objects.


Method Index

 o compares(Comparable)
Compare this object with rhs.
 o lessThan(Comparable)
Compare this object with rhs.

Methods

 o compares
 public abstract int compares(Supporting.Comparable rhs)
Compare this object with rhs.

Parameters:
Rhs - the second Comparable.
Returns:
0 if two objects are equal; less than zero if this object is smaller; greater than zero if this object is larger.
 o lessThan
 public abstract boolean lessThan(Supporting.Comparable rhs)
Compare this object with rhs.

Parameters:
Rhs - the second Comparable.
Returns:
true if this object is smaller; false otherwise.

All Packages  Class Hierarchy  This Package  Previous  Next  Index