Uses of Class
com.ibm.icu.impl.StringSegment
Packages that use StringSegment
-
Uses of StringSegment in com.ibm.icu.impl.number.parse
Methods in com.ibm.icu.impl.number.parse with parameters of type StringSegmentModifier and TypeMethodDescriptionprotected void
IgnorablesMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
InfinityMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
MinusSignMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
NanMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
PaddingMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
PercentMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
PermilleMatcher.accept
(StringSegment segment, ParsedNumber result) protected void
PlusSignMatcher.accept
(StringSegment segment, ParsedNumber result) protected abstract void
SymbolMatcher.accept
(StringSegment segment, ParsedNumber result) boolean
AffixMatcher.match
(StringSegment segment, ParsedNumber result) boolean
CodePointMatcher.match
(StringSegment segment, ParsedNumber result) boolean
CombinedCurrencyMatcher.match
(StringSegment segment, ParsedNumber result) boolean
DecimalMatcher.match
(StringSegment segment, ParsedNumber result) boolean
DecimalMatcher.match
(StringSegment segment, ParsedNumber result, int exponentSign) boolean
NumberParseMatcher.match
(StringSegment segment, ParsedNumber result) Runs this matcher starting at the beginning of the given StringSegment.boolean
ScientificMatcher.match
(StringSegment segment, ParsedNumber result) boolean
SeriesMatcher.match
(StringSegment segment, ParsedNumber result) boolean
SymbolMatcher.match
(StringSegment segment, ParsedNumber result) boolean
ValidationMatcher.match
(StringSegment segment, ParsedNumber result) private boolean
CombinedCurrencyMatcher.matchCurrency
(StringSegment segment, ParsedNumber result) Matches the currency string without concern for currency spacing.private void
NumberParserImpl.parseGreedy
(StringSegment segment, ParsedNumber result) private void
NumberParserImpl.parseLongestRecursive
(StringSegment segment, ParsedNumber result, int recursionLevels) void
ParsedNumber.setCharsConsumed
(StringSegment segment) Call this method to register that a "strong" char was consumed.boolean
AffixMatcher.smokeTest
(StringSegment segment) boolean
CodePointMatcher.smokeTest
(StringSegment segment) boolean
CombinedCurrencyMatcher.smokeTest
(StringSegment segment) boolean
DecimalMatcher.smokeTest
(StringSegment segment) boolean
NumberParseMatcher.smokeTest
(StringSegment segment) Performs a fast "smoke check" for whether or not this matcher could possibly match against the given string segment.boolean
ScientificMatcher.smokeTest
(StringSegment segment) boolean
SeriesMatcher.smokeTest
(StringSegment segment) boolean
SymbolMatcher.smokeTest
(StringSegment segment) boolean
ValidationMatcher.smokeTest
(StringSegment segment) -
Uses of StringSegment in com.ibm.icu.number
Methods in com.ibm.icu.number with parameters of type StringSegmentModifier and TypeMethodDescriptionprivate static void
NumberSkeletonImpl.BlueprintHelpers.parseCurrencyOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseDigitsStem
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseExponentSignOption
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseExponentWidthOption
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseFracSigOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseFractionStem
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseIdentifierUnitOption
(StringSegment segment, MacroProps macros) Parses unit identifiers like "meter-per-second" and "foot-and-inch", as specified via a "unit/" concise skeleton.private static void
NumberSkeletonImpl.BlueprintHelpers.parseIncrementOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseIntegerStem
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseIntegerWidthOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseMeasurePerUnitOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseMeasureUnitOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseNumberingSystemOption
(StringSegment segment, MacroProps macros) private static NumberSkeletonImpl.ParseState
NumberSkeletonImpl.parseOption
(NumberSkeletonImpl.ParseState stem, StringSegment segment, MacroProps macros) Given that the current segment represents an option, parse it and save the result.private static void
NumberSkeletonImpl.BlueprintHelpers.parseScaleOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseScientificStem
(StringSegment segment, MacroProps macros) private static NumberSkeletonImpl.ParseState
NumberSkeletonImpl.parseStem
(StringSegment segment, CharsTrie stemTrie, MacroProps macros) Given that the current segment represents a stem, parse it and save the result.private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseTrailingZeroOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseUnitUsageOption
(StringSegment segment, MacroProps macros)