oracle.dacf.util
Interface Compare
- public interface Compare
Defines the interface for the comparison method used by the derivatives of
AbstractSort.
Method Summary |
int |
compare(java.lang.Object a,
java.lang.Object b)
Compares two objects and returns the result. |
GREATER_THAN
public static final int GREATER_THAN
- See Also:
- Constant Field Values
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
LESS_THAN
public static final int LESS_THAN
- See Also:
- Constant Field Values
compare
public int compare(java.lang.Object a,
java.lang.Object b)
- Compares two objects and returns the result.
- Returns:
- GREATER_THAN iff a > b
- EQUALS iff a == b
- LESS_THAN iff a < b
Copyright © 1997, 2003, Oracle. All rights reserved.