public interface ITuple
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int index) |
<T> java.util.Set<T> |
getDistinctElements() |
java.lang.Object[] |
getElements()
As the tuple is supposed to be immutable, do not modify the returned array.
|
int |
getSize() |
java.util.Map<java.lang.Object,java.lang.Integer> |
invertIndex()
Calculates an inverted index of the elements of this pattern.
|
java.util.Map<java.lang.Object,java.util.List<java.lang.Integer>> |
invertIndexWithMupliplicity()
Calculates an inverted index of the elements of this pattern.
|
Tuple |
toImmutable() |
java.lang.Object get(int index)
java.lang.Object[] getElements()
<T> java.util.Set<T> getDistinctElements()
int getSize()
java.util.Map<java.lang.Object,java.lang.Integer> invertIndex()
java.util.Map<java.lang.Object,java.util.List<java.lang.Integer>> invertIndexWithMupliplicity()
Tuple toImmutable()