public interface MutableVar extends Stateful
Modifier and Type | Method and Description |
---|---|
MutableVarValue |
previous()
It returns the earlier value of variable comparing to the current one.
|
void |
setCurrent(MutableVarValue o)
It replace the current representation of the value with a new
representation.
|
String |
toString()
It returns string representation of Mutable variable.
|
void |
update(MutableVarValue value)
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.
|
isStateful, removeLevel
MutableVarValue previous()
void setCurrent(MutableVarValue o)
o
- value to which a mutable variable is set.String toString()
void update(MutableVarValue value)
value
- it specifies the new value of a mutable variable.MutableVarValue value()
Copyright © 2022. All rights reserved.