choco.kernel.memory.copy
Class RcBool

java.lang.Object
  extended by choco.kernel.memory.copy.RcBool
All Implemented Interfaces:
RecomputableElement, IStateBool

public final class RcBool
extends Object
implements IStateBool, RecomputableElement


Field Summary
 
Fields inherited from interface choco.kernel.memory.copy.RecomputableElement
BOOL, DOUBLE, DOUBLEVECTOR, INT, INTVECTOR, LONG, LONGVECTOR, NB_TYPE, OBJECT, VECTOR
 
Constructor Summary
RcBool(EnvironmentCopying env, boolean b)
           
 
Method Summary
 void _set(boolean b, int timeStamp)
           
 boolean deepCopy()
           
 boolean get()
          Returns the current value.
 IEnvironment getEnvironment()
          Retrieving the environment
 int getTimeStamp()
           
 int getType()
           
 void set(boolean b)
          Modifies the value and stores if needed the former value on the trailing stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RcBool

public RcBool(EnvironmentCopying env,
              boolean b)
Method Detail

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.