sdt.ga
Interface Comparable

All Known Implementing Classes:
Fitness

public interface Comparable

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

lessThan

public boolean lessThan(Comparable comp)
Implements the '<'

greaterThan

public boolean greaterThan(Comparable comp)
Implements the '>'

equalTo

public boolean equalTo(Comparable comp)
Implements the '='