@GwtCompatible public interface ParameterMap extends Serializable
Parameter
to values.
Each parameter must have an unique identifier represented by Parameter.getName()
.Modifier and Type | Method and Description |
---|---|
<T> T |
get(Parameter<T> parameter)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
<T> void |
put(Parameter<T> parameter,
T value)
Associates the specified value with the specified
Parameter in this map. |
<T> void put(Parameter<T> parameter, @Nullable T value)
Parameter
in this map.T
- Value type.parameter
- Parameter with which the specified value is to be associatedvalue
- Value to be associated with the specified key@Nullable <T> T get(Parameter<T> parameter)
null
if this map contains no mapping for the key.T
- Value type.parameter
- The parameter whose associated value is to be returnednull
if this map contains no mapping for the key.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500