Package | Description |
---|---|
cz.cuni.amis.utils.flag | |
cz.cuni.amis.utils.flag.connective | |
cz.cuni.amis.utils.future |
Modifier and Type | Class and Description |
---|---|
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 | Class and Description |
---|---|
class |
And |
class |
Connective
Used to create logical expression out of different flags.
|
class |
Or |
Modifier and Type | Field and Description |
---|---|
protected Set<Flag<Boolean>> |
Connective.flags |
Modifier and Type | Method and Description |
---|---|
static Or |
Or.get(Flag<Boolean>[] flags) |
static And |
And.get(Flag<Boolean>[] flags) |
static Or |
Or.get(Flag<Boolean> flag1,
Flag<Boolean> flag2) |
static Or |
Or.get(Flag<Boolean> flag1,
Flag<Boolean> flag2) |
static And |
And.get(Flag<Boolean> flag1,
Flag<Boolean> flag2) |
static And |
And.get(Flag<Boolean> flag1,
Flag<Boolean> flag2) |
Constructor and Description |
---|
Connective(Flag<Boolean>[] flags) |
Connective(Flag<Boolean> flag1,
Flag<Boolean> flag2) |
Connective(Flag<Boolean> flag1,
Flag<Boolean> flag2) |
ConnectiveListener(Connective connective,
Flag<Boolean> flag,
int myIndex) |
Constructor and Description |
---|
FlagFuture(Flag<FlagType> waitFlag,
FlagType terminalFlagValue,
Result resultValue)
Initializing future to wait for 'terminalFlagValue' at 'waitFlag', when that happens complete
itself with result 'resultValue'.
|
FlagFuture(Flag<FlagType> waitFlag,
Map<FlagType,Result> terminalMap)
In constructor you have to specify a flag where the future should listen at + terminal
states for the future (terminalMap).
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.