Package com.google.common.collect
Class Tables.AbstractCell<R,C,V>
- java.lang.Object
-
- com.google.common.collect.Tables.AbstractCell<R,C,V>
-
- All Implemented Interfaces:
Table.Cell<R,C,V>
- Direct Known Subclasses:
ImmutableTable.MutableCell,Tables.ImmutableCell
- Enclosing class:
- Tables
abstract static class Tables.AbstractCell<R,C,V> extends java.lang.Object implements Table.Cell<R,C,V>
-
-
Constructor Summary
Constructors Constructor Description AbstractCell()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares the specified object with this cell for equality.inthashCode()Returns the hash code of this cell.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.common.collect.Table.Cell
getColumnKey, getRowKey, getValue
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Description copied from interface:Table.CellCompares the specified object with this cell for equality. Two cells are equal when they have equal row keys, column keys, and values.- Specified by:
equalsin interfaceTable.Cell<R,C,V>- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Description copied from interface:Table.CellReturns 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()).- Specified by:
hashCodein interfaceTable.Cell<R,C,V>- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-