choco.kernel.memory.copy
Class RcBool
java.lang.Object
choco.kernel.memory.copy.RcBool
- All Implemented Interfaces:
- RecomputableElement, IStateBool
public final class RcBool
- extends Object
- implements IStateBool, RecomputableElement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RcBool
public RcBool(EnvironmentCopying env,
boolean b)
get
public boolean get()
- Description copied from interface:
IStateBool
- Returns the current value.
- Specified by:
get
in interface IStateBool
set
public void set(boolean b)
- Description copied from interface:
IStateBool
- Modifies the value and stores if needed the former value on the
trailing stack.
- Specified by:
set
in interface IStateBool
_set
public void _set(boolean b,
int timeStamp)
deepCopy
public boolean deepCopy()
getEnvironment
public IEnvironment getEnvironment()
- Description copied from interface:
IStateBool
- Retrieving the environment
- Specified by:
getEnvironment
in interface IStateBool
getType
public int getType()
- Specified by:
getType
in interface RecomputableElement
getTimeStamp
public int getTimeStamp()
- Specified by:
getTimeStamp
in interface RecomputableElement
Copyright © 2012. All Rights Reserved.