choco.kernel.memory.copy
Class RcObject
java.lang.Object
choco.kernel.memory.copy.RcObject
- All Implemented Interfaces:
- RecomputableElement, IStateObject
public class RcObject
- extends Object
- implements IStateObject, RecomputableElement
RcObject
public RcObject(EnvironmentCopying env,
Object obj)
get
public Object get()
set
public void set(Object y)
_set
protected void _set(Object y,
int wstamp)
- Modifies the value without storing the former value on the trailing stack.
- Parameters:
y
- the new valuewstamp
- the stamp of the world in which the update is performed
getEnvironment
public IEnvironment getEnvironment()
deepCopy
public Object deepCopy()
getType
public int getType()
- Specified by:
getType
in interface RecomputableElement
getTimeStamp
public int getTimeStamp()
- Specified by:
getTimeStamp
in interface RecomputableElement
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.