org.optaplanner.core.api.score.constraint.primlong
Class LongConstraintMatch
java.lang.Object
org.optaplanner.core.api.score.constraint.ConstraintMatch
org.optaplanner.core.api.score.constraint.primlong.LongConstraintMatch
- All Implemented Interfaces:
- Serializable, Comparable<ConstraintMatch>
public class LongConstraintMatch
- extends ConstraintMatch
- See Also:
- Serialized Form
constraintMatchTotal
protected final LongConstraintMatchTotal constraintMatchTotal
weight
protected final long weight
LongConstraintMatch
public LongConstraintMatch(LongConstraintMatchTotal constraintMatchTotal,
List<Object> justificationList,
long weight)
getConstraintMatchTotal
public LongConstraintMatchTotal getConstraintMatchTotal()
- Specified by:
getConstraintMatchTotal
in class ConstraintMatch
getWeight
public long getWeight()
getWeightAsNumber
public Number getWeightAsNumber()
- Specified by:
getWeightAsNumber
in class ConstraintMatch
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.