|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.csp.spi.solver.ReversibleNumberArray jopt.csp.spi.solver.ReversibleLongArray
Creates a long array that is reversible with the choicepoint stack. The stack must be set on the array for this functionality to work properly.
Constructor Summary | |
ReversibleLongArray(int size)
Constructor |
Method Summary | |
void |
adjValue(int idx,
java.lang.Number val)
Sets the value of the reversible array at a particular index |
void |
clear()
|
java.lang.Number |
getValue(int idx)
Returns the value of the reversible array at a particular index |
Methods inherited from class jopt.csp.spi.solver.ReversibleNumberArray |
afterChoicePointPopEvent, afterChoicePointPushEvent, beforeChoicePointPopEvent, beforeChoicePointPushEvent, setChoicePointStack |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReversibleLongArray(int size)
Method Detail |
public void adjValue(int idx, java.lang.Number val)
adjValue
in class ReversibleNumberArray
public java.lang.Number getValue(int idx)
getValue
in class ReversibleNumberArray
public void clear()
clear
in class ReversibleNumberArray
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |