com.ibm.as400.ui.tools
Interface Comparable


public interface Comparable

Comparable interface

Version:
6/19/97
Author:
Robert Oliver

Method Summary
Modifier and Type Method and Description
 int compareTo(Comparable thingy)
          Compares two Comparable objects
 

Method Detail

compareTo

int compareTo(Comparable thingy)
Compares two Comparable objects

Parameters:
thingy - second object to compare to
Returns:
Returns a negative value if "this" object compares less than thingy, 0 if they are equal, and a positive value if "this" object is greater than thingy.