Uses of Class
de.cuioss.tools.collect.MapBuilder
Packages that use MapBuilder
Package
Description
Provides a number of utilities in the context of
Collections
CollectionBuilder: Unified builder for
building arbitrary Collections.
CollectionLiterals: Provides
literal-forms for creating populated collection instances.-
Uses of MapBuilder in de.cuioss.tools.collect
Methods in de.cuioss.tools.collect that return MapBuilderModifier and TypeMethodDescriptionMapBuilder<K,V> MapBuilder.clear()Clears the contained collectorstatic <K,V> MapBuilder<K, V> copyFrom.static <K,V> MapBuilder<K, V> MapBuilder.from(K k1, V v1) Shorthand for creating aMapBuilderfrom a given key/value pairstatic <K,V> MapBuilder<K, V> MapBuilder.from(K k1, V v1, K k2, V v2) Shorthand for creating aMapBuilderfrom given key/value pairsstatic <K,V> MapBuilder<K, V> MapBuilder.from(K k1, V v1, K k2, V v2, K k3, V v3) Shorthand for creating aMapBuilderfrom given key/value pairsstatic <K,V> MapBuilder<K, V> MapBuilder.from(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) Shorthand for creating aMapBuilderfrom given key/value pairsMapBuilder<K,V> put.MapBuilder<K,V> put.MapBuilder<K,V> putAll.MapBuilder<K,V> MapBuilder.putIfNotNull(K key, V value) Puts the entry into the map, if the value is notnull.MapBuilder<K,V> remove.