All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.beans.util.Comparable

public interface interface Comparable
This interface is used by the PriorityQueue class to compare two objects.


Method Index

 o isEqualTo(Object, Object)
Determines if an object is equal to another object.
 o isGreaterThan(Object, Object)
Determines if an object is greater than another object.
 o isLessThan(Object, Object)
Determines if an object is less than another object.

Methods

 o isLessThan
 public abstract boolean isLessThan(Object x,
                                    Object y)
Determines if an object is less than another object.

Parameters:
x - The operand on the left side of the comparison.
y - The operand on the right side of the comparison.
Returns:
true if x < y; false otherwise.
 o isGreaterThan
 public abstract boolean isGreaterThan(Object x,
                                       Object y)
Determines if an object is greater than another object.

Parameters:
x - The operand on the left side of the comparison.
y - The operand on the right side of the comparison.
Returns:
true if x > y; false otherwise.
 o isEqualTo
 public abstract boolean isEqualTo(Object x,
                                   Object y)
Determines if an object is equal to another object.

Parameters:
x - The operand on the left side of the comparison.
y - The operand on the right side of the comparison.
Returns:
true if x == y; false otherwise.

All Packages  Class Hierarchy  This Package  Previous  Next  Index