java.lang.Object
me.sbasalaev.collection.Map.Builder<K,V>
Builder of immutable maps.
-
Method Summary
-
Method Details
-
add
Adds entry to the map being built.- Returns:
- this builder.
-
add
Adds entry to the map being built.- Returns:
- this builder.
-
toMap
Creates new immutable map with entries added to this builder. Can be used multiple times.
-