All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.dip.DipToObjectMapComparator
java.lang.Object
|
+----com.ibm.beans.dip.DipToObjectMapComparator
- public class DipToObjectMapComparator
- extends Object
- implements Comparable, Serializable
This class compares two different DipToObjectMap instances.
The DipInfo.priority() method is used for the comparison.
The DipToObjectMapComparator class is used to create priority queues of
DipToObjectMap instances.
-
DipToObjectMapComparator()
-
-
isEqualTo(Object, Object)
- Determines whether a DipToObjectMap instance is equal to another
DipToObjectMap instance.
-
isGreaterThan(Object, Object)
- Determines whether a DipToObjectMap instance is greater than another
DipToObjectMap instance.
-
isLessThan(Object, Object)
- Determines whether a DipToObjectMap instance is less than another
DipToObjectMap instance.
DipToObjectMapComparator
public DipToObjectMapComparator()
isLessThan
public final boolean isLessThan(Object x,
Object y)
- Determines whether a DipToObjectMap instance is less than another
DipToObjectMap instance.
- 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.
isGreaterThan
public final boolean isGreaterThan(Object x,
Object y)
- Determines whether a DipToObjectMap instance is greater than another
DipToObjectMap instance.
- 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.
isEqualTo
public final boolean isEqualTo(Object x,
Object y)
- Determines whether a DipToObjectMap instance is equal to another
DipToObjectMap instance.
- 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