|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openjena.atlas.lib.Tuple<T>
public final class Tuple<T>
Tuple class - tuples are immutable and must be created initialized
Method Summary | ||
---|---|---|
List<T> |
asList()
|
|
int |
countNotNull()
|
|
static
|
create(X... elements)
|
|
boolean |
equals(Object other)
Equality of tuples is based on equality of the elements in the tuple |
|
T |
get(int idx)
|
|
int |
hashCode()
|
|
Iterator<T> |
iterator()
|
|
Tuple<T> |
map(ColumnMap colMap)
Return a tuple with the column mapping applied |
|
static
|
prefix(int prefixLength,
Iterator<Tuple<T>> iter)
|
|
static
|
project(int slot,
Iterator<Tuple<T>> iter)
|
|
int |
size()
|
|
String |
toString()
|
|
T[] |
tuple()
|
|
T[] |
tupleCopy()
|
|
Tuple<T> |
unmap(ColumnMap colMap)
Return a tuple with the column mapping reversed |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static <X> Tuple<X> create(X... elements)
public static <T> Iterator<T> project(int slot, Iterator<Tuple<T>> iter)
public static <T> Iterator<Tuple<T>> prefix(int prefixLength, Iterator<Tuple<T>> iter)
public T get(int idx)
public int countNotNull()
public List<T> asList()
public T[] tuple()
public T[] tupleCopy()
public Iterator<T> iterator()
iterator
in interface Iterable<T>
public Tuple<T> map(ColumnMap colMap)
public Tuple<T> unmap(ColumnMap colMap)
public int size()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |