|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
any object which has to be compared has to implement this interface. For example, all objects which extend Fitness have to automatically implement these methods
Method Summary | |
boolean |
equalTo(Comparable comp)
Implements the '=' |
boolean |
greaterThan(Comparable comp)
Implements the '>' |
boolean |
lessThan(Comparable comp)
Implements the '<' |
Method Detail |
public boolean lessThan(Comparable comp)
public boolean greaterThan(Comparable comp)
public boolean equalTo(Comparable comp)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |