public abstract static class FlagInteger.DoInSyncWithReason<T,R> extends Flag.DoInSync<T>
Constructor and Description |
---|
FlagInteger.DoInSyncWithReason() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(T flagValue) |
abstract void |
execute(T flagValue,
R reason) |
protected T |
getFlag() |
protected boolean |
isImmutable()
Tells you whether you operate over immutable flag (can't call setFlag() then) or not.
|
protected void |
setFlag(T value,
R reason)
Set value in sync.
|
setFlag
protected boolean isImmutable()
isImmutable
in class Flag.DoInSync<T>
protected T getFlag()
getFlag
in class Flag.DoInSync<T>
public abstract void execute(T flagValue)
execute
in class Flag.DoInSync<T>
flag
- Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.