|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.core.MutableDomain
public class MutableDomain
| Field Summary | |
|---|---|
static boolean |
debug
It specifies if debugging info should be printed out. |
| Constructor Summary | |
|---|---|
MutableDomain(Store store)
|
|
MutableDomain(Store store,
IntDomain domain)
|
|
| Method Summary | |
|---|---|
MutableVarValue |
previous()
It returns the earlier value of variable comparing to the current one. |
void |
removeLevel(int removeLevel)
It removes given level from mutable variable. |
void |
setCurrent(MutableVarValue o)
It replace the current representation of the value with a new representation. |
java.lang.String |
toString()
It returns string representation of Mutable variable. |
void |
update(MutableVarValue val)
It updates the value of a mutable variable based on value given as a parameter, the stamp level of current value and stamp value of passed value. |
MutableVarValue |
value()
It returns current value of MutableVariable. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean debug
| Constructor Detail |
|---|
public MutableDomain(Store store)
store - store in which the mutable domain is created.
public MutableDomain(Store store,
IntDomain domain)
store - store in which the mutable domain is created.domain - specifies the domain used to create mutable domain.| Method Detail |
|---|
public MutableVarValue previous()
MutableVar
previous in interface MutableVarpublic void removeLevel(int removeLevel)
MutableVar
removeLevel in interface MutableVarremoveLevel - it specifies the level which is being removed.public void setCurrent(MutableVarValue o)
MutableVar
setCurrent in interface MutableVaro - value to which a mutable variable is set.public java.lang.String toString()
MutableVar
toString in interface MutableVartoString in class java.lang.Objectpublic void update(MutableVarValue val)
MutableVar
update in interface MutableVarval - it specifies the new value of a mutable variable.public MutableVarValue value()
MutableVar
value in interface MutableVar
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||