public final class DoubleOptionFieldAdapter extends NumericOptionFieldAdapter<DoubleOption>
FieldAdapter
which accepts DoubleOption
.Modifier and Type | Class and Description |
---|---|
static class |
DoubleOptionFieldAdapter.Builder
A builder of
DoubleOptionFieldAdapter . |
NumericOptionFieldAdapter.NumericBuilderBase<S extends NumericOptionFieldAdapter.NumericBuilderBase<S,T>,T extends FieldAdapter<?>>
ValueOptionFieldAdapter.BuilderBase<S extends ValueOptionFieldAdapter.BuilderBase<S,T>,T extends FieldAdapter<?>>
DEFAULT_NULL_FORMAT
Modifier and Type | Method and Description |
---|---|
static DoubleOptionFieldAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doEmitDefault(DoubleOption property,
StringBuilder output)
Emits the given non-null property value into the string builder.
|
protected void |
doParseDefault(CharSequence contents,
DoubleOption property)
Parses the given non-null character sequence and set the parsed value into property.
|
protected Number |
get(DoubleOption property)
Returns the property value.
|
protected void |
set(BigDecimal value,
DoubleOption property)
Sets the given number into the property.
|
protected void |
setSpecial(CharSequence contents,
Number value,
DoubleOption property)
Sets the given special number into the property.
|
doEmit, doParse
clear, emit, parse
public static DoubleOptionFieldAdapter.Builder builder()
protected Number get(DoubleOption property)
NumericOptionFieldAdapter
get
in class NumericOptionFieldAdapter<DoubleOption>
property
- the propertyprotected void set(BigDecimal value, DoubleOption property)
NumericOptionFieldAdapter
set
in class NumericOptionFieldAdapter<DoubleOption>
value
- the valueproperty
- the propertyprotected void setSpecial(CharSequence contents, Number value, DoubleOption property)
NumericOptionFieldAdapter
setSpecial
in class NumericOptionFieldAdapter<DoubleOption>
contents
- the original contentsvalue
- the valueproperty
- the propertyprotected void doParseDefault(CharSequence contents, DoubleOption property)
NumericOptionFieldAdapter
doParseDefault
in class NumericOptionFieldAdapter<DoubleOption>
contents
- the contents, never null
property
- the destination propertyprotected void doEmitDefault(DoubleOption property, StringBuilder output)
NumericOptionFieldAdapter
doEmitDefault
in class NumericOptionFieldAdapter<DoubleOption>
property
- the property value, never null
nor represents null
output
- the destination bufferCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.