public static final class PropertyMap.Builder extends Object
Builder for a PropertyMap instance.
Modifier and Type | Method and Description |
---|---|
PropertyMap |
build()
Builds a new PropertyMap.
|
<V> PropertyMap.Builder |
put(PropertyName<V> propertyName,
V value)
Adds the given entry to the map to be built.
|
public <V> PropertyMap.Builder put(PropertyName<V> propertyName, V value)
Adds the given entry to the map to be built. As part of adding the entry, the value is serialized via propertyName.
V
- the expected transient type of the propertypropertyName
- the name of the propertyvalue
- the value of the propertypublic PropertyMap build()
Builds a new PropertyMap.
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.