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> ImSet<T>StaticImports. set(T... 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 ImSet<java.util.Map.Entry<K,V>>ImMap. entrySet()Returns a view of the mappings contained in this map.ImSet<E>MutableSet. immutable()Returns an immutable version of this immutable set.default ImSet<K>ImMap. keySet()Returns an immutable view of the keys contained in this map.ImSet<E>ImSet. put(E e)Adds an element, returning a modified version of the set (leaving the original set unchanged).default ImSet<E>ImSet. union(java.lang.Iterable<? extends E> iter)Returns a new set containing all the items.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 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.
-