Class Tables.ImmutableCell<R,C,V>

java.lang.Object
com.google.common.collect.Tables.AbstractCell<R,C,V>
com.google.common.collect.Tables.ImmutableCell<R,C,V>
All Implemented Interfaces:
Table.Cell<R,C,V>, Serializable
Enclosing class:
Tables

static final class Tables.ImmutableCell<R,C,V> extends Tables.AbstractCell<R,C,V> implements Serializable
  • Field Details

    • rowKey

      private final R rowKey
    • columnKey

      private final C columnKey
    • value

      private final V value
    • serialVersionUID

      private static final long serialVersionUID
      See Also:
  • Constructor Details

    • ImmutableCell

      ImmutableCell(R rowKey, C columnKey, V value)
  • Method Details

    • 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>