cz.cuni.amis.utils.flag.connective
Class Connective
java.lang.Object
cz.cuni.amis.utils.flag.Flag<Boolean>
cz.cuni.amis.utils.flag.connective.Connective
- All Implemented Interfaces:
- IFlag<Boolean>, Serializable
- Direct Known Subclasses:
- And, Or
public abstract class Connective
- extends Flag<Boolean>
Used to create logical expression out of different flags. (Warning: spagetthi code ahead!)
- Author:
- Jimmy
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class cz.cuni.amis.utils.flag.Flag |
Flag.DoInSync<T> |
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 |
listeners
protected List<ConnectiveListener> listeners
truthValue
protected int[] truthValue
flags
protected Set<Flag<Boolean>> flags
Connective
public Connective(Flag<Boolean> flag1,
Flag<Boolean> flag2)
Connective
public Connective(Flag<Boolean>[] flags)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
truthValueChanged
protected abstract void truthValueChanged()
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.