|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FlagListener | |
---|---|
cz.cuni.amis.utils.flag | |
cz.cuni.amis.utils.flag.connective | |
cz.cuni.amis.utils.future |
Uses of FlagListener in cz.cuni.amis.utils.flag |
---|
Subinterfaces of FlagListener in cz.cuni.amis.utils.flag | |
---|---|
interface |
ReasonFlagListener<TYPE,REASON>
Listener for ReasonFlag . |
Classes in cz.cuni.amis.utils.flag that implement FlagListener | |
---|---|
static class |
ReasonFlagListener.FlagListenerAdapter<T,R>
Adapter for the simple FlagListener that does not care about reasons (the reason is masked during the call...) |
Methods in cz.cuni.amis.utils.flag with parameters of type FlagListener | |
---|---|
void |
Flag.addListener(FlagListener<T> listener)
Adds new listener to the flag with specified param. |
void |
ImmutableFlag.addListener(FlagListener<T> listener)
|
void |
IFlag.addListener(FlagListener<T> listener)
|
void |
ReasonFlag.addListener(FlagListener<TYPE> listener)
Use ReasonFlagListener to get reasons or simple FlagListener to only receives
new values. |
void |
Flag.addStrongListener(FlagListener<T> listener)
Adds new listener to the flag (strong reference). |
void |
ImmutableFlag.addStrongListener(FlagListener<T> listener)
|
void |
IFlag.addStrongListener(FlagListener<T> listener)
|
void |
ReasonFlag.addStrongListener(FlagListener<TYPE> listener)
Use ReasonFlagListener to get reasons or simple FlagListener to only receives
new values. |
boolean |
Flag.isListenning(FlagListener<T> listener)
Checks whether listener is already registered (using equals()). |
boolean |
ImmutableFlag.isListenning(FlagListener<T> listener)
|
boolean |
IFlag.isListenning(FlagListener<T> listener)
|
void |
FlagListener.FlagListenerNotifier.notify(FlagListener<T> listener)
|
void |
ReasonFlagListener.ReasonFlagListenerNotifier.notify(FlagListener<T> listener)
If ReasonFlagListener is passed into the method, it is redirected into appropriate method. |
void |
Flag.removeListener(FlagListener<T> listener)
Removes all registered 'listener' from the flag. |
void |
ImmutableFlag.removeListener(FlagListener<T> listener)
|
void |
IFlag.removeListener(FlagListener<T> listener)
|
Constructors in cz.cuni.amis.utils.flag with parameters of type FlagListener | |
---|---|
ReasonFlagListener.FlagListenerAdapter(FlagListener<T> listener)
|
Uses of FlagListener in cz.cuni.amis.utils.flag.connective |
---|
Classes in cz.cuni.amis.utils.flag.connective that implement FlagListener | |
---|---|
class |
ConnectiveListener
|
Uses of FlagListener in cz.cuni.amis.utils.future |
---|
Classes in cz.cuni.amis.utils.future that implement FlagListener | |
---|---|
class |
FlagFuture<Result,FlagType>
Future implementation that is listening on a flag and when it's terminal state is set on the flag the future completes itself with result specified in the map (under the key of the flag value). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |