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 C
getColumnKey()
Returns the column key of this cell.R
getRowKey()
Returns the row key of this cell.V
getValue()
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.Cell
Returns the row key of this cell.- Specified by:
getRowKey
in interfaceTable.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 interfaceTable.Cell<R,C,V>
-
getValue
public V getValue()
Description copied from interface:Table.Cell
Returns the value of this cell.- Specified by:
getValue
in interfaceTable.Cell<R,C,V>
-
-