public class FlatTuple extends Tuple
cachedHash| Constructor and Description |
|---|
FlatTuple(java.lang.Object... elements)
Creates a Tuple instance, fills it with the given array.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int index) |
java.lang.Object[] |
getElements()
As the tuple is supposed to be immutable, do not modify the returned array.
|
int |
getSize() |
protected boolean |
internalEquals(Tuple other) |
equals, getDistinctElements, hashCode, invertIndex, invertIndexWithMupliplicity, replaceAll, toStringpublic FlatTuple(java.lang.Object... elements)
elements - array of substitution valuespublic java.lang.Object get(int index)
public java.lang.Object[] getElements()
TuplegetElements in class Tupleprotected boolean internalEquals(Tuple other)
internalEquals in class Tuple