/** * Checks whether provided {@code value} is special numeric value and if formatter is configured to enquote these * values. * * @param value * value to check * @return {@code true} if value is special and should be enquoted, {@code false} - otherwise */ protected boolean isSpecialEnquote(Object value) { return specialNumbersHandling == SpecNumbersHandling.ENQUOTE && isSpecial(value); }
/** * Checks whether provided {@code value} is special numeric value and if formatter is configured to suppress these * values. * * @param value * value to check * @return {@code true} if value is special and should be suppressed, {@code false} - otherwise * * @see #isSpecial(Object) */ protected boolean isSpecialSuppress(Object value) { return specialNumbersHandling == SpecNumbersHandling.SUPPRESS && isSpecial(value); }