Package com.google.gerrit.server
Class PropertyMap.Builder
- java.lang.Object
-
- com.google.gerrit.server.PropertyMap.Builder
-
- Enclosing class:
- PropertyMap
public static class PropertyMap.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyMap
build()
Builds and returns an immutablePropertyMap
.<T> PropertyMap.Builder
put(PropertyMap.Key<T> key, T value)
Adds the providedvalue
to thePropertyMap
that is being built.
-
-
-
Method Detail
-
put
public <T> PropertyMap.Builder put(PropertyMap.Key<T> key, T value)
Adds the providedvalue
to thePropertyMap
that is being built.
-
build
public PropertyMap build()
Builds and returns an immutablePropertyMap
.
-
-