Package com.ibm.icu.impl.number.parse
Class IgnorablesMatcher
- java.lang.Object
-
- com.ibm.icu.impl.number.parse.SymbolMatcher
-
- com.ibm.icu.impl.number.parse.IgnorablesMatcher
-
- All Implemented Interfaces:
NumberParseMatcher
,NumberParseMatcher.Flexible
public class IgnorablesMatcher extends SymbolMatcher implements NumberParseMatcher.Flexible
-
-
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 IgnorablesMatcher
DEFAULT
private static IgnorablesMatcher
JAVA_COMPATIBILITY
private static IgnorablesMatcher
STRICT
-
Fields inherited from class com.ibm.icu.impl.number.parse.SymbolMatcher
string, uniSet
-
-
Constructor Summary
Constructors Modifier Constructor Description private
IgnorablesMatcher(UnicodeSet ignorables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
accept(StringSegment segment, ParsedNumber result)
static IgnorablesMatcher
getInstance(int parseFlags)
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 IgnorablesMatcher DEFAULT
-
STRICT
private static final IgnorablesMatcher STRICT
-
JAVA_COMPATIBILITY
private static final IgnorablesMatcher JAVA_COMPATIBILITY
-
-
Constructor Detail
-
IgnorablesMatcher
private IgnorablesMatcher(UnicodeSet ignorables)
-
-
Method Detail
-
getInstance
public static IgnorablesMatcher getInstance(int parseFlags)
-
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
-
-