Package org.apache.jena.atlas.lib.tuple
Tuples.
A Tuple is a fixed length sequence of the objects of the same type. They are
immutable and provide value-based hashCode and .equals().
There are space-saving implementations for tuples of length 0 to small N and a general purpose implementation.
Tuple-- the interfaceTupleFactory-- createsTuplesTupleMap-- provides transformations of order of elements
-
Interface Summary Interface Description TConsumer3<X> A three-argument consumer in which all arguments are of the same type.TConsumer4<X> A four-argument consumer in which all arguments are of the same type.TFunction3<X,Z> A three-argument function in which all arguments are of the same type.TFunction4<X,Z> A four-argument function in which all arguments are of the same type.Tuple<X> A Tuple is a sequence of items of the same class of item. -
Class Summary Class Description Tuple0<X> A tuple of 0 items.Tuple1<X> A tuple of 1 item.Tuple2<X> A tuple of 2 items.Tuple3<X> A tuple of 3 items.Tuple4<X> A tuple of 4 items.Tuple5<X> A tuple of 5 items.Tuple6<X> A tuple of 6 items.Tuple7<X> A tuple of 7 items.Tuple8<X> A tuple of 8 items.TupleFactory Tuple creationTupleMap General descriptor of a reordering (mapping) of slots in tuplesTupleN<X> A Tuple of N items