public class IndexTuple extends Tuple implements java.lang.Comparable<java.lang.Object>
elements, isUnmodifiable, NULL
Constructor and Description |
---|
IndexTuple()
Constructor IndexTuple creates a new IndexTuple instance.
|
IndexTuple(int index,
Tuple tuple)
Constructor IndexTuple creates a new IndexTuple instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IndexTuple indexTuple) |
int |
compareTo(java.lang.Object object)
Method compareTo implements the
Comparable.compareTo(Object) method. |
boolean |
equals(java.lang.Object object) |
int |
getIndex() |
Tuple |
getTuple() |
int |
hashCode() |
java.lang.String |
print()
Method print returns a parsable String representation of this Tuple instance.
|
java.lang.StringBuffer |
printTo(java.lang.StringBuffer buffer) |
void |
setIndex(int index) |
void |
setTuple(Tuple tuple) |
java.lang.String |
toString() |
add, add, addAll, addAll, addBoolean, addDouble, addFloat, addInteger, addLong, addShort, addString, append, clear, compareTo, compareTo, elements, format, get, get, getBoolean, getChar, getDouble, getFloat, getInteger, getLong, getObject, getPos, getShort, getString, getTypes, internalSet, isEmpty, isUnmodifiable, iterator, leave, put, remove, remove, set, set, set, setAll, setAll, setBoolean, setDouble, setFloat, setInteger, setLong, setShort, setString, size, size, size, toString, toString
public IndexTuple()
public IndexTuple(int index, Tuple tuple)
index
- of type inttuple
- of type Tuplepublic void setIndex(int index)
public int getIndex()
public java.lang.String print()
Tuple
public java.lang.StringBuffer printTo(java.lang.StringBuffer buffer)
public int compareTo(java.lang.Object object)
Tuple
Comparable.compareTo(Object)
method.public int compareTo(IndexTuple indexTuple)
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.