Package com.ibm.icu.impl.number.parse
Class PercentMatcher
- java.lang.Object
-
- com.ibm.icu.impl.number.parse.SymbolMatcher
-
- com.ibm.icu.impl.number.parse.PercentMatcher
-
- All Implemented Interfaces:
NumberParseMatcher
public class PercentMatcher extends SymbolMatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.icu.impl.number.parse.NumberParseMatcher
NumberParseMatcher.Flexible
-
-
Field Summary
Fields Modifier and Type Field Description private static PercentMatcher
DEFAULT
-
Fields inherited from class com.ibm.icu.impl.number.parse.SymbolMatcher
string, uniSet
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PercentMatcher()
private
PercentMatcher(java.lang.String symbolString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
accept(StringSegment segment, ParsedNumber result)
static PercentMatcher
getInstance(DecimalFormatSymbols symbols)
protected boolean
isDisabled(ParsedNumber result)
java.lang.String
toString()
-
Methods inherited from class com.ibm.icu.impl.number.parse.SymbolMatcher
getSet, match, postProcess, smokeTest
-
-
-
-
Field Detail
-
DEFAULT
private static final PercentMatcher DEFAULT
-
-
Method Detail
-
getInstance
public static PercentMatcher getInstance(DecimalFormatSymbols symbols)
-
isDisabled
protected boolean isDisabled(ParsedNumber result)
- Specified by:
isDisabled
in classSymbolMatcher
-
accept
protected void accept(StringSegment segment, ParsedNumber result)
- Specified by:
accept
in classSymbolMatcher
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-