|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.fge.uritemplate.vars.values.MapValue.Builder
@NotThreadSafe public static final class MapValue.Builder
Builder class for a MapValue
| Method Summary | ||
|---|---|---|
VariableValue |
build()
Build the value |
|
|
put(String key,
T value)
Add one key/value pair to the map |
|
|
putAll(Map<String,T> map)
Inject a map of key/value pairs |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public <T> MapValue.Builder put(String key,
T value)
T - the type of the valuekey - the keyvalue - the value
NullPointerException - the key or value is nullpublic <T> MapValue.Builder putAll(Map<String,T> map)
T - the type of this map's valuesmap - the map
NullPointerException - map is null, or one of its keys or
values is nullpublic VariableValue build()
VariableValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||