Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.planner.core.score.comparator
Class NaturalScoreComparator

    java.lang.Object
      org.drools.planner.core.score.comparator.NaturalScoreComparator

All Implemented Interfaces:
  Serializable, Comparator<Score>

    public class NaturalScoreComparator

extends Object
implements Comparator<Score>, Serializable

Compares by the natural order of scores.

See Also:
  Serialized Form

Constructor Summary
`NaturalScoreComparator()`

Method Summary
`int` | `compare(Score score1, Score score2)`

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

### NaturalScoreComparator

    public NaturalScoreComparator()

Method Detail

### compare

    public int compare(Score score1,
                       Score score2)

  Specified by:
    `compare` in interface `Comparator<Score>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.