Package com.google.common.collect
Interface Table.Cell<R,C,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(@Nullable java.lang.Object obj)
Compares the specified object with this cell for equality.@Nullable C
getColumnKey()
Returns the column key of this cell.@Nullable R
getRowKey()
Returns the row key of this cell.@Nullable V
getValue()
Returns the value of this cell.int
hashCode()
Returns the hash code of this cell.
-
-
-
Method Detail
-
equals
boolean equals(@Nullable java.lang.Object obj)
Compares the specified object with this cell for equality. Two cells are equal when they have equal row keys, column keys, and values.- Overrides:
equals
in classjava.lang.Object
-
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())
.- Overrides:
hashCode
in classjava.lang.Object
-
-