public interface AtomicBooleanState
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareAndSet(boolean expect,
boolean update) |
boolean |
get() |
boolean |
getAndSet(boolean value) |
void |
init(StateContext<AtomicBooleanState> context)
Initializes the state.
|
void |
set(boolean value) |
void init(StateContext<AtomicBooleanState> context)
context - The state context.boolean get()
void set(boolean value)
boolean getAndSet(boolean value)
boolean compareAndSet(boolean expect,
boolean update)
Copyright © 2013-2015. All Rights Reserved.