Package com.google.common.collect
Interface Table.Cell<R extends @Nullable Object,C extends @Nullable Object,V extends @Nullable Object>
- Enclosing interface:
Table<R extends @Nullable Object,
C extends @Nullable Object, V extends @Nullable Object>
public static interface Table.Cell<R extends @Nullable Object,C extends @Nullable Object,V extends @Nullable Object>
Row key / column key / value triplet corresponding to a mapping in a table.
- Since:
- 7.0
-
Method Details
-
getRowKey
Returns the row key of this cell. -
getColumnKey
Returns the column key of this cell. -
getValue
Returns the value of this cell. -
equals
Compares the specified object with this cell for equality. Two cells are equal when they have equal row keys, column keys, and values. -
hashCode
int hashCode()Returns the hash code of this cell.The hash code of a table cell is equal to
Objects.hashCode(java.lang.Object...)
(e.getRowKey(), e.getColumnKey(), e.getValue())
.
-