org.eclipse.viatra.query.runtime.rete.tuple

## Class MaskedTuple

- java.lang.Object
- - org.eclipse.viatra.query.runtime.matchers.tuple.Tuple
  - - org.eclipse.viatra.query.runtime.rete.tuple.MaskedTuple

-     public class MaskedTuple
      extends Tuple

  A tuple that transparently provides a masked (transformed) view of another tuple.

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.viatra.query.runtime.matchers.tuple.Tuple

      `cachedHash`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MaskedTuple(Tuple wrapped, TupleMask mask)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `get(int index)`
    `int` | `getSize()`

    - ### Methods inherited from class org.eclipse.viatra.query.runtime.matchers.tuple.Tuple

      `equals, getDistinctElements, getElements, hashCode, internalEquals, invertIndex, invertIndexWithMupliplicity, replaceAll, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MaskedTuple

          public MaskedTuple(Tuple wrapped,
                             TupleMask mask)

  - ### Method Detail

    - #### get

          public java.lang.Object get(int index)

      Specified by:
        `get` in class `Tuple`
      Returns:
        the element at the specified index

    - #### getSize

          public int getSize()

      Specified by:
        `getSize` in class `Tuple`
      Returns:
        number of elements