Uses of Interface
org.organicdesign.fp.collections.ImSet
-
Packages that use ImSet Package Description org.organicdesign.fp A tiny data definition language for Java, in Java.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.org.organicdesign.fp.xform Immutable descriptions of data transformations (Transformable), and a highly efficient single-pass, short-circuiting implementation that carries out those transforms in a single pass (Xform). -
-
Uses of ImSet in org.organicdesign.fp
Methods in org.organicdesign.fp that return ImSet Modifier and Type Method Description static <T> @NotNull ImSet<T>StaticImports. set(T @Nullable ... items)Returns a new PersistentHashSet of the values. -
Uses of ImSet in org.organicdesign.fp.collections
Classes in org.organicdesign.fp.collections that implement ImSet Modifier and Type Class Description classPersistentHashSet<E>A wrapper that turns a PersistentTreeMap into a set.Methods in org.organicdesign.fp.collections that return ImSet Modifier and Type Method Description default @NotNull ImSet<Map.Entry<K,V>>ImMap. entrySet()Returns a view of the mappings contained in this map.ImSet<E>MutSet. immutable()Returns an immutable version of this immutable set.default @NotNull ImSet<K>ImMap. keySet()Returns an immutable view of the keys contained in this map.@NotNull ImSet<E>ImSet. put(E e)Adds an element, returning a modified version of the set (leaving the original set unchanged).default @NotNull ImSet<E>ImSet. union(@Nullable Iterable<? extends E> iter)@NotNull ImSet<E>ImSet. without(E key)Removes this key from the set -
Uses of ImSet in org.organicdesign.fp.xform
Methods in org.organicdesign.fp.xform that return ImSet Modifier and Type Method Description default @NotNull ImSet<T>Transformable. toImSet()Realize an unordered immutable hash set to remove duplicates or very quickly O(1) tell whether the set contains various items, but don't care about ordering.
-