T
- the cell value typepublic interface Cell<T>
CellDefinition
with a non-null value
corresponding to the definitions type.Modifier and Type | Method and Description |
---|---|
static <T> Cell<T> |
cell(java.lang.String name,
T value)
Creates a new cell.
|
CellDefinition<T> |
definition()
Returns the definition for this cell.
|
boolean |
equals(java.lang.Object o)
Compares the supplied object with this cell for equality.
|
T |
value()
Returns the value held within this cell.
|
CellDefinition<T> definition()
T value()
boolean equals(java.lang.Object o)
true
if the supplied object is a cell with same definition and value.equals
in class java.lang.Object
o
- object to be compared for equality with this celltrue
if the given object is equal to this cellstatic <T> Cell<T> cell(java.lang.String name, T value)
The returned cell has definition with the supplied name, and a type derived from the type of the supplied value.
T
- JDK type of the returned cellname
- cell definition namevalue
- cell value