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

## Interface ITableWriterUnary<Value>

- All Known Subinterfaces:
    ITableWriterUnary.Table<Value>
  All Known Implementing Classes:
    ITableWriterUnary.Nop, SimpleUnaryTable

      public interface ITableWriterUnary<Value>

  Modifies the contents of a unary `IIndexTable`.

  EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same.

  Since:
    2.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `ITableWriterUnary.Nop<Value>` /dev/null implementation
    `static interface` | `ITableWriterUnary.Table<Value>` Intersection type for writers that are also tables

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(Direction direction, Value value)` Adds/removes a row to/from the table.

- - ### Method Detail

    - #### write

          void write(Direction direction,
                     Value value)

      Adds/removes a row to/from the table.
      Parameters:
        `direction` - tells whether putting a row into the table or deleting TODO: store as multiset, return bool?