Class TableKeyStateRegistry<VALUE_TYPE>

java.lang.Object
io.deephaven.engine.table.impl.TableKeyStateRegistry<VALUE_TYPE>

public class TableKeyStateRegistry<VALUE_TYPE> extends Object
A registry for states keyed by TableKey.
  • Constructor Details

    • TableKeyStateRegistry

      public TableKeyStateRegistry()
  • Method Details

    • computeIfAbsent

      public VALUE_TYPE computeIfAbsent(@NotNull @NotNull TableKey tableKey, @NotNull @NotNull Function<TableKey,VALUE_TYPE> valueFactory)
      Get (or create if none exists) a value for the supplied TableKey.
      Parameters:
      tableKey - The table key
      Returns:
      The associated value
    • forEach

      public void forEach(@NotNull @NotNull Consumer<VALUE_TYPE> consumer)
    • clear

      public void clear()