mWaba
Interface Comparable


public abstract interface Comparable


Method Summary
 int compareTo(java.lang.Object other)
          This should return a number > 0 if this object is greater than "other", < 0 if this object is less than "other" or 0 if this object is equal to "other".
 

Method Detail

compareTo

public int compareTo(java.lang.Object other)
This should return a number > 0 if this object is greater than "other", < 0 if this object is less than "other" or 0 if this object is equal to "other". In other words, an implicit subtraction of "other" from this.