public class MapBuilder<K,V> extends Object
The method follows the fluent API pattern.
Constructor and Description |
---|
MapBuilder() |
MapBuilder(Map<K,V> map) |
Modifier and Type | Method and Description |
---|---|
Map<K,V> |
build()
Returns the fully constructed map.
|
MapBuilder<K,V> |
put(K k,
V v) |
Copyright © 2021. All rights reserved.