| Package | Description |
|---|---|
| org.organicdesign.fp |
A data definition language, and other tools for writing functional Java.
|
| 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 | Class and Description |
|---|---|
static class |
FunctionUtils.UnmodifiableMap<K,V>
Wraps a map.
|
static class |
FunctionUtils.UnmodifiableSortedMap<K,V>
Wraps a sorted map.
|
| Modifier and Type | Field and Description |
|---|---|
static UnmodMap<Object,Object> |
FunctionUtils.EMPTY_UNMOD_MAP
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,U> UnmodMap<T,U> |
FunctionUtils.emptyUnmodMap()
Returns an empty unmodifiable map.
|
static <K,V> UnmodMap<K,V> |
FunctionUtils.unmodMap(Map<K,V> map)
Returns an unmodifiable version of the given map.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImMap<K,V>
An immutable map with no guarantees about its ordering.
|
interface |
ImMapTrans<K,V>
Deprecated.
|
interface |
ImSortedMap<K,V>
An immutable sorted map.
|
interface |
ImUnsortedMap<K,V>
Interface for unsorted (today that probably means "hash") maps.
|
interface |
MutableUnsortedMap<K,V>
Interface for mutable (hash) map builder.
|
interface |
UnmodSortedMap<K,V>
An unmodifiable SortedMap.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PersistentHashMap<K,V>
Rich Hickey's immutable rendition of Phil Bagwell's Hash Array Mapped Trie.
|
static class |
PersistentHashMap.MutableHashMap<K,V> |
class |
PersistentTreeMap<K,V>
Persistent Red Black Tree.
|
static class |
UnmodMap.AbstractUnmodMap<K,V>
Implements equals and hashCode() methods compatible with java.util.Map (which ignores order)
to make defining unmod Maps easier.
|
Copyright © 2017. All rights reserved.