public interface MutableVarValue
Modifier and Type | Method and Description |
---|---|
Object |
clone()
It clones the value of mutable variable.
|
MutableVarValue |
previous()
It returns the earlier value of mutable variable.
|
void |
setPrevious(MutableVarValue o)
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.
|
String |
toString()
It returns string representation of the current value of mutable
variable.
|
Object clone()
MutableVarValue previous()
void setPrevious(MutableVarValue o)
o
- the previous value for this mutable variable.void setStamp(int stamp)
stamp
- the new stamp of value of mutable variableint stamp()
Copyright © 2022. All rights reserved.