Uses of Class
org.organicdesign.fp.collections.RrbTree
-
Packages that use RrbTree Package Description 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. -
-
Uses of RrbTree in org.organicdesign.fp.collections
Subclasses of RrbTree in org.organicdesign.fp.collections Modifier and Type Class Description static classRrbTree.ImRrbt<E>Immutable version of anRrbTree.static classRrbTree.MutableRrbt<E>Mutable version of anRrbTree.Methods in org.organicdesign.fp.collections that return RrbTree Modifier and Type Method Description abstract RrbTree<E>RrbTree. append(E t)Adds one item to the end of the ImList.abstract RrbTree<E>RrbTree. insert(int idx, E element)Inserts an item in the RRB tree pushing the current element at that index and all subsequent elements to the right.RrbTree<E>RrbTree.ImRrbt. join(RrbTree<E> that)Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.abstract RrbTree<E>RrbTree. join(RrbTree<E> that)Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.RrbTree<E>RrbTree.MutableRrbt. join(RrbTree<E> that)Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.abstract RrbTree<E>RrbTree. replace(int index, E item)Replace the item at the given index.RrbTree<E>RrbTree. without(int index)Returns a new RrbTree minus the given item (all items to the right are shifted left one) This is O(log n).Methods in org.organicdesign.fp.collections that return types with arguments of type RrbTree Modifier and Type Method Description abstract Tuple2<? extends RrbTree<E>,? extends RrbTree<E>>RrbTree. split(int splitIndex)Divides this RRB-Tree such that every index less-than the given index ends up in the left-hand tree and the indexed item and all subsequent ones end up in the right-hand tree.abstract Tuple2<? extends RrbTree<E>,? extends RrbTree<E>>RrbTree. split(int splitIndex)Divides this RRB-Tree such that every index less-than the given index ends up in the left-hand tree and the indexed item and all subsequent ones end up in the right-hand tree.Methods in org.organicdesign.fp.collections with parameters of type RrbTree Modifier and Type Method Description RrbTree<E>RrbTree.ImRrbt. join(RrbTree<E> that)Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.abstract RrbTree<E>RrbTree. join(RrbTree<E> that)Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.RrbTree<E>RrbTree.MutableRrbt. join(RrbTree<E> that)Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.
-