| 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 | Method and Description |
|---|---|
static <T> MutableUnsortedSet<T> |
StaticImports.mutableSet(T... items)
Returns a new MutableUnsortedSet of the values.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentHashSet.MutableHashSet<E> |
| Modifier and Type | Method and Description |
|---|---|
MutableUnsortedSet<E> |
ImUnsortedSet.mutable()
Returns a mutable (builder) version of this set that is not thread safe.
|
default MutableUnsortedSet<E> |
MutableUnsortedSet.mutable()
Returns a mutable version of this immutable set.
|
MutableUnsortedSet<E> |
MutableUnsortedSet.put(E val)
Adds an element, returning a modified version of the set (leaving the original set unchanged).
|
default MutableUnsortedSet<E> |
MutableUnsortedSet.union(Iterable<? extends E> iter) |
MutableUnsortedSet<E> |
MutableUnsortedSet.without(E key)
Removes the given item, returning a modified version of the set (leaving the original set
unchanged).
|
Copyright © 2017. All rights reserved.