public interface NamedValue
Represents a named value.
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name.
|
Object |
getValue()
Returns the value.
|
<T> T |
getValue(Class<T> expectedType)
Returns the value that is expected to be of the given type.
|
<S> S |
getValue(com.google.common.reflect.TypeToken<S> expectedType)
Returns the value that is expected to be of the given type.
|
String getName()
Returns the name.
Object getValue()
Returns the value.
<T> T getValue(Class<T> expectedType)
Returns the value that is expected to be of the given type.
T
- the type of the valueexpectedType
- the expected type of the value<S> S getValue(com.google.common.reflect.TypeToken<S> expectedType)
Returns the value that is expected to be of the given type.
S
- the type of the valueexpectedType
- the expected type of the valueCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.