ix.util.context
Class ContextBoolean

java.lang.Object
  extended by ix.util.context.ContextBoolean

public class ContextBoolean
extends java.lang.Object

An object that contains a single context-dependent boolean value.


Field Summary
(package private)  ContextHolder holder
           
(package private)  ContextLink link
           
 
Constructor Summary
ContextBoolean(boolean rootValue)
           
ContextBoolean(ContextHolder holder, boolean rootValue)
           
 
Method Summary
 boolean get()
           
 boolean isFalse()
           
 boolean isTrue()
           
 void set(boolean new_value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

holder

ContextHolder holder

link

ContextLink link
Constructor Detail

ContextBoolean

public ContextBoolean(boolean rootValue)

ContextBoolean

public ContextBoolean(ContextHolder holder,
                      boolean rootValue)
Method Detail

get

public boolean get()

isTrue

public boolean isTrue()

isFalse

public boolean isFalse()

set

public void set(boolean new_value)