| 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.UnmodifiableSortedSet<T>
Wraps a sorted set.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> UnmodSortedSet<T> |
FunctionUtils.emptyUnmodSortedSet()
Returns an empty unmodifiable sorted set.
|
UnmodSortedSet<T> |
FunctionUtils.UnmodifiableSortedSet.headSet(T toElement) |
UnmodSortedSet<T> |
FunctionUtils.UnmodifiableSortedSet.subSet(T fromElement,
T toElement) |
UnmodSortedSet<T> |
FunctionUtils.UnmodifiableSortedSet.tailSet(T fromElement) |
static <T> UnmodSortedSet<T> |
FunctionUtils.unmodSortedSet(SortedSet<T> set)
Returns an unmodifiable version of the given set.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImSortedSet<E>
An immutable sorted set interface
|
| Modifier and Type | Class and Description |
|---|---|
class |
PersistentTreeSet<E>
A wrapper that turns a PersistentTreeMap into a set.
|
| Modifier and Type | Method and Description |
|---|---|
default UnmodSortedSet<Map.Entry<K,V>> |
UnmodSortedMap.entrySet()
Returns a view of the mappings contained in this map.
|
default UnmodSortedSet<E> |
UnmodSortedSet.headSet(E toElement) |
default UnmodSortedSet<K> |
UnmodSortedMap.keySet()
Returns a view of the keys contained in this map.
|
UnmodSortedSet<E> |
UnmodSortedSet.subSet(E fromElement,
E toElement) |
UnmodSortedSet<E> |
UnmodSortedSet.tailSet(E fromElement) |
Copyright © 2017. All rights reserved.