- java.lang.Object
-
- org.praxislive.core.types.PMap.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PMap
build()
Build the PMap.PMap.Builder
put(String key, boolean value)
Add a mapping for the given key and value.PMap.Builder
put(String key, double value)
Add a mapping for the given key and value.PMap.Builder
put(String key, int value)
Add a mapping for the given key and value.PMap.Builder
put(String key, Object value)
Add a mapping for the given key and value.PMap.Builder
put(String key, String value)
Add a mapping for the given key and value.PMap.Builder
put(String key, Value value)
Add a mapping for the given key and value.
-
-
-
Method Detail
-
put
public PMap.Builder put(String key, Value value)
Add a mapping for the given key and value.- Parameters:
key
- map keyvalue
- mapped value- Returns:
- this
-
put
public PMap.Builder put(String key, boolean value)
Add a mapping for the given key and value.- Parameters:
key
- map keyvalue
- mapped value- Returns:
- this
-
put
public PMap.Builder put(String key, int value)
Add a mapping for the given key and value.- Parameters:
key
- map keyvalue
- mapped value- Returns:
- this
-
put
public PMap.Builder put(String key, double value)
Add a mapping for the given key and value.- Parameters:
key
- map keyvalue
- mapped value- Returns:
- this
-
put
public PMap.Builder put(String key, String value)
Add a mapping for the given key and value.- Parameters:
key
- map keyvalue
- mapped value- Returns:
- this
-
put
public PMap.Builder put(String key, Object value)
Add a mapping for the given key and value.- Parameters:
key
- map keyvalue
- mapped value- Returns:
- this
-
build
public PMap build()
Build the PMap.- Returns:
- new PMap
-
-