public interface DoubleCellDefinition extends ComparableCellDefinition<java.lang.Double>
double
cell.CellDefinition.CellImpl<T>, CellDefinition.Impl<T>
Modifier and Type | Method and Description |
---|---|
default BuildableToDoubleFunction<Record<?>> |
doubleValueOr(double otherwise)
Returns a function that extracts this cells value from a record.
|
default BuildableToDoubleFunction<Record<?>> |
doubleValueOrFail()
Returns a function that extracts this cells value from a record.
|
value, valueOr, valueOrFail
define, defineBool, defineBytes, defineChar, defineDouble, defineInt, defineLong, defineString, exists, name, newCell, type
default BuildableToDoubleFunction<Record<?>> doubleValueOr(double otherwise)
If this cell is absent from a record then the supplied value is used
otherwise
- value to use in this cells absencedefault BuildableToDoubleFunction<Record<?>> doubleValueOrFail()
If this cell is absent from a record then a NoSuchElementException
is thrown.