Class Tables.ImmutableCell<R,​C,​V>

  • All Implemented Interfaces:
    Table.Cell<R,​C,​V>, java.io.Serializable
    Enclosing class:
    Tables

    static final class Tables.ImmutableCell<R,​C,​V>
    extends Tables.AbstractCell<R,​C,​V>
    implements java.io.Serializable
    • Field Detail

      • rowKey

        private final R rowKey
      • columnKey

        private final C columnKey
      • value

        private final V value
    • Constructor Detail

      • ImmutableCell

        ImmutableCell​(@Nullable
                      R rowKey,
                      @Nullable
                      C columnKey,
                      @Nullable
                      V value)
    • Method Detail

      • getRowKey

        public R getRowKey()
        Description copied from interface: Table.Cell
        Returns the row key of this cell.
        Specified by:
        getRowKey in interface Table.Cell<R,​C,​V>
      • getColumnKey

        public C getColumnKey()
        Description copied from interface: Table.Cell
        Returns the column key of this cell.
        Specified by:
        getColumnKey in interface Table.Cell<R,​C,​V>
      • getValue

        public V getValue()
        Description copied from interface: Table.Cell
        Returns the value of this cell.
        Specified by:
        getValue in interface Table.Cell<R,​C,​V>