All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.taligent.util.Comparator

public interface Comparator
extends Serializable
This is your general, run-of-the-mill comparator class that compares two objects. The user must extend this class to provide functionality.

Version:
1.0
Author:
Andy Clark, Taligent Inc.

Method Index

 o compare(Object, Object)
Compares object a to b.

Methods

 o compare
 public abstract int compare(Object a,
                             Object b)
Compares object a to b.

Returns:
Returns -1 if a < b; 0 if a == b; and 1 if a > b.

All Packages  Class Hierarchy  This Package  Previous  Next  Index