| 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 |
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.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
|---|---|
BaseSet<Map.Entry<K,V>> |
BaseMap.entrySet()
Returns a view of the mappings contained in this map.
|
BaseSet<K> |
BaseMap.keySet()
Returns a view of the keys contained in this map.
|
BaseSet<E> |
BaseSet.put(E e)
Adds an element.
|
BaseSet<E> |
BaseSet.union(Iterable<? extends E> iter)
Returns a new set containing all the items.
|
BaseSet<E> |
BaseSet.without(E key)
Removes this key from the set
|
Copyright © 2019. All rights reserved.