Uses of Class
org.organicdesign.fp.tuple.Tuple2
-
Packages that use Tuple2 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.tuple Immutable, type-safe, heterogeneous containers - ML calls these "records." ML, Haskell, and Scala use tuples - why not Java? Actually, tuples are *more* important in Java because Java does not have type aliases. -
-
Uses of Tuple2 in org.organicdesign.fp
Methods in org.organicdesign.fp that return Tuple2 Modifier and Type Method Description static <T,U>
@NotNull Tuple2<T,U>StaticImports. tup(T t, U u)
Returns a new Tuple2 of the given items. -
Uses of Tuple2 in org.organicdesign.fp.collections
Methods in org.organicdesign.fp.collections that return Tuple2 Modifier and Type Method Description Tuple2<RrbTree.ImRrbt<E>,RrbTree.ImRrbt<E>>
RrbTree.ImRrbt. 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.Tuple2<RrbTree.MutRrbt<E>,RrbTree.MutRrbt<E>>
RrbTree.MutRrbt. 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.static <T> Tuple2<T[],T[]>
Cowry. splitArray(T[] orig, int splitIndex)
Only call this if the array actually needs to be split (0 < splitPoint < orig.length). -
Uses of Tuple2 in org.organicdesign.fp.tuple
Methods in org.organicdesign.fp.tuple that return Tuple2 Modifier and Type Method Description static <A,B>
Tuple2<A,B>Tuple2. of(A a, B b)
Public static factory methodstatic <K,V>
Tuple2<K,V>Tuple2. of(Map.Entry<K,V> entry)
Map.Entry factory method
-