org.optaplanner.core.api.score.constraint.primlong
public class LongConstraintMatch extends ConstraintMatch
Modifier and Type | Field and Description |
---|---|
protected LongConstraintMatchTotal |
constraintMatchTotal |
protected long |
weight |
justificationList
Constructor and Description |
---|
LongConstraintMatch(LongConstraintMatchTotal constraintMatchTotal,
List<Object> justificationList,
long weight) |
Modifier and Type | Method and Description |
---|---|
LongConstraintMatchTotal |
getConstraintMatchTotal() |
long |
getWeight() |
Number |
getWeightAsNumber() |
compareTo, getJustificationList, toString
protected final LongConstraintMatchTotal constraintMatchTotal
protected final long weight
public LongConstraintMatch(LongConstraintMatchTotal constraintMatchTotal, List<Object> justificationList, long weight)
public LongConstraintMatchTotal getConstraintMatchTotal()
getConstraintMatchTotal
in class ConstraintMatch
public long getWeight()
public Number getWeightAsNumber()
getWeightAsNumber
in class ConstraintMatch
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.