Uses of Class
com.google.mu.util.Substring.Match
Packages that use Substring.Match
Package
Description
Deprecated (requires mug-guava artifact)
StringFormat, Substring, Optionals and more...
-
Uses of Substring.Match in com.google.guava.labs.safesql
Methods in com.google.guava.labs.safesql with parameters of type Substring.MatchModifier and TypeMethodDescriptionprotected SafeQuerySafeQuery.Translator.translateLiteral(Substring.Match placeholder, Object value) Deprecated.Called if a placeholdervalueis a non-string, non-Iterable literal appearing unquoted in the template. -
Uses of Substring.Match in com.google.mu.util
Methods in com.google.mu.util that return Substring.MatchModifier and TypeMethodDescriptionSubstring.Match.limit(int maxChars) Returns an equivalent match with at mostmaxChars.Substring.Match.skip(int fromBeginning, int fromEnd) Returns a new instance that's otherwise equivalent except withfromBeginningcharacters skipped from the beginning andfromEndcharacters skipped from the end.Methods in com.google.mu.util that return types with arguments of type Substring.MatchModifier and TypeMethodDescriptionReturns a stream ofMatchobjects from the inputstringas demarcated by this delimiter pattern.final Optional<Substring.Match> Matches this pattern againststring, returning aMatchif successful, orempty()otherwise.final Optional<Substring.Match> Matches this pattern againststringstarting from the character atfromIndex, returning aMatchif successful, orempty()otherwise.final Stream<Substring.Match> Applies this pattern againststringand returns a stream of each iteration.abstract Stream<Substring.Match> Applies this pattern againststringstarting fromfromIndexand returns a stream of each iteration.Returns a stream ofMatchobjects delimited by every match of this pattern.Substring.RepeatingPattern.splitThenTrim(String string) Returns a stream ofMatchobjects delimited by every match of this pattern.Method parameters in com.google.mu.util with type arguments of type Substring.MatchModifier and TypeMethodDescriptionStringFormat.Interpolator.interpolate(List<String> fragments, BiStream<Substring.Match, Object> placeholders) Interpolates withfragmentsof sizeN + 1andplaceholdersof sizeN.Substring.RepeatingPattern.replaceAllFrom(String string, Function<? super Substring.Match, ? extends CharSequence> replacementFunction) Returns a new string with allmatchesof this pattern replaced by applyingreplacementFunctionfor each match.final StringSubstring.Pattern.replaceFrom(String string, Function<? super Substring.Match, ? extends CharSequence> replacementFunction) Returns a new string with the substring matched bythisreplaced by the return value ofreplacementFunction.