Package org.sonar.java.collections
Class MapBuilder<K,V>
java.lang.Object
org.sonar.java.collections.MapBuilder<K,V>
This class is used for Java < 9 to simplify the creation of maps.
After moving to Java > 9, should be replaced by Immutable Map Static Factory Methods
- See Also:
- Immutable Map Static Factory Methods
-
Method Summary
-
Method Details
-
newMap
-
put
-
build
-