@Authors(value="Nikolche Mihajlovski") @Since(value="5.1.0") public abstract class AbstractValue<T> extends org.rapidoid.RapidoidThing implements Value<T>
| Constructor and Description |
|---|
AbstractValue() |
| Modifier and Type | Method and Description |
|---|---|
Value<Boolean> |
bool() |
String |
desc() |
boolean |
exists() |
T |
get() |
T |
getOrNull() |
Value<Long> |
num() |
<K> K |
or(K alternative) |
Value<T> |
orElse(Value<T> alternative) |
protected abstract T |
retrieve() |
void |
set(T value) |
protected void |
store(T value) |
Value<String> |
str() |
<K> Value<K> |
to(Class<K> type) |
String |
toString() |
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.