V
- The type of object in this map.public static class ReflectionMap.Builder<V> extends Object
ReflectionMap
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReflectionMap.Builder<V> |
append(String key,
V value)
Adds a mapping to this builder.
|
ReflectionMap<V> |
build()
Create new instance of
ReflectionMap based on the contents of this builder. |
public Builder()
public ReflectionMap.Builder<V> append(String key, V value)
key
- The mapping key.
value
- The value for this mapping.public ReflectionMap<V> build()
ReflectionMap
based on the contents of this builder.ReflectionMap
object.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.