public class FlatTuple extends Tuple
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() |
equals, getDistinctElements, hashCode, invertIndex, invertIndexWithMupliplicity, replaceAll, toString
public FlatTuple(java.lang.Object... elements)
elements
- array of substitution valuespublic java.lang.Object get(int index)
public java.lang.Object[] getElements()
Tuple
getElements
in class Tuple