org.eclipse.viatra.query.runtime.matchers.scopes.tables

## Interface AbstractIndexTable.IListenersWithSameMask

- All Known Implementing Classes:
    AbstractIndexTable.ColumnBoundListeners, AbstractIndexTable.GenericBoundListeners, AbstractIndexTable.UniversalListeners
  Enclosing class:
    AbstractIndexTable

      protected static interface AbstractIndexTable.IListenersWithSameMask

  Represents all listeners subscribed to seeds with the given seed mask.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addUpdateListener(Tuple originalSeed, IQueryRuntimeContextListener listener)`
    `void` | `deliver(Tuple updateTuple, boolean isInsertion)`
    `TupleMask` | `getSeedMask()`
    `boolean` | `removeUpdateListener(Tuple originalSeed, IQueryRuntimeContextListener listener)`

- - ### Method Detail

    - #### getSeedMask

          TupleMask getSeedMask()

    - #### deliver

          void deliver(Tuple updateTuple,
                       boolean isInsertion)

    - #### addUpdateListener

          void addUpdateListener(Tuple originalSeed,
                                 IQueryRuntimeContextListener listener)

    - #### removeUpdateListener

          boolean removeUpdateListener(Tuple originalSeed,
                                       IQueryRuntimeContextListener listener)

      Returns:
        true if this was the last listener, and the `AbstractIndexTable.IListenersWithSameMask` can be disposed of.