public static interface Table.Cell<R,C,V>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares the specified object with this cell for equality.
|
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.
|
int |
hashCode()
Returns the hash code of this cell.
|
@NullableDecl R getRowKey()
@NullableDecl C getColumnKey()
@NullableDecl V getValue()
boolean equals(@NullableDecl Object obj)
equals
in class Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
HashMap
int hashCode()
The hash code of a table cell is equal to Objects.hashCode(java.lang.Object...)
(e.getRowKey(),
e.getColumnKey(), e.getValue())
.
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
Copyright © 2010–2020. All rights reserved.