| Package | Description |
|---|---|
| org.organicdesign.fp.collections |
Type-safe versions of immutable collections (mostly from Clojure), plus unmodifiable and
immutable collection interfaces that fit these collections into the java.util interfaces.
|
| 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.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 © 2019. All rights reserved.