T
- definition JDK typepublic abstract static class CellDefinition.Impl<T> extends java.lang.Object implements CellDefinition<T>
CellDefinition.CellImpl<T>, CellDefinition.Impl<T>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
name()
Returns the name of this definition.
|
Cell<T> |
newCell(T value)
Creates a new cell binding this definition to the given value.
|
java.lang.String |
toString() |
Type<T> |
type()
Returns the type of this definition.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
define, defineBool, defineBytes, defineChar, defineDouble, defineInt, defineLong, defineString, exists, value, valueOr, valueOrFail
public final java.lang.String name()
CellDefinition
name
in interface CellDefinition<T>
public final Type<T> type()
CellDefinition
type
in interface CellDefinition<T>
public final Cell<T> newCell(T value)
CellDefinition
newCell
in interface CellDefinition<T>
value
- value for the cellpublic final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object