Class IndictmentScoreComparator
- java.lang.Object
-
- org.optaplanner.core.api.score.constraint.IndictmentScoreComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<Indictment>
@Deprecated public class IndictmentScoreComparator extends Object implements Comparator<Indictment>, Serializable
Deprecated.If you need this, it is trivial to implement viaComparator.comparing(Function)
.Compares byIndictment
s based onIndictment.getScore()
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndictmentScoreComparator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compare(Indictment a, Indictment b)
Deprecated.-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Indictment a, Indictment b)
Deprecated.- Specified by:
compare
in interfaceComparator<Indictment>
-
-