|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.eval.AbstractScoreComparator | +--mss.ea.eval.DefaultScoreComparator
Default implementation of a score comparator. This comparator compares two score objects. The compare-method simply calls the compare-method of the first score object and returns the result of the comparison versus the other score object.
Fields inherited from interface mss.ea.core.ScoreComparator |
serialVersionUID |
Constructor Summary | |
DefaultScoreComparator()
|
Method Summary | |
int |
compare(Score sa,
Score sb)
Compares two scores. |
Methods inherited from class mss.ea.eval.AbstractScoreComparator |
compare |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Constructor Detail |
public DefaultScoreComparator()
Method Detail |
public int compare(Score sa, Score sb)
compare
in class AbstractScoreComparator
sa
- first scoresb
- second score
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |