Package net.paulem.arcana.utils
Class MapUtils
java.lang.Object
net.paulem.arcana.utils.MapUtils
Utility methods for working with maps.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapUtils
public MapUtils()
-
-
Method Details
-
copyOf
Creates an unmodifiable shallow copy of the given map.- Type Parameters:
K- the type of the keysV- the type of the values- Parameters:
map- the map to copy- Returns:
- an unmodifiable copy of
map
-