# Interface Sorter.IComparable

public interface IComparable
extends Object

This interface abstracts the notion of an object that knows how to compare itself against other objects (of the same type).

##

compare (IComparable)
  This method returns a boolean based on the definition of comparison used by the concrete class

##

compare

    public boolean compare(IComparable iComparable)

  This method returns a boolean based on the definition of comparison used by the concrete class.

  Parameters:
    iComparable - The other object to be compared against.
  Returns:
    true/false, depending on whether or not the two objects compare.