Uses of Interface
org.organicdesign.fp.collections.ImSortedSet
-
Packages that use ImSortedSet 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 ImSortedSet in org.organicdesign.fp
Methods in org.organicdesign.fp that return ImSortedSet Modifier and Type Method Description static <T extends java.lang.Comparable<T>>
ImSortedSet<T>StaticImports. sortedSet(java.lang.Iterable<T> items)Returns a new PersistentTreeSet of the given comparable items.static <T> ImSortedSet<T>StaticImports. sortedSet(java.util.Comparator<? super T> comp, java.lang.Iterable<T> elements)Returns a new PersistentTreeSet of the given comparator and items. -
Uses of ImSortedSet in org.organicdesign.fp.collections
Classes in org.organicdesign.fp.collections that implement ImSortedSet Modifier and Type Class Description classPersistentTreeSet<E>A wrapper that turns a PersistentTreeMap into a set.Methods in org.organicdesign.fp.collections that return ImSortedSet Modifier and Type Method Description ImSortedSet<java.util.Map.Entry<K,V>>ImSortedMap. entrySet()Returns a view of the mappings contained in this map.ImSortedSet<java.util.Map.Entry<K,V>>PersistentTreeMap. entrySet()Returns a view of the mappings contained in this map.default ImSortedSet<E>ImSortedSet. headSet(E toElement)default ImSortedSet<K>ImSortedMap. keySet()Returns a view of the keys contained in this map.ImSortedSet<E>ImSortedSet. put(E e)Adds an element.ImSortedSet<E>ImSortedSet. subSet(E fromElement, E toElement)Return the elements in this set from the start element (inclusive) to the end element (exclusive)ImSortedSet<E>PersistentTreeSet. subSet(E fromElement, E toElement)Return the elements in this set from the start element (inclusive) to the end element (exclusive)ImSortedSet<E>ImSortedSet. tailSet(E fromElement)ImSortedSet<E>PersistentTreeSet. tailSet(E fromElement)default ImSortedSet<E>ImSortedSet. union(java.lang.Iterable<? extends E> iter)ImSortedSet<E>ImSortedSet. without(E key)Removes this key from the set -
Uses of ImSortedSet in org.organicdesign.fp.xform
Methods in org.organicdesign.fp.xform that return ImSortedSet Modifier and Type Method Description default ImSortedSet<T>Transformable. toImSortedSet(java.util.Comparator<? super T> comparator)Realize an immutable, sorted (tree) set to quickly O(log2 n) test it contains items, but still retrieve entries in order.
-