cz.cuni.amis.utils.flag.connective
Class And

java.lang.Object
  extended by cz.cuni.amis.utils.flag.Flag<java.lang.Boolean>
      extended by cz.cuni.amis.utils.flag.connective.Connective
          extended by cz.cuni.amis.utils.flag.connective.And
All Implemented Interfaces:
IFlag<java.lang.Boolean>, java.io.Serializable

public class And
extends Connective

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.utils.flag.Flag
Flag.DoInSync<T>
 
Field Summary
protected  int trueValue
           
 
Fields inherited from class cz.cuni.amis.utils.flag.connective.Connective
flags, listeners, truthValue
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static And get(Flag<java.lang.Boolean>[] flags)
           
static And get(Flag<java.lang.Boolean> flag1, Flag<java.lang.Boolean> flag2)
           
protected  void truthValueChanged()
           
 
Methods inherited from class cz.cuni.amis.utils.flag.connective.Connective
hashCode
 
Methods inherited from class cz.cuni.amis.utils.flag.Flag
addListener, addStrongListener, clearListeners, defreeze, freeze, getFlag, getImmutable, inSync, inSyncInner, isFrozen, isListenning, isNone, isOne, removeAllListeners, removeListener, setFlag, waitFor, waitFor, waitForChange, waitForChange
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trueValue

protected int trueValue
Method Detail

get

public static And get(Flag<java.lang.Boolean> flag1,
                      Flag<java.lang.Boolean> flag2)

get

public static And get(Flag<java.lang.Boolean>[] flags)

truthValueChanged

protected void truthValueChanged()
Specified by:
truthValueChanged in class Connective

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object