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