Class CellDefinition.Impl<T>
java.lang.Object
com.terracottatech.store.definition.CellDefinition.Impl<T>
- Type Parameters:
T
- definition JDK type
- All Implemented Interfaces:
CellDefinition<T>
- Enclosing interface:
- CellDefinition<T>
Internal interned definition implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.terracottatech.store.definition.CellDefinition
CellDefinition.CellImpl<T>, CellDefinition.Impl<T>
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.terracottatech.store.definition.CellDefinition
exists, value, valueOr, valueOrFail
-
Method Details
-
name
Description copied from interface:CellDefinition
Returns the name of this definition.- Specified by:
name
in interfaceCellDefinition<T>
- Returns:
- definition name
-
type
Description copied from interface:CellDefinition
Returns the type of this definition.- Specified by:
type
in interfaceCellDefinition<T>
- Returns:
- definition type
-
newCell
Description copied from interface:CellDefinition
Creates a new cell binding this definition to the given value.- Specified by:
newCell
in interfaceCellDefinition<T>
- Parameters:
value
- value for the cell- Returns:
- a cell
-
equals
-
hashCode
public final int hashCode() -
toString
-