Top Fields Constructors Methods
com.ibm.icu.impl.number.parse

public Class RequireDecimalSeparatorValidator

extends ValidationMatcher
Class Inheritance

Author
sffc

Field Summary

Modifier and TypeField and Description
private static final RequireDecimalSeparatorValidator
A

private static final RequireDecimalSeparatorValidator
B

private final boolean

Constructor Summary

AccessConstructor and Description
private
RequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator)

Method Summary

Modifier and TypeMethod and Description
public static RequireDecimalSeparatorValidator
getInstance(boolean patternHasDecimalSeparator)

public void
postProcess(ParsedNumber
The data structure to store results.
result
)

Implements com.ibm.icu.impl.number.parse.NumberParseMatcher.postProcess.

Method called at the end of a parse, after all matchers have failed to consume any more chars.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from com.ibm.icu.impl.number.parse.ValidationMatcher:
matchsmokeTest

Field Detail

Aback to summary
private static final RequireDecimalSeparatorValidator A
Bback to summary
private static final RequireDecimalSeparatorValidator B
patternHasDecimalSeparatorback to summary
private final boolean patternHasDecimalSeparator

Constructor Detail

RequireDecimalSeparatorValidatorback to summary
private RequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator)

Method Detail

getInstanceback to summary
public static RequireDecimalSeparatorValidator getInstance(boolean patternHasDecimalSeparator)
postProcessback to summary
public void postProcess(ParsedNumber result)

Implements com.ibm.icu.impl.number.parse.NumberParseMatcher.postProcess.

Doc from com.ibm.icu.impl.number.parse.NumberParseMatcher.postProcess.

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:ParsedNumber

The data structure to store results.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override