Class RequireDecimalSeparatorValidator

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

public class RequireDecimalSeparatorValidator extends ValidationMatcher
  • 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