/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }
/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }
/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }
/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }
/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }
/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }
/** * Sets the flag that indicates whether numbers will be parsed as integers. * When this decimal format is used for parsing and this value is set to * {@code true}, then the resulting numbers will be of type * {@code java.lang.Integer}. Special cases are NaN, positive and negative * infinity, which are still returned as {@code java.lang.Double}. * * * @param value * {@code true} that the resulting numbers of parse operations * will be of type {@code java.lang.Integer} except for the * special cases described above. */ @Override public void setParseIntegerOnly(boolean value) { // In this implementation, NativeDecimalFormat is wrapped to // fulfill most of the format and parse feature. And this method is // delegated to the wrapped instance of NativeDecimalFormat. ndf.setParseIntegerOnly(value); }