@ParametersAreNonnullByDefault public final class ProxyValue<V> extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <V> ProxyValue<V> | empty()Returns an empty  ProxyValue. | 
| boolean | equals(Object o) | 
| <U> U | getRaw()Returns the raw value. | 
| V | getResolved()Returns the resolved value. | 
| int | hashCode() | 
| boolean | isPresent()Returns  trueif a value has been defined, resolved or not. | 
| boolean | isResolved()Returns  trueif the value is resolved. | 
| static <V> ProxyValue<V> | raw(Object value)Returns a raw  ProxyValuewith itsvalue. | 
| static <V> ProxyValue<V> | resolved(V value)Returns a resolved  ProxyValuewith itsvalue. | 
@Nonnull public static <V> ProxyValue<V> empty()
ProxyValue.V - the type of data@Nonnull public static <V> ProxyValue<V> resolved(V value)
ProxyValue with its value. A resolved value corresponds to a value in its
 final state.V - the type of the valuevalue - the resolved value@Nonnull public static <V> ProxyValue<V> raw(Object value)
ProxyValue with its value.V - the type of the valuevalue - the raw valuepublic V getResolved()
public <U> U getRaw()
U - the type of the raw valuepublic boolean isResolved()
true if the value is resolved.true if the value is resolvedpublic boolean isPresent()
true if a value has been defined, resolved or not.true if a value has been definedCopyright © 2013–2019 Atlanmod. All rights reserved.