java.lang.Object
org.apache.jena.atlas.lib.tuple.TupleN<X>
A Tuple of N items
-
Method Summary
Modifier and TypeMethodDescriptionbooleanforEachstatic <X> TupleN<X>create(X... xs) Create a TupleN - safely copy the inputfinal booleanfinal Xget(int i) Get the i'th element, for i in the range 0 to len()-1final inthashCode()intlen()length : elements are 0 to len()-1<Y> Tuple<Y>Map to a new tuple.final StringtoString()Methods inherited from interface java.lang.Iterable
spliterator
-
Method Details
-
create
Create a TupleN - safely copy the input -
get
Description copied from interface:TupleGet the i'th element, for i in the range 0 to len()-1 -
len
public int len()Description copied from interface:Tuplelength : elements are 0 to len()-1 -
map
Description copied from interface:TupleMap to a new tuple. -
contains
Description copied from interface:TupleforEach -
hashCode
public final int hashCode() -
equals
-
toString
-