@Test public void parse() { FloatOptionFieldAdapter adapter = FloatOptionFieldAdapter.builder().build(); checkParse(adapter, 0.f, new FloatOption(0)); checkParse(adapter, 1.f, new FloatOption(1)); checkParse(adapter, -1.f, new FloatOption(-1)); checkParse(adapter, Float.NaN, new FloatOption(Float.NaN)); checkParse(adapter, Float.POSITIVE_INFINITY, new FloatOption(Float.POSITIVE_INFINITY)); checkParse(adapter, Float.NEGATIVE_INFINITY, new FloatOption(Float.NEGATIVE_INFINITY)); }
public static Builder builder() { return new Builder(); }
FloatOptionFieldAdapter extends NumericOptionFieldAdapter<FloatOption> { public static Builder builder() { return new Builder(); } }
FloatOptionFieldAdapter extends NumericOptionFieldAdapter<FloatOption> { public static Builder builder() { return new Builder(); } FloatOptionFieldAdapter(String nullFormat, DecimalFormat decimalFormat); }
FloatOptionFieldAdapter extends NumericOptionFieldAdapter<FloatOption> { public static Builder builder() { return new Builder(); } FloatOptionFieldAdapter(String nullFormat, DecimalFormat decimalFormat); static Builder builder(); }
FloatOptionFieldAdapter extends NumericOptionFieldAdapter<FloatOption> { public static Builder builder() { return new Builder(); } FloatOptionFieldAdapter(String nullFormat, DecimalFormat decimalFormat); static Builder builder();  }