Class ApproximatelySignMatcher
java.lang.Object
com.ibm.icu.impl.number.parse.SymbolMatcher
com.ibm.icu.impl.number.parse.ApproximatelySignMatcher
- All Implemented Interfaces:
NumberParseMatcher
-
Nested Class Summary
Nested classes/interfaces inherited from interface NumberParseMatcher
NumberParseMatcher.Flexible -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final ApproximatelySignMatcherprivate static final ApproximatelySignMatcherFields inherited from class SymbolMatcher
string, uniSet -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateApproximatelySignMatcher(boolean allowTrailing) privateApproximatelySignMatcher(String symbolString, boolean allowTrailing) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept(StringSegment segment, ParsedNumber result) static ApproximatelySignMatchergetInstance(DecimalFormatSymbols symbols, boolean allowTrailing) protected booleanisDisabled(ParsedNumber result) toString()Methods inherited from class SymbolMatcher
getSet, match, postProcess, smokeTest
-
Field Details
-
DEFAULT
-
DEFAULT_ALLOW_TRAILING
-
allowTrailing
private final boolean allowTrailing
-
-
Constructor Details
-
ApproximatelySignMatcher
-
ApproximatelySignMatcher
private ApproximatelySignMatcher(boolean allowTrailing)
-
-
Method Details
-
getInstance
public static ApproximatelySignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) -
isDisabled
- Specified by:
isDisabledin classSymbolMatcher
-
accept
- Specified by:
acceptin classSymbolMatcher
-
toString
-