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 voidIgnorablesMatcher.accept(StringSegment segment, ParsedNumber result) protected voidInfinityMatcher.accept(StringSegment segment, ParsedNumber result) protected voidMinusSignMatcher.accept(StringSegment segment, ParsedNumber result) protected voidNanMatcher.accept(StringSegment segment, ParsedNumber result) protected voidPaddingMatcher.accept(StringSegment segment, ParsedNumber result) protected voidPercentMatcher.accept(StringSegment segment, ParsedNumber result) protected voidPermilleMatcher.accept(StringSegment segment, ParsedNumber result) protected voidPlusSignMatcher.accept(StringSegment segment, ParsedNumber result) protected abstract voidSymbolMatcher.accept(StringSegment segment, ParsedNumber result) booleanAffixMatcher.match(StringSegment segment, ParsedNumber result) booleanCodePointMatcher.match(StringSegment segment, ParsedNumber result) booleanCombinedCurrencyMatcher.match(StringSegment segment, ParsedNumber result) booleanDecimalMatcher.match(StringSegment segment, ParsedNumber result) booleanDecimalMatcher.match(StringSegment segment, ParsedNumber result, int exponentSign) booleanNumberParseMatcher.match(StringSegment segment, ParsedNumber result) Runs this matcher starting at the beginning of the given StringSegment.booleanScientificMatcher.match(StringSegment segment, ParsedNumber result) booleanSeriesMatcher.match(StringSegment segment, ParsedNumber result) booleanSymbolMatcher.match(StringSegment segment, ParsedNumber result) booleanValidationMatcher.match(StringSegment segment, ParsedNumber result) private booleanCombinedCurrencyMatcher.matchCurrency(StringSegment segment, ParsedNumber result) Matches the currency string without concern for currency spacing.private voidNumberParserImpl.parseGreedy(StringSegment segment, ParsedNumber result) private voidNumberParserImpl.parseLongestRecursive(StringSegment segment, ParsedNumber result, int recursionLevels) voidParsedNumber.setCharsConsumed(StringSegment segment) Call this method to register that a "strong" char was consumed.booleanAffixMatcher.smokeTest(StringSegment segment) booleanCodePointMatcher.smokeTest(StringSegment segment) booleanCombinedCurrencyMatcher.smokeTest(StringSegment segment) booleanDecimalMatcher.smokeTest(StringSegment segment) booleanNumberParseMatcher.smokeTest(StringSegment segment) Performs a fast "smoke check" for whether or not this matcher could possibly match against the given string segment.booleanScientificMatcher.smokeTest(StringSegment segment) booleanSeriesMatcher.smokeTest(StringSegment segment) booleanSymbolMatcher.smokeTest(StringSegment segment) booleanValidationMatcher.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 voidNumberSkeletonImpl.BlueprintHelpers.parseCurrencyOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseDigitsStem(StringSegment segment, MacroProps macros) private static booleanNumberSkeletonImpl.BlueprintHelpers.parseExponentSignOption(StringSegment segment, MacroProps macros) private static booleanNumberSkeletonImpl.BlueprintHelpers.parseExponentWidthOption(StringSegment segment, MacroProps macros) private static booleanNumberSkeletonImpl.BlueprintHelpers.parseFracSigOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseFractionStem(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.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 voidNumberSkeletonImpl.BlueprintHelpers.parseIncrementOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseIntegerStem(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseIntegerWidthOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseMeasurePerUnitOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseMeasureUnitOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseNumberingSystemOption(StringSegment segment, MacroProps macros) private static NumberSkeletonImpl.ParseStateNumberSkeletonImpl.parseOption(NumberSkeletonImpl.ParseState stem, StringSegment segment, MacroProps macros) Given that the current segment represents an option, parse it and save the result.private static voidNumberSkeletonImpl.BlueprintHelpers.parseScaleOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseScientificStem(StringSegment segment, MacroProps macros) private static NumberSkeletonImpl.ParseStateNumberSkeletonImpl.parseStem(StringSegment segment, CharsTrie stemTrie, MacroProps macros) Given that the current segment represents a stem, parse it and save the result.private static booleanNumberSkeletonImpl.BlueprintHelpers.parseTrailingZeroOption(StringSegment segment, MacroProps macros) private static voidNumberSkeletonImpl.BlueprintHelpers.parseUnitUsageOption(StringSegment segment, MacroProps macros)