public class AtomicData<T> extends Data
Constructor and Description |
---|
AtomicData(T value) |
Modifier and Type | Method and Description |
---|---|
<U> AtomicData<U> |
cast(Class<U> type) |
T |
getValue() |
<U> U |
getValueAs(Class<U> type) |
<U> U |
getValueUnchecked() |
String |
toString() |
static <A> Data.View<A> |
viewAs(Class<A> cls) |
static <A> Data.View<A> |
viewUnchecked() |
public AtomicData(T value)
public T getValue()
public <U> U getValueAs(Class<U> type)
public <U> AtomicData<U> cast(Class<U> type)
public <U> U getValueUnchecked()
public static <A> Data.View<A> viewUnchecked()
see also the complete user documentation .