java.lang.Object
org.pcollections.HashTreePMap
A static convenience class for creating efficient persistent maps.
This class simply creates HashPMaps backed by IntTreePMaps.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY
-
-
Constructor Details
-
HashTreePMap
private HashTreePMap()
-
-
Method Details
-
empty
- Type Parameters:
K
-V
-- Returns:
- an empty map
-
singleton
- Type Parameters:
K
-V
-- Parameters:
key
-value
-- Returns:
- empty().plus(key, value)
-
from
- Type Parameters:
K
-V
-- Parameters:
map
-- Returns:
- empty().plusAll(map)
-