|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.core.MutableDomainValue
public class MutableDomainValue
| Field Summary | |
|---|---|
Domain |
domain
It stores the value of the mutable domain. |
| Constructor Summary | |
|---|---|
MutableDomainValue(Domain domain)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
It clones the value of mutable variable. |
MutableVarValue |
previous()
It returns the earlier value of mutable variable. |
void |
setPrevious(MutableVarValue nn)
It replaces the earlier value of a mutable variable with value passed as parameter. |
void |
setStamp(int stamp)
It sets the stamp of value of mutable variable. |
int |
stamp()
It returns the stamp value of value of mutable variable. |
java.lang.String |
toString()
It returns string representation of the current value of mutable variable. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Domain domain
| Constructor Detail |
|---|
public MutableDomainValue(Domain domain)
domain - specifies domain stored by a mutable domain.| Method Detail |
|---|
public java.lang.Object clone()
MutableVarValue
clone in interface MutableVarValueclone in class java.lang.Objectpublic MutableVarValue previous()
MutableVarValue
previous in interface MutableVarValuepublic void setPrevious(MutableVarValue nn)
MutableVarValue
setPrevious in interface MutableVarValuenn - the previous value for this mutable variable.public void setStamp(int stamp)
MutableVarValue
setStamp in interface MutableVarValuestamp - the new stamp of value of mutable variablepublic int stamp()
MutableVarValue
stamp in interface MutableVarValuepublic java.lang.String toString()
MutableVarValue
toString in interface MutableVarValuetoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||