|
OptaPlanner core 6.0.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optaplanner.core.impl.score.constraint.ConstraintOccurrence
org.optaplanner.core.impl.score.constraint.LongConstraintOccurrence
@Deprecated public class LongConstraintOccurrence
Will be removed in version 6.1.0.Beta1.
Field Summary | |
---|---|
protected long |
weight
Deprecated. |
Fields inherited from class org.optaplanner.core.impl.score.constraint.ConstraintOccurrence |
---|
causes, constraintType, ruleId |
Constructor Summary | |
---|---|
LongConstraintOccurrence(String ruleId,
ConstraintType constraintType,
long weight,
Object... causes)
Deprecated. |
|
LongConstraintOccurrence(String ruleId,
ConstraintType constraintType,
Object... causes)
Deprecated. |
|
LongConstraintOccurrence(String ruleId,
long weight,
Object... causes)
Deprecated. |
|
LongConstraintOccurrence(String ruleId,
Object... causes)
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Deprecated. |
long |
getWeight()
Deprecated. |
int |
hashCode()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class org.optaplanner.core.impl.score.constraint.ConstraintOccurrence |
---|
compareTo, getCauses, getConstraintType, getRuleId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long weight
Constructor Detail |
---|
public LongConstraintOccurrence(String ruleId, Object... causes)
public LongConstraintOccurrence(String ruleId, ConstraintType constraintType, Object... causes)
public LongConstraintOccurrence(String ruleId, long weight, Object... causes)
public LongConstraintOccurrence(String ruleId, ConstraintType constraintType, long weight, Object... causes)
Method Detail |
---|
public long getWeight()
public boolean equals(Object o)
equals
in class ConstraintOccurrence
public int hashCode()
hashCode
in class ConstraintOccurrence
public String toString()
toString
in class ConstraintOccurrence
|
OptaPlanner core 6.0.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |