Class RequireDecimalSeparatorValidator
java.lang.Object
com.ibm.icu.impl.number.parse.ValidationMatcher
com.ibm.icu.impl.number.parse.RequireDecimalSeparatorValidator
- All Implemented Interfaces:
NumberParseMatcher
-
Nested Class Summary
Nested classes/interfaces inherited from interface NumberParseMatcher
NumberParseMatcher.Flexible -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RequireDecimalSeparatorValidatorprivate static final RequireDecimalSeparatorValidatorprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator) -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(boolean patternHasDecimalSeparator) voidpostProcess(ParsedNumber result) Method called at the end of a parse, after all matchers have failed to consume any more chars.toString()Methods inherited from class ValidationMatcher
match, smokeTest
-
Field Details
-
A
-
B
-
patternHasDecimalSeparator
private final boolean patternHasDecimalSeparator
-
-
Constructor Details
-
RequireDecimalSeparatorValidator
private RequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator)
-
-
Method Details
-
getInstance
-
postProcess
Description copied from interface:NumberParseMatcherMethod 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
-