Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ccl.util
Interface Comparable

public interface Comparable

Comparable is an interface for any class possessing an element comparison method.

Method Summary
`int` | `compare(java.lang.Object oFirst_, java.lang.Object oSecond_)` Compare two Objects with respect to ordering.

Method Detail

### compare

    public int compare(java.lang.Object oFirst_,
                       java.lang.Object oSecond_)

  Compare two Objects with respect to ordering. Typical implementations first cast their arguments to particular types in order to perform comparison

  Parameters:
    `oFirst_` - first argument
    `oSecond_` - second argument
  Returns:
    a negative number if fst is less than snd; a positive number if fst is greater than snd; else 0

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD