@Immutable public final class VariableMap extends Object implements Frozen<VariableMapBuilder>
You must use a builder for building an instance of this class, using the
newBuilder() method.
Note that this class uses the freeze/thaw pattern. You can therefore "thaw" an instance of this class in order to obtain a builder again.
| Modifier and Type | Method and Description |
|---|---|
VariableValue |
get(String varname)
Get the value associated with a variable name
|
static VariableMapBuilder |
newBuilder()
Create a new builder for this class
|
VariableMapBuilder |
thaw()
Return a thawed version of this instance
|
public static VariableMapBuilder newBuilder()
VariableMapBuilderpublic VariableValue get(String varname)
varname - the variable namenull if there is no matching valuepublic VariableMapBuilder thaw()
thaw in interface Frozen<VariableMapBuilder>VariableMapBuilder filled with name/value pairs of this
instanceCopyright © 2013. All Rights Reserved.