Oracle Data-aware Controls Reference

oracle.dacf.util
Interface Compare


public interface Compare

Defines the interface for the comparison method used by the derivatives of AbstractSort.


Field Summary
static int EQUALS
           
static int GREATER_THAN
           
static int LESS_THAN
           
 
Method Summary
 int compare(java.lang.Object a, java.lang.Object b)
          Compares two objects and returns the result.
 

Field Detail

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
Method Detail

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

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.