Package cz.cuni.amis.utils.flag

Package class diagram package cz.cuni.amis.utils.flag
Interface Summary
FlagListener<T>  
IFlag<T> Interface for flags.
IReasonFlag<TYPE,REASON> Allows you to pass reasons of flag change along with new value of the flag.
ReasonFlagListener<TYPE,REASON> Listener for ReasonFlag.
WaitForFlagChange.IAccept<TYPE>  
 

Class Summary
Flag<T> This class may be used to create an observable value (you may attach change-listeners to it).
Flag.DoInSync<T> Usage of this abstract class is as simple as it could be ... all you have to do is to instantiate it (using anonymous objects).
FlagInteger This class is cruicial in order to have synchronized increments on the integer flag.
FlagInteger.DoInSyncWithReason<T,R> This class extends the DoInSync of the reason that was passed along.
FlagListener.FlagListenerNotifier<T>  
ImmutableFlag<T> Flag whhich value cannot be set.
ImmutableReasonFlag<T,R> Reason flag whose value cannot be set.
ReasonFlag<TYPE,REASON> Allows you to pass reasons of flag change along with new value of the flag.
ReasonFlagListener.FlagListenerAdapter<T,R> Adapter for the simple FlagListener that does not care about reasons (the reason is masked during the call...)
ReasonFlagListener.ReasonFlagListenerNotifier<T,R> Notifier for the ReasonFlagListener.
WaitForFlagChange<TYPE> This class is implementing the waiting on some flag value.
 



Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.