| Package | Description |
|---|---|
| org.organicdesign.fp.collections |
Type-safe versions of the immutable Clojure collections, plus unmodifiable and immutable
collection interfaces that extend the java.util collections, deprecating the mutate-in-place
methods (Unmod____) and adding methods that return a new, immutable, modified version of the
collection (Im____).
|
| Modifier and Type | Field and Description |
|---|---|
static PersistentHashMap<Object,Object> |
PersistentHashMap.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
PersistentHashMap<K,V> |
PersistentHashMap.assoc(K key,
V val) |
static <K,V> PersistentHashMap<K,V> |
PersistentHashMap.empty() |
static <K,V> PersistentHashMap<K,V> |
PersistentHashMap.empty(Equator<K> e) |
PersistentHashMap<K,V> |
PersistentHashMap.immutable() |
PersistentHashMap<K,V> |
PersistentHashMap.MutableHashMap.immutable() |
static <K,V> PersistentHashMap<K,V> |
PersistentHashMap.of(Iterable<Map.Entry<K,V>> kvPairs)
Returns a new PersistentHashMap of the given keys and their paired values.
|
static <K,V> PersistentHashMap<K,V> |
PersistentHashMap.ofEq(Equator<K> eq,
Iterable<Map.Entry<K,V>> es)
Returns a new PersistentHashMap of the given keys and their paired values, skipping any null
Entries.
|
PersistentHashMap<K,V> |
PersistentHashMap.without(K key) |
Copyright © 2017. All rights reserved.