Package | Description |
---|---|
cz.cuni.amis.utils.flag | |
cz.cuni.amis.utils.flag.connective |
Modifier and Type | Interface and Description |
---|---|
interface |
IReasonFlag<TYPE,REASON>
Allows you to pass reasons of flag change along with new value of the flag.
|
Modifier and Type | Class and Description |
---|---|
class |
Flag<T>
This class may be used to create an observable value (you may attach change-listeners to it).
|
class |
FlagInteger
This class is cruicial in order to have synchronized increments on the integer flag.
|
class |
ImmutableFlag<T>
Flag whhich value cannot be set. |
class |
ImmutableReasonFlag<T,R>
Reason flag whose value cannot be set.
|
class |
ReasonFlag<TYPE,REASON>
Allows you to pass reasons of flag change along with new value of the flag.
|
Modifier and Type | Field and Description |
---|---|
protected IFlag<T> |
ImmutableFlag.flag |
Constructor and Description |
---|
ImmutableFlag(IFlag<T> flag)
Creates a new instance of ImmutableFlag
|
WaitForFlagChange(IFlag<TYPE> flag)
Wait for the next flag change.
|
WaitForFlagChange(IFlag<TYPE> flag,
Collection<TYPE> waitingFor) |
WaitForFlagChange(IFlag<TYPE> flag,
TYPE waitingFor) |
WaitForFlagChange(IFlag<TYPE> flag,
TYPE[] waitingFor) |
WaitForFlagChange(IFlag<TYPE> flag,
WaitForFlagChange.IAccept<TYPE> waitingFor) |
Modifier and Type | Class and Description |
---|---|
class |
And |
class |
Connective
Used to create logical expression out of different flags.
|
class |
Or |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.