public final class FloatOptionFieldAdapter extends NumericOptionFieldAdapter<FloatOption>
FieldAdapter which accepts FloatOption.| Modifier and Type | Class and Description |
|---|---|
static class |
FloatOptionFieldAdapter.Builder
A builder of
FloatOptionFieldAdapter. |
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 FloatOptionFieldAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doEmitDefault(FloatOption property,
StringBuilder output)
Emits the given non-null property value into the string builder.
|
protected void |
doParseDefault(CharSequence contents,
FloatOption property)
Parses the given non-null character sequence and set the parsed value into property.
|
protected Number |
get(FloatOption property)
Returns the property value.
|
protected void |
set(BigDecimal value,
FloatOption property)
Sets the given number into the property.
|
protected void |
setSpecial(CharSequence contents,
Number value,
FloatOption property)
Sets the given special number into the property.
|
doEmit, doParseclear, emit, parsepublic static FloatOptionFieldAdapter.Builder builder()
protected Number get(FloatOption property)
NumericOptionFieldAdapterget in class NumericOptionFieldAdapter<FloatOption>property - the propertyprotected void set(BigDecimal value, FloatOption property)
NumericOptionFieldAdapterset in class NumericOptionFieldAdapter<FloatOption>value - the valueproperty - the propertyprotected void setSpecial(CharSequence contents, Number value, FloatOption property)
NumericOptionFieldAdaptersetSpecial in class NumericOptionFieldAdapter<FloatOption>contents - the original contentsvalue - the valueproperty - the propertyprotected void doParseDefault(CharSequence contents, FloatOption property)
NumericOptionFieldAdapterdoParseDefault in class NumericOptionFieldAdapter<FloatOption>contents - the contents, never nullproperty - the destination propertyprotected void doEmitDefault(FloatOption property, StringBuilder output)
NumericOptionFieldAdapterdoEmitDefault in class NumericOptionFieldAdapter<FloatOption>property - the property value, never null nor represents nulloutput - the destination bufferCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.