Class RequireDecimalSeparatorValidator

java.lang.Object
com.ibm.icu.impl.number.parse.ValidationMatcher
com.ibm.icu.impl.number.parse.RequireDecimalSeparatorValidator
All Implemented Interfaces:
NumberParseMatcher

public class RequireDecimalSeparatorValidator extends ValidationMatcher
  • Field Details

  • Constructor Details

    • RequireDecimalSeparatorValidator

      private RequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator)
  • Method Details

    • getInstance

      public static RequireDecimalSeparatorValidator getInstance(boolean patternHasDecimalSeparator)
    • postProcess

      public void postProcess(ParsedNumber result)
      Description copied from interface: NumberParseMatcher
      Method called at the end of a parse, after all matchers have failed to consume any more chars. Allows a matcher to make final modifications to the result given the knowledge that no more matches are possible.
      Parameters:
      result - The data structure to store results.
    • toString

      public String toString()
      Overrides:
      toString in class Object