Class VolatileTuple
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.matchers.tuple.AbstractTuple
-
- org.eclipse.viatra.query.runtime.matchers.tuple.VolatileTuple
-
- All Implemented Interfaces:
ITuple
- Direct Known Subclasses:
MatchingFrame,VolatileMaskedTuple
public abstract class VolatileTuple extends AbstractTuple
Mutable tuple without explicit modification commands. In practical terms, the values stored in a volatile tuple can be changed without any notification.- Since:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description VolatileTuple()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()TupletoImmutable()Creates an immutable tuple from the values stored in the tuple.-
Methods inherited from class org.eclipse.viatra.query.runtime.matchers.tuple.AbstractTuple
doCalcHash, getDistinctElements, getElements, internalEquals, invertIndex, invertIndexWithMupliplicity, raiseIndexingError, toString
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toImmutable
public Tuple toImmutable()
Creates an immutable tuple from the values stored in the tuple. The created tuple will not be updated when the current tuple changes.
-
-