| 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 | Interface and Description |
|---|---|
interface |
BaseSet<E>
Adds copy-on-write, "fluent interface" methods to
UnmodSet. |
interface |
ImSet<E>
An immutable set with no guarantees about its ordering
|
interface |
ImSortedSet<E>
An immutable sorted set interface
|
interface |
MutableSet<E>
Interface for mutable (hash) set builder.
|
interface |
UnmodSortedSet<E>
An unmodifiable SortedSet.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUnmodSet<T>
Implements equals and hashCode() methods compatible with java.util.Set (which ignores order)
to make defining unmod sets easier, especially for implementing Map.keySet() and such.
|
class |
PersistentHashSet<E>
A wrapper that turns a PersistentTreeMap into a set.
|
static class |
PersistentHashSet.MutableHashSet<E> |
class |
PersistentTreeSet<E>
A wrapper that turns a PersistentTreeMap into a set.
|
| Modifier and Type | Method and Description |
|---|---|
default UnmodSet<Map.Entry<K,V>> |
UnmodMap.entrySet()
Returns a view of the mappings contained in this map.
|
default UnmodSet<K> |
UnmodMap.keySet()
Returns a view of the keys contained in this map.
|
Copyright © 2019. All rights reserved.