Package com.google.common.collect
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>,java.io.Serializable
- Enclosing class:
- Tables
static final class Tables.ImmutableCell<R,C,V> extends Tables.AbstractCell<R,C,V> implements java.io.Serializable
-
-
Constructor Summary
Constructors Constructor Description ImmutableCell(R rowKey, C columnKey, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CgetColumnKey()Returns the column key of this cell.RgetRowKey()Returns the row key of this cell.VgetValue()Returns the value of this cell.-
Methods inherited from class com.google.common.collect.Tables.AbstractCell
equals, hashCode, toString
-
-
-
-
Field Detail
-
rowKey
private final R rowKey
-
columnKey
private final C columnKey
-
value
private final V value
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRowKey
public R getRowKey()
Description copied from interface:Table.CellReturns the row key of this cell.- Specified by:
getRowKeyin interfaceTable.Cell<R,C,V>
-
getColumnKey
public C getColumnKey()
Description copied from interface:Table.CellReturns the column key of this cell.- Specified by:
getColumnKeyin interfaceTable.Cell<R,C,V>
-
getValue
public V getValue()
Description copied from interface:Table.CellReturns the value of this cell.- Specified by:
getValuein interfaceTable.Cell<R,C,V>
-
-