Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(double) - Method in interface com.google.mu.function.CheckedDoubleConsumer
- accept(int) - Method in interface com.google.mu.function.CheckedIntConsumer
- accept(long) - Method in interface com.google.mu.function.CheckedLongConsumer
- accept(A, B) - Method in interface com.google.mu.function.CheckedBiConsumer
- accept(T) - Method in interface com.google.mu.function.CheckedConsumer
- accumulate(C, L, R) - Method in interface com.google.mu.util.stream.BiAccumulator
- accumulator() - Method in class com.google.mu.util.stream.Joiner
- add(String, boolean) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, value)field. - add(String, double) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, value)field. - add(String, StructBuilder) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, struct)field. - add(String, ListValue) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, value)field. - add(String, Struct) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, struct)field. - add(String, Value) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, value)field. - add(String, Iterable<Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, values) field, withvalueswrapped inListValue. - add(String, String) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, value)field. - add(String, Map<String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds a
(name, map)field. - add(List<? extends K>, V) - Method in class com.google.mu.collect.PrefixSearchTable.Builder
-
Adds the mapping from
compoundKeytovalue. - add(K, V) - Method in class com.google.mu.util.stream.BiStream.Builder
- addAll(Multimap<String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds all distinct keys from
multimapinto this builder. - addAll(Table<String, String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds all rows from
tableinto this builder. - addAll(Map<? extends List<? extends K>, ? extends V>) - Method in class com.google.mu.collect.PrefixSearchTable.Builder
-
Adds all of
mappingsinto this builder. - addAll(Map<String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds all key-value pairs from
mapinto this builder. - addAllFields(StructBuilder) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds all fields from
thatinto this builder. - addAllFields(Struct) - Method in class com.google.mu.protobuf.util.StructBuilder
-
Adds all fields from
thatinto this builder. - Addons pertaining to Guava common.base package (requires mug-guava artifact) - Search tag in package com.google.guava.labs.base
- Section
- addToIfAbsent(String) - Method in class com.google.mu.util.Substring.Prefix
-
If
stringhas this prefix, return it as-is; otherwise, return it with this prefix prepended. - addToIfAbsent(String) - Method in class com.google.mu.util.Substring.Suffix
-
If
stringhas this suffix, return it as-is; otherwise, return it with this suffix appended. - addToIfAbsent(StringBuilder) - Method in class com.google.mu.util.Substring.Prefix
-
If
builderdoes not already have this prefix, prepend this prefix to it. - addToIfAbsent(StringBuilder) - Method in class com.google.mu.util.Substring.Suffix
-
If
builderdoes not already have this suffix, append this suffix to it. - after() - Method in class com.google.mu.util.Substring.Match
-
Returns the part of the original string before the matched substring.
- after(double) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately after
floor. - after(int) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately after the given
floorand before the next integer (ifceilingisn'tInteger.MAX_VALUE). - after(long) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately after the given
floorand before the next integer (ifceilingisn'tLong.MAX_VALUE). - after(Substring.Pattern) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat covers the substring afterdelimiter. - after(C, DiscreteDomain<C>) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately after the given
floorand before the next element in the given discretedomain(if a next element exists). - all() - Static method in interface com.google.mu.collect.Selection
-
Returns an unlimited selection of all (unspecified) choices.
- all(char) - Static method in class com.google.mu.util.Substring
-
Returns a
Substring.RepeatingPatternthat matches all occurrences ofchin the input string. - all(CharPredicate) - Static method in class com.google.mu.util.Substring
-
Returns a
Substring.RepeatingPatternthat matches all characters that matchmatcherin the input string. - all(String) - Static method in class com.google.mu.util.Substring
-
Returns a
Substring.RepeatingPatternthat matches all occurrences ofsubstrin the input string. - allMatch(BiPredicate<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns true if all pairs in this stream match
predicate. - allMax(Comparator<? super T>, Collector<? super T, ?, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a
Collectorthat collects all of the greatest (relative to the specifiedComparator) input elements, in encounter order, using thedownstreamcollector. - allMin(Comparator<? super T>, Collector<? super T, ?, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a
Collectorthat collects all of the least (relative to the specifiedComparator) input elements, in encounter order, using thedownstreamcollector. - ALNUM - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- ALPHA - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- ALPHA - Static variable in interface com.google.mu.util.CharPredicate
-
Equivalent to the
[a-zA-Z]character class. - alternation(RegexPattern...) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Returns an
RegexPattern.Alternationof the given alternatives. - Alternation(List<RegexPattern>) - Constructor for record class com.google.common.labs.regex.RegexPattern.Alternation
-
Creates an instance of a
Alternationrecord class. - alternationFrom(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns the alternation of this pattern from the
inputstring, with the matched substring alternated with the trailing substring before the next match. - alternatives() - Method in record class com.google.common.labs.regex.RegexPattern.Alternation
-
Returns the value of the
alternativesrecord component. - and() - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.A collector that joins boolean query snippets using
ANDoperator. - and() - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
A collector that joins boolean query snippets using
ANDoperator. - and() - Static method in class com.google.mu.safesql.SafeSql
-
A collector that joins boolean query snippet using
ANDoperator. - and() - Static method in class com.google.mu.spanner.ParameterizedQuery
-
A collector that joins boolean query snippet using
ANDoperator. - and(CharPredicate) - Method in interface com.google.mu.util.CharPredicate
-
Returns a
CharPredicatethat evaluates true if both this andthatpredicate evaluate to true. - andThen(CheckedBiConsumer<? super A, ? super B, ? extends E>) - Method in interface com.google.mu.function.CheckedBiConsumer
-
Returns a new
CheckedBiConsumerthat also passes the inputs tothat. - andThen(CheckedConsumer<? super T, E>) - Method in interface com.google.mu.function.CheckedConsumer
-
Returns a new
CheckedConsumerthat also passes the input tothat. - andThen(CheckedDoubleConsumer<E>) - Method in interface com.google.mu.function.CheckedDoubleConsumer
-
Returns a new
CheckedDoubleConsumerthat also passes the input tothat. - andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.google.mu.function.CheckedBiFunction
-
Returns a new
CheckedBiFunctionthat maps the return value usingmapper. - andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.google.mu.function.CheckedFunction
-
Returns a new
CheckedFunctionthat maps the return value usingmapper. - andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.google.mu.function.CheckedSupplier
-
Returns a new
CheckedSupplierthat maps the return value usingmapper. - andThen(CheckedIntConsumer<E>) - Method in interface com.google.mu.function.CheckedIntConsumer
-
Returns a new
CheckedIntConsumerthat also passes the input tothat. - andThen(CheckedLongConsumer<E>) - Method in interface com.google.mu.function.CheckedLongConsumer
-
Returns a new
CheckedLongConsumerthat also passes the input tothat. - andThen(BiFunction<? super A, ? super B, T>) - Method in interface com.google.mu.util.Both
-
Applies the
mapperfunction with this pair of two things as arguments. - ANY - Static variable in interface com.google.mu.util.CharPredicate
-
Corresponds to all characters.
- ANY_CHAR - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- anyMatch(BiPredicate<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns true if any pair in this stream matches
predicate. - anyOf(Parser<? extends T>...) - Static method in class com.google.common.labs.parse.Parser
-
Matches if any of the given
parsersmatch. - anyOf(RegexPattern.CharSetElement...) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Returns a
RegexPattern.CharacterSetof the given elements. - anyOf(String) - Static method in interface com.google.mu.util.CharPredicate
-
Returns a CharPredicate that matches any of
chars. - anyOf(Collection<? extends RegexPattern.CharSetElement>) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Returns a
RegexPattern.CharacterSetof the given elements. - AnyOf(List<RegexPattern.CharSetElement>) - Constructor for record class com.google.common.labs.regex.RegexPattern.CharacterSet.AnyOf
-
Creates an instance of a
AnyOfrecord class. - append(BiStream<? extends K, ? extends V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, followed by the pairs inother. - append(Map<? extends K, ? extends V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, followed by the pairs inmap. - append(K, V) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, followed by the pair ofkeyandvalue. - APPLICATION_SPECIFIC - Enum constant in enum class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin.Priority
-
For application (server) owners to override any framework or library plugins.
- apply(A, B) - Method in interface com.google.mu.function.CheckedBiFunction
- apply(RegexPattern) - Method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- apply(F) - Method in interface com.google.mu.function.CheckedFunction
- apply(F) - Method in interface com.google.mu.safesql.SqlFunction
- apply(Statement) - Method in interface com.google.mu.safesql.StatementSettings
-
Applies the settings on the statement.
- asAlternation() - Static method in interface com.google.common.labs.regex.RegexPattern
-
A collector that collects the input
RegexPatternas an alternation. - asChecked() - Method in exception class com.google.mu.safesql.UncheckedSqlException
- ASCII - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- ASCII - Static variable in interface com.google.mu.util.CharPredicate
-
Corresponds to the ASCII characters.
- asList(ListValueOrBuilder) - Static method in class com.google.mu.protobuf.util.MoreValues
-
Returns a
List<Object>view overlistValue. - asMap(Struct) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a
Map<String, Object>view overstruct. - asSet(Optional<? extends T>) - Static method in class com.google.mu.util.Optionals
- at(C) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point exactly at
elementsuch thatInsertionPoint.exact(),InsertionPoint.floorandInsertionPoint.ceilingall return the same element. - atLeast(int) - Static method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- AtLeast(int, boolean, boolean) - Constructor for record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Creates an instance of a
AtLeastrecord class. - atLeastOnce() - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that applies this parser at least once, greedily.
- atLeastOnce(BinaryOperator<T>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that applies this parser at least once, greedily, and reduces the results using the
reducerfunction. - atLeastOnce(Collector<? super T, A, ? extends R>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that applies this parser at least once, greedily, and collects the return values using
collector. - atLeastOnceDelimitedBy(String) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser at least once, delimited by the given delimiter.
- atLeastOnceDelimitedBy(String, BinaryOperator<T>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser at least once, delimited by the given delimiter, using the given
reducerfunction to reduce the results. - atLeastOnceDelimitedBy(String, Collector<? super T, A, ? extends R>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser at least once, delimited by the given delimiter.
- atMost(int) - Static method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- AtMost(int, boolean, boolean) - Constructor for record class com.google.common.labs.regex.RegexPattern.AtMost
-
Creates an instance of a
AtMostrecord class. - averagingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat produces the arithmetic mean of a double-valued function applied to the input pair. - averagingInt(ToIntBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat produces the arithmetic mean of an integer-valued function applied to the input pair. - averagingLong(ToLongBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat produces the arithmetic mean of a long-valued function applied to the input pair.
B
- before() - Method in class com.google.mu.util.Substring.Match
-
Returns the part of the original string before the matched substring.
- before(double) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately before
ceiling. - before(int) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately before the given
ceilingand after the previous integer (ifceilingisn'tInteger.MIN_VALUE). - before(long) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately before the given
ceilingand after the previous integer (ifceilingisn'tLong.MIN_VALUE). - before(Substring.Pattern) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat covers the substring beforedelimiter. - before(C, DiscreteDomain<C>) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point immediately before the given
ceilingand after the previous element in the given discretedomain(if a previous element exists). - BEGINNING - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
- BEGINNING - Static variable in class com.google.mu.util.Substring
-
Patternthat matches the empty substring at the beginning of the input string. - belong(A, B, A, B) - Method in interface com.google.mu.util.stream.BiStream.Partitioner
-
Returns true if consecutive pair
(a1, b1)and(a2, b2)belong to the same partition. - between(char, char) - Method in class com.google.mu.util.stream.Joiner
-
Returns an instance that wraps the join result between
beforeandafter. - between(char, char) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat will match the substring between the firstopenand the firstcloseafter it. - between(char, Substring.BoundStyle, char, Substring.BoundStyle) - Static method in class com.google.mu.util.Substring
-
Similar to
Substring.between(char, char)but allows to use alternative bound styles to include or exclude the delimiters at both ends. - between(double, double) - Static method in class com.google.guava.labs.collect.InsertionPoint
-
Returns an insertion point in the open range of
(floor, ceiling). - between(Parser<?>, Parser<?>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser enclosed between
prefixandsuffix. - between(Parser<?>, Parser<?>) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional (or zero-or-more) parser must be enclosed between non-empty
prefixandsuffix. - between(Substring.Pattern, Substring.BoundStyle, Substring.Pattern, Substring.BoundStyle) - Static method in class com.google.mu.util.Substring
-
Similar to
Substring.between(Pattern, Pattern)but allows to use alternative bound styles to include or exclude the delimiters at both ends. - between(Substring.Pattern, Substring.Pattern) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat will match the substring betweenopenandclose. - between(CharSequence, CharSequence) - Method in class com.google.mu.util.stream.Joiner
- between(String, Substring.BoundStyle, String, Substring.BoundStyle) - Static method in class com.google.mu.util.Substring
-
Similar to
Substring.between(String, String)but allows to use alternative bound styles to include or exclude the delimiters at both ends. - between(String, String) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser enclosed between
prefixandsuffix, which are non-empty string delimiters. - between(String, String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional (or zero-or-more) parser must be enclosed between non-empty
prefixandsuffix. - between(String, String) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat will match the substring between the firstopenand the firstcloseafter it. - BiAccumulator<C,
L, - Interface in com.google.mu.util.streamR> -
Interface modeling a builder funcction that accepts two parameters.
- BiCollector<K,
V, - Interface in com.google.mu.util.streamR> -
Logically, a
BiCollectorcollects "pairs of things", just as aCollectorcollects "things". - BiCollectors - Class in com.google.mu.util.stream
-
Common utilities pertaining to
BiCollector. - BiIteration<L,
R> - Class in com.google.mu.util.stream -
Deprecated.too niche
- BiIteration() - Constructor for class com.google.mu.util.stream.BiIteration
-
Deprecated.
- BinarySearch - Class in com.google.guava.labs.collect
-
Generic binary search algorithm with support for and beyond sorted lists and arrays, in a fluent API.
- BinarySearch.DoubleSearchTarget - Interface in com.google.guava.labs.collect
-
Represents the search target that can be found through bisecting the double domain.
- BinarySearch.IntSearchTarget - Interface in com.google.guava.labs.collect
-
Represents the search target that can be found through bisecting the integer domain.
- BinarySearch.LongSearchTarget - Interface in com.google.guava.labs.collect
-
Represents the search target that can be found through bisecting the long integer domain.
- BinarySearch.Table<K,
C> - Class in com.google.guava.labs.collect -
Like a hash table, allows looking up comparable values by a key, except the lookup is through binary search instead of hashing.
- BinarySearch and some extra collectors for Guava (requires mug-guava artifact) - Search tag in package com.google.guava.labs.collect
- Section
- BinaryTreeWalker<N> - Class in com.google.mu.util.graph
-
Walker for binary tree topology (see
Walker.inBinaryTree()). - BiOptional<A,
B> - Class in com.google.mu.util -
An optional pair of values; either the pair is present with both values, or is absent with no value.
- biStream(Collection<K>, Function<? super K, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof mappings betweenkeysand the corresponding return values of thetoValuefunction. - biStream(Collection<T>) - Static method in class com.google.mu.util.stream.BiStream
-
Short-hand for
from(elements, identity(), identity()). - biStream(Function<? super V, ? extends K>, Collection<V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof mappings between the key returned by thetoKeyfunction (when applied to each element ofvalues), and the element itself. - biStream(Function<? super V, ? extends K>, Stream<V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof mappings between the key returned by thetoKeyfunction (when applied to each element ofvalues), and the element itself. - biStream(Stream<K>, Function<? super K, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof mappings betweenkeysand the corresponding return values of thetoValuefunction. - biStream(Stream<T>) - Static method in class com.google.mu.util.stream.BiStream
-
Short-hand for
from(elements, identity(), identity()). - BiStream<K,
V> - Class in com.google.mu.util.stream -
A class similar to
Stream, but operating over a sequence of pairs of objects. - BiStream.Builder<K,
V> - Class in com.google.mu.util.stream -
Builder for
BiStream. - BiStream.Partitioner<A,
B> - Interface in com.google.mu.util.stream -
A predicate used to partition a
BiStreaminto sub-groups of consecutive pairs. - BLANK - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- both(Optional<? extends A>, Optional<? extends B>) - Static method in class com.google.mu.util.Optionals
-
If
aandbare present, returns aBiOptionalinstance containing them; otherwise returns an emptyBiOptional. - Both<A,
B> - Interface in com.google.mu.util -
Represents two unrelated or loosely-related things of type
AandB. - BoundedConcurrency - Class in com.google.mu.util.concurrent24
-
A fixed concurrency limit for structured concurrent IO-intensive operations.
- breadthFirstFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.BinaryTreeWalker
-
Returns a lazy stream for breadth-first traversal from
root. - breadthFirstFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.GraphWalker
- breadthFirstFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.Walker
-
Starts from
startNodesand walks in breadth-first order. - breadthFirstFrom(N...) - Method in class com.google.mu.util.graph.Walker
-
Starts from
startNodesand walks in breadth-first order. - breakCase(CharSequence) - Method in class com.google.mu.util.CaseBreaker
-
Returns a lazy stream of words split out from
text, delimited by non-letter-digit ascii characters, and further split atlowerCamelCaseandUpperCamelCaseboundaries. - build() - Method in class com.google.mu.collect.PrefixSearchTable.Builder
- build() - Method in class com.google.mu.protobuf.util.StructBuilder
-
Returns a new
Structinstance with all added fields. - build() - Method in class com.google.mu.util.stream.BiStream.Builder
- build(Parser<? extends T>) - Method in class com.google.common.labs.parse.OperatorTable
-
Builds a parser with the configured operators applied to the given operand.
- builder() - Static method in class com.google.mu.collect.PrefixSearchTable
-
Returns a new builder.
- builder() - Static method in class com.google.mu.util.stream.BiStream
-
Returns a new
BiStream.Builder. - by(Function<Q, ? extends K>) - Method in class com.google.guava.labs.collect.BinarySearch.Table
-
Returns a new
BinarySearch.Tableover the same source but transforms the search target using the givenkeyFunctionfirst.
C
- Capturing(RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Group.Capturing
-
Creates an instance of a
Capturingrecord class. - CaseBreaker - Class in com.google.mu.util
-
Utility to
breakinput strings (normally identifier strings) incamelCase,UpperCamelCase,snake_case,UPPER_SNAKE_CASEanddash-caseetc. - CaseBreaker() - Constructor for class com.google.mu.util.CaseBreaker
- CaseFormats - Class in com.google.guava.labs.base
-
Additional utilities pertaining to
CaseFormat. - CaseFormats() - Constructor for class com.google.guava.labs.base.CaseFormats
- ceiling() - Method in class com.google.guava.labs.collect.InsertionPoint
-
Returns the ceiling element such that this insertion point is immediately
<=the ceiling. - Chain<T> - Class in com.google.mu.collect
-
Immutable
Listimplementation that supports O(1) concatenation. - characteristics() - Method in class com.google.mu.util.stream.Joiner
- CharacterSet - Class in com.google.common.labs.parse
-
Represents a set of characters specified by a regex-like character set string.
- charAt(int) - Method in class com.google.mu.util.Substring.Match
- charAt(int) - Method in class com.google.mu.util.Substring.Prefix
- charAt(int) - Method in class com.google.mu.util.Substring.Suffix
- CharPredicate - Interface in com.google.mu.util
-
A predicate of character.
- CharRange(char, char) - Constructor for record class com.google.common.labs.regex.RegexPattern.CharRange
-
Creates an instance of a
CharRangerecord class. - chars(int) - Static method in class com.google.common.labs.parse.Parser
-
Consumes exactly
nconsecutive characters. - charsIn(String) - Static method in class com.google.common.labs.parse.CharacterSet
-
Returns a
CharacterSetinstance compiled from the givencharacterSetspecifier. - CheckedBiConsumer<A,
B, - Interface in com.google.mu.functionE> -
A binary consumer that can throw checked exceptions.
- CheckedBiFunction<A,
B, - Interface in com.google.mu.functionT, E> -
A binary function that can throw checked exceptions.
- CheckedBiPredicate<A,
B, - Interface in com.google.mu.functionE> -
A binary predicate that can throw checked exceptions.
- CheckedConsumer<T,
E> - Interface in com.google.mu.function -
A consumer that can throw checked exceptions.
- CheckedDoubleConsumer<E> - Interface in com.google.mu.function
-
A double-value consumer that can throw checked exceptions.
- CheckedFunction<F,
T, - Interface in com.google.mu.functionE> -
A function that can throw checked exceptions.
- CheckedIntConsumer<E> - Interface in com.google.mu.function
-
An int consumer that can throw checked exceptions.
- CheckedLongConsumer<E> - Interface in com.google.mu.function
-
A 64-bit long consumer that can throw checked exceptions.
- CheckedRunnable<E> - Interface in com.google.mu.function
- CheckedSupplier<T,
E> - Interface in com.google.mu.function -
A supplier that can throw checked exceptions.
- close() - Method in class com.google.mu.util.stream.BiStream
-
Closes any resources associated with this stream, typically used in a try-with-resources statement.
- CNTRL - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- collect(A, BiAccumulator<? super A, ? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Performs mutable reduction, as in
collect(ImmutableMap.builder(), ImmutableMap.Builder::put). - collect(BiCollector<? super K, ? super V, R>) - Method in class com.google.mu.util.stream.BiStream
-
Returns an object of type
Rthat is the result of collecting the pairs in this stream usingcollector. - collect(BiCollector<? super K, ? super V, T>, Function<? super T, R>) - Method in class com.google.mu.util.stream.BiStream
-
Equivalent to
collect(collectingAndThen(collector, finisher))but helps to save syntactic noise. - collectingAndThen(BiCollector<K, V, ? extends Both<? extends A, ? extends B>>, BiFunction<? super A, ? super B, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
- collectingAndThen(BiCollector<K, V, T>, Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
- collectingAndThen(Function<? super BiStream<K, V>, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first collects the input pairs into aBiStreamand then appliesfinisheron the intermediary BiStream. - collectingAndThen(Collector<T, ?, ? extends Both<? extends A, ? extends B>>, BiFunction<? super A, ? super B, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
- collectorOf(Function<E, K>, Function<E, V>) - Method in interface com.google.mu.util.stream.BiCollector
-
Returns a
Collectorsuch that the keys (as returned by thetoKeyfunction) and values (as returned by thetoValuefunction) of the input elements are collected by thisBiCollector. - com.google.common.labs.csv - package com.google.common.labs.csv
-
A convenient CSV parser (requires dot-parse artifact)
- com.google.common.labs.parse - package com.google.common.labs.parse
-
Parser combinator that's free from infinite loop or accidental left recursion (requires dot-parse artifact)
- com.google.common.labs.regex - package com.google.common.labs.regex
-
Regex parser for dev tools (requires dot-parse artifact)
- com.google.guava.labs.base - package com.google.guava.labs.base
-
Addons pertaining to Guava common.base package (requires mug-guava artifact)
- com.google.guava.labs.collect - package com.google.guava.labs.collect
-
BinarySearch and some extra collectors for Guava (requires mug-guava artifact)
- com.google.guava.labs.safesql - package com.google.guava.labs.safesql
-
Deprecated (requires mug-guava artifact)
- com.google.mu.annotations - package com.google.mu.annotations
-
Annotations used by the ErrorProne plugin
- com.google.mu.bigquery - package com.google.mu.bigquery
-
BigQuery Client Library (requires mug-bigquery artifact)
- com.google.mu.collect - package com.google.mu.collect
-
A few useful collections
- com.google.mu.function - package com.google.mu.function
-
Some extra functional interfaces
- com.google.mu.protobuf.util - package com.google.mu.protobuf.util
-
Google Protobuf utilities (requires mug-protobuf artifact)
- com.google.mu.safesql - package com.google.mu.safesql
-
Injection-safe SQL template (requires mug-safesql artifact)
- com.google.mu.spanner - package com.google.mu.spanner
-
Injection-safe template for Cloud Spanner (requires mug-spanner artifact)
- com.google.mu.time - package com.google.mu.time
-
Golang-style DateTimeFormatter inference by examples (without magical date)
- com.google.mu.util - package com.google.mu.util
-
StringFormat, Substring, Optionals and more...
- com.google.mu.util.concurrent - package com.google.mu.util.concurrent
-
Structured Concurrency
- com.google.mu.util.concurrent24 - package com.google.mu.util.concurrent24
-
Java 24 structured concurrency and gatherers (requires mug-concurrent24 artifact)
- com.google.mu.util.graph - package com.google.mu.util.graph
-
Stream-based incremental graph algorithms
- com.google.mu.util.stream - package com.google.mu.util.stream
-
BiStream, BiCollector, MoreStreams, MoreCollectors etc.
- combiner() - Method in class com.google.mu.util.stream.Joiner
- combining(MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only three elements from the input and transforms them using the
mapperfunction. - combining(MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only four elements from the input and transforms them using the
mapperfunction. - combining(MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only five elements from the input and transforms them using the
mapperfunction. - combining(MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only six elements from the input and transforms them using the
mapperfunction. - combining(MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only seven elements from the input and transforms them using the
mapperfunction. - combining(MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only eight elements from the input and transforms them using the
mapperfunction. - combining(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the only two elements from the input and transforms them using the
mapperfunction. - compareTo(InsertionPoint<C>) - Method in class com.google.guava.labs.collect.InsertionPoint
- compareTo(Ordinal) - Method in class com.google.mu.util.Ordinal
-
Compares to
thataccording to natural order. - concat(Chain<? extends T>, Chain<? extends T>) - Static method in class com.google.mu.collect.Chain
-
Returns a new Chain concatenating elements from the
leftChain and therightChain, in O(1) time. - concat(BiStream<? extends K, ? extends V>, BiStream<? extends K, ? extends V>, BiStream<? extends K, ? extends V>...) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof the entries froms1,s2thenrestin encounter order. - concat(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>, Map<? extends K, ? extends V>...) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof the entries fromm1,m2thenrestin encounter order. - concat(Stream<? extends BiStream<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof pairs frombiStreamsconcatenated in encounter order. - concat(T) - Method in class com.google.mu.collect.Chain
-
Returns a new Chain concatenating elements from
thisChain followed bylastElement, in O(1) time. - concatenating(Function<? super T, ? extends BiStream<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat concatenatesBiStreamobjects derived from the input elements using the giventoBiStreamfunction. - concurrently(Runnable, Runnable, Runnable...) - Static method in class com.google.mu.util.concurrent.Fanout
-
Runs
task1,task2andmoreTasksconcurrently in their own virtual threads. - concurrently(Function<? super I, ? extends O>) - Method in class com.google.mu.util.concurrent24.BoundedConcurrency
-
Applies
workon each input element concurrently and lazily. - concurrently(Supplier<A>, Supplier<B>, Fanout.Join2<? super A, ? super B, R, X>) - Static method in class com.google.mu.util.concurrent.Fanout
-
Runs
aandbconcurrently in their own virtual threads. - concurrently(Supplier<A>, Supplier<B>, Supplier<C>, Fanout.Join3<? super A, ? super B, ? super C, R, X>) - Static method in class com.google.mu.util.concurrent.Fanout
-
Runs
a,bandcconcurrently in their own virtual threads. - concurrently(Supplier<A>, Supplier<B>, Supplier<C>, Supplier<D>, Fanout.Join4<? super A, ? super B, ? super C, ? super D, R, X>) - Static method in class com.google.mu.util.concurrent.Fanout
-
Runs
a,b,canddconcurrently in their own virtual threads. - concurrently(Supplier<A>, Supplier<B>, Supplier<C>, Supplier<D>, Supplier<E>, Fanout.Join5<? super A, ? super B, ? super C, ? super D, ? super E, R, X>) - Static method in class com.google.mu.util.concurrent.Fanout
-
Runs
a,b,c,dandeconcurrently in their own virtual threads. - consecutive(char) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first non-empty sequence of consecutivechcharacters. - consecutive(CharacterSet) - Static method in class com.google.common.labs.parse.Parser
-
Matches one or more consecutive characters contained in
characterSet. - consecutive(CharPredicate) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first non-empty sequence of consecutive characters identified bymatcher. - consecutive(CharPredicate, String) - Static method in class com.google.common.labs.parse.Parser
-
Matches one or more consecutive characters as specified by
matcher. - content() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Capturing
-
Returns the value of the
contentrecord component. - content() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Named
-
Returns the value of the
contentrecord component. - content() - Method in record class com.google.common.labs.regex.RegexPattern.Group.NonCapturing
-
Returns the value of the
contentrecord component. - contentEquals(String) - Method in class com.google.mu.util.Substring.Match
-
Equivalent to
toString().equals(str)but without copying the characters into a temporary string. - count() - Method in class com.google.mu.util.stream.BiStream
-
Returns the count of pairs in this stream.
- counting() - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a counting
BiCollectorthat counts the number of input entries. - countingBy(Function<? super T, ? extends B>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that counts the number of occurrences for each unique bucket as determined by the
bucketerfunction. - countingDistinct() - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a counting
BiCollectorthat counts the number of distinct input entries according toObject.equals(java.lang.Object)for both keys and values. - createExecutor() - Method in class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin
-
Subclasses override this method to create the executor that runs all structured concurrency fanout tasks.
- crossJoining(Stream<R>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat will pair each input element with each element fromrightinto a newBiStream. - Csv - Class in com.google.common.labs.csv
-
An easy-to-use CSV parser with lazy parsing support and friendly error reporting.
- CSV - Static variable in class com.google.common.labs.csv.Csv
-
Default CSV parser.
- cut(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a stream of
Matchobjects from the inputstringas demarcated by this delimiter pattern. - CyclicGraphException - Exception Class in com.google.mu.util.graph
-
Thrown when running into any unexpected cycle during traversal.
- CyclicGraphException(List<?>) - Constructor for exception class com.google.mu.util.graph.CyclicGraphException
- cyclicPath() - Method in exception class com.google.mu.util.graph.CyclicGraphException
-
Returns the cyclic path with the last node being the entry point of the cycle.
D
- DateTimeFormats - Class in com.google.mu.time
-
Utility class with one-stop
InstantandZonedDateTimeparsing for all common date time strings, without needing aDateTimeFormatter: - debugString() - Method in class com.google.mu.safesql.SafeSql
-
Returns a query string with the parameter values embedded for easier debugging (logging, testing, golden file etc.).
- defaultValue(Object) - Method in class com.google.mu.protobuf.util.Structor
-
Called by
Structor.toValue(java.lang.Object)whenobjectcannot be converted. - define(Function<? super Parser<T>, ? extends Parser<? extends T>>) - Static method in class com.google.common.labs.parse.Parser
-
Defines a simple recursive grammar without needing to explicitly forward-declare a
Parser.Rule. - definedAs(Parser<S>) - Method in class com.google.common.labs.parse.Parser.Rule
-
Define this rule as
parserand returns it. - delimitedBy(char) - Static method in interface com.google.mu.collect.Selection
-
Returns a parser for
Selection, using thedelimitercharacter to delimit explicit selection elements. - delimitedBy(Substring.Pattern) - Static method in interface com.google.mu.collect.Selection
-
Returns a parser for
Selection, using thedelimiterpatter to delimit explicit selection elements. - delimitedBy(String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional parser repeated and delimited by
delimiter. - delimitedBy(String, Collector<? super T, ?, R>) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional parser repeated and delimited by
delimiter. - Deprecated (requires mug-guava artifact) - Search tag in package com.google.guava.labs.safesql
- Section
- detectCycleFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.GraphWalker
-
Walking from
startNodes, detects if the graph has any cycle. - detectCycleFrom(N...) - Method in class com.google.mu.util.graph.GraphWalker
-
Walking from
startNodes, detects if the graph has any cycle. - dice(Spliterator<? extends T>, int) - Static method in class com.google.mu.util.stream.MoreStreams
-
Dices
spliteratorinto smaller chunks each with up tomaxSizeelements. - dice(Stream<? extends T>, int) - Static method in class com.google.mu.util.stream.MoreStreams
-
Dices
streaminto smaller chunks each with up tomaxSizeelements. - DIGIT - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- DIGIT - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- digits() - Static method in class com.google.common.labs.parse.Parser
-
One or more regex
\d+characters. - distance() - Method in class com.google.mu.util.graph.ShortestPath
-
Returns the non-negative distance between the starting node and the
last nodeof this path. - distinct() - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of only the distinct pairs (according toObject.equals(Object)for both key and value). - DOC_ABSOLUTE_END - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
- DOC_BEGINNING - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
- DOC_END - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
E
- element() - Method in record class com.google.common.labs.regex.RegexPattern.Quantified
-
Returns the value of the
elementrecord component. - elements() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.AnyOf
-
Returns the value of the
elementsrecord component. - elements() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.NoneOf
-
Returns the value of the
elementsrecord component. - elements() - Method in record class com.google.common.labs.regex.RegexPattern.Sequence
-
Returns the value of the
elementsrecord component. - empty() - Static method in class com.google.mu.util.BiOptional
-
Returns an empty
BiOptionalinstance. - empty() - Static method in class com.google.mu.util.stream.BiStream
-
Returns an empty
BiStream. - EMPTY - Static variable in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.An empty query string.
- EMPTY - Static variable in class com.google.mu.bigquery.ParameterizedQuery
-
An empty query
- EMPTY - Static variable in class com.google.mu.safesql.SafeSql
-
An empty SQL
- EMPTY - Static variable in class com.google.mu.spanner.ParameterizedQuery
-
An empty SQL
- end() - Method in record class com.google.common.labs.regex.RegexPattern.CharRange
-
Returns the value of the
endrecord component. - END - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
- END - Static variable in class com.google.mu.util.Substring
-
Patternthat matches the empty substring at the end of the input string. - endsWith(String) - Method in class com.google.mu.util.Substring.Match
-
Returns true if this match ends with the given
suffix. - enumConstants(Class<? extends Enum<?>>) - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
Returns the stream of enum constants defined by
enumClass, with the names wrapped in ParameterizedQuery. - equals(Object) - Method in class com.google.common.labs.parse.CharacterSet
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Alternation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.CharacterProperty.Negated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.AnyOf
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.NoneOf
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.CharRange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Group.Capturing
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Group.Named
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Group.NonCapturing
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Literal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.LiteralChar
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookahead
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookbehind
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookahead
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookbehind
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Quantified
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.Sequence
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.common.labs.regex.RegexPattern.UnicodeProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.google.guava.labs.collect.InsertionPoint
- equals(Object) - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.
- equals(Object) - Method in class com.google.mu.bigquery.ParameterizedQuery
- equals(Object) - Method in interface com.google.mu.collect.Selection
-
Returns true if
objis an equivalentSelectioninstance. - equals(Object) - Method in class com.google.mu.safesql.SafeSql
- equals(Object) - Method in class com.google.mu.spanner.ParameterizedQuery
- equals(Object) - Method in class com.google.mu.util.Ordinal
- equals(Object) - Method in class com.google.mu.util.Substring.Prefix
- equals(Object) - Method in class com.google.mu.util.Substring.Suffix
- exact() - Method in class com.google.guava.labs.collect.InsertionPoint
-
If this represents an exact point (not between two adjacent values), returns the element at the point; else returns empty.
- EXCLUSIVE - Enum constant in enum class com.google.mu.util.Substring.BoundStyle
-
The match doesn't include the bound
F
- FALSE - Static variable in class com.google.mu.protobuf.util.MoreValues
-
The
Valuefor booleanfalse. - Fanout - Class in com.google.mu.util.concurrent
-
Supports structured concurrency for the common case where all concurrent operations are required (as if you are running them sequentially).
- Fanout.Join2<A,
B, - Interface in com.google.mu.util.concurrentR, X> -
Function to join two results from concurrent computation.
- Fanout.Join3<A,
B, - Interface in com.google.mu.util.concurrentC, R, X> -
Function to join three results from concurrent computation.
- Fanout.Join4<A,
B, - Interface in com.google.mu.util.concurrentC, D, R, X> -
Function to join four results from concurrent computation.
- Fanout.Join5<A,
B, - Interface in com.google.mu.util.concurrentC, D, E, R, X> -
Function to join five results from concurrent computation.
- filter(BiPredicate<? super A, ? super B>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present and matches
predicate, return thisBiOptional instance. - filter(BiPredicate<? super A, ? super B>) - Method in interface com.google.mu.util.Both
- filter(BiPredicate<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Filter this stream to only pairs matching
predicate. - filterKeys(Predicate<? super K>) - Method in class com.google.mu.util.stream.BiStream
-
Filter this stream to only pairs whose key matches
predicate. - filterValues(Predicate<? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Filter this stream to only pairs whose value matches
predicate. - find(K) - Method in class com.google.guava.labs.collect.BinarySearch.Table
-
Searches for
targetand returns the result if found; or else returns empty. - findAny() - Method in class com.google.mu.util.stream.BiStream
-
Returns any pair from this stream, or
BiOptional.empty()if the stream is empty. - findFirst() - Method in class com.google.mu.util.stream.BiStream
-
Returns the first pair from this stream, or
BiOptional.empty()if the stream is empty. - findFirstElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least 3 elements, passes the first 3 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findFirstElements(Collection<T>, MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least 4 elements, passes the first 4 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findFirstElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least 5 elements, passes the first 5 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findFirstElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least 6 elements, passes the first 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findFirstElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least 7 elements, passes the first 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findFirstElements(Collection<T>, MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least 8 elements, passes the first 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findFirstElements(Collection<T>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas at least two elements, passes the first two elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly 3 elements, passes the 3 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly 4 elements, passes the 4 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly 5 elements, passes the 5 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly 6 elements, passes the 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly 7 elements, passes the 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly 8 elements, passes the 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - findOnlyElements(Collection<T>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
-
If
collectionhas exactly two elements, passes the two elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - finisher() - Method in class com.google.mu.util.stream.Joiner
- first() - Static method in class com.google.mu.util.Ordinal
-
Returns the first ordinal.
- first(char) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence ofcharacter. - first(CharPredicate) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first character found bycharMatcher. - first(String) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence ofstr. - first(Pattern) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence ofregexPattern. - first(Pattern, int) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence ofregexPatternand then selects the capturing group identified bygroup. - firstOccurrence() - Static method in class com.google.mu.util.Substring
-
Returns a
Collectorthat collects the input candidateSubstring.Patternand reults in a pattern that matches whichever that occurs first in the input string. - FixedSizeCollector<T,
A, - Class in com.google.mu.util.streamR> -
A collector that expects a fixed number of input elements.
- flatMap(BiFunction<? super A, ? super B, ? extends Optional<? extends T>>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present, apply the
BiOptional-bearingmapperto them, and return that result. - flatMap(BiFunction<? super K, ? super V, ? extends BiStream<? extends K2, ? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each pair in this stream to zero or more pairs in another
BiStream. - flatMap(Function<? super T, Parser<R>>) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, applies function
fto get the next parser to match in sequence. - flatMap(Optional<T>, Function<? super T, ? extends BiOptional<? extends A, ? extends B>>) - Static method in class com.google.mu.util.BiOptional
-
Maps the value contained in
optionalto aBiOptionalusingmapper, or else returns empty. - flatMapKeys(BiFunction<? super K, ? super V, ? extends Stream<? extends K2>>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each key to zero or more keys of type
K2. - flatMapKeys(Function<? super K, ? extends Stream<? extends K2>>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each key to zero or more keys of type
K2. - flatMapping(BiFunction<? super K, ? super V, ? extends BiStream<? extends K1, ? extends V1>>, BiCollector<K1, V1, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first flattens the input pair usingflattenerand then collects the result pairs usingdownstreamcollector. - flatMapping(BiFunction<? super K, ? super V, ? extends Stream<? extends T>>, Collector<T, ?, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first flattens the input pair usingflattenerand then collects the results usingdownstreamcollector. - flatMapping(Function<? super T, ? extends BiStream<? extends K, ? extends V>>, BiCollector<? super K, ? super V, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Similar but slightly different than
Collectors.flatMapping(java.util.function.Function<? super T, ? extends java.util.stream.Stream<? extends U>>, java.util.stream.Collector<? super U, A, R>), returns aCollectorthat first flattens the input stream of pairs (as opposed to single elements) and then collects the flattened pairs with thedownstreamBiCollector. - flatMapToDouble(BiFunction<? super K, ? super V, ? extends DoubleStream>) - Method in class com.google.mu.util.stream.BiStream
-
Maps a single pair to zero or more
doubles. - flatMapToInt(BiFunction<? super K, ? super V, ? extends IntStream>) - Method in class com.google.mu.util.stream.BiStream
-
Maps a single pair to zero or more
ints. - flatMapToLong(BiFunction<? super K, ? super V, ? extends LongStream>) - Method in class com.google.mu.util.stream.BiStream
-
Maps a single pair to zero or more
longs. - flatMapToObj(BiFunction<? super K, ? super V, ? extends Stream<? extends T>>) - Method in class com.google.mu.util.stream.BiStream
-
Maps a single pair to zero or more objects of type
T. - flatMapValues(BiFunction<? super K, ? super V, ? extends Stream<? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each value to zero or more values of type
V2. - flatMapValues(Function<? super V, ? extends Stream<? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each value to zero or more values of type
V2. - flatteningMaps(BiCollector<K, V, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a
Collectorthat flattens the inputMapentries and collects them using thedownstreamBiCollector. - flatteningToImmutableListMultimap(Function<? super T, ? extends Stream<? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat first flattens each value of the input pair withflattener, and then collects the flattened pairs into anImmutableListMultimap. - flatteningToImmutableSetMultimap(Function<? super T, ? extends Stream<? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat first flattens each value of the input pair withflattener, and then collects the flattened pairs into anImmutableSetMultimap. - flatteningToStruct() - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a
Collectorthat flattens all fields from the inputStructs and collects them into the finalStruct. - floor() - Method in class com.google.guava.labs.collect.InsertionPoint
-
Returns the floor element such that this insertion point is immediately
>=the floor. - followedBy(Parser<?>) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, continue to match
suffix. - followedBy(Parser.OrEmpty) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional (or zero-or-more) parser may optionally be followed by
suffix. - followedBy(Parser.OrEmpty) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, continue to match the optional
suffix. - followedBy(RegexPattern) - Method in interface com.google.common.labs.regex.RegexPattern
-
Returns a pattern that matches
thisonly if it is followed bysuffix. - followedBy(String) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, continue to match
suffix. - followedBy(String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional (or zero-or-more) parser must be followed by non-empty
suffix. - followedBy(String) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent pattern except it requires the matched substring be immediately followed by the
lookaheadstring. - followedByOrEof(Parser<?>) - Method in class com.google.common.labs.parse.Parser
-
Specifies that the matched pattern must be either followed by
suffixor EOF. - forDoubles() - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableover all finite double values (exceptDouble.NaN,Double.NEGATIVE_INFINITYandDouble.POSITIVE_INFINITY). - forDoubles(Range<Double>) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Similar to
BinarySearch.forInts(Range), but returns aBinarySearch.Tableover the givenrangeofdoubleprecision numbers. - forEach(BiConsumer<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Performs
actionfor each pair in this stream. - forEachOrdered(BiConsumer<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Performs
actionfor each pair in this stream, in order. - forInts() - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableover all integers. - forInts(Range<Integer>) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableover the givenrange. - forLongs() - Static method in class com.google.guava.labs.collect.BinarySearch
- forLongs(Range<Long>) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Similar to
BinarySearch.forInts(Range), but returns aBinarySearch.Tableover the givenrangeoflongintegers. - format(Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 1 placeholder args.
- format(Object...) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using
args. - format(Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 2 placeholder args.
- format(Object, Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 3 placeholder args.
- format(Object, Object, Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 4 placeholder args.
- format(Object, Object, Object, Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 5 placeholder args.
- format(Object, Object, Object, Object, Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 6 placeholder args.
- format(Object, Object, Object, Object, Object, Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 7 placeholder args.
- format(Object, Object, Object, Object, Object, Object, Object, Object) - Method in class com.google.mu.util.StringFormat
-
Returns the string formatted with placeholders filled using the provided 8 placeholder args.
- formatOf(String) - Static method in class com.google.mu.time.DateTimeFormats
-
Infers and returns the
DateTimeFormatterbased onexample. - FRAMEWORK_STANDARD - Enum constant in enum class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin.Priority
-
For server framework authors to implement a framework-configured standard plugin.
- from(CharSequence) - Method in class com.google.mu.util.Substring.Pattern
-
Matches this pattern against
string, returning the matched substring if successful, orempty()otherwise. - from(CharSequence) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Applies this pattern against
stringand returns a stream of each iteration. - from(String, Object...) - Static method in class com.google.guava.labs.safesql.GoogleSql
-
Deprecated.Much like
SafeQuery.of(java.lang.String, java.lang.Object...), but with additional GoogleSQL translation rules. - from(Collection<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof the key value pairs fromentries. - from(Collection<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
-
Deprecated.Use
biStream(User::id, users)to createBiStream<UserId, User>, or, usebiStream(users, User::getAccount)to createBiStream<User, Account>. Then useBiStream.mapKeys(java.util.function.BiFunction<? super K, ? super V, ? extends K2>)orBiStream.mapValues(java.util.function.BiFunction<? super K, ? super V, ? extends V2>)to apply further mappings. - from(Map<K, V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof the entries inmap. - from(Optional<T>) - Static method in class com.google.mu.util.BiOptional
-
If
optionalis present with valuev, adapts it toBiOptionalcontaining values(v, v). - from(Stream<? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof the pairs fromstream. - from(Stream<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
-
Deprecated.Use
biStream(User::id, users)to createBiStream<UserId, User>, or, usebiStream(users, User::getAccount)to createBiStream<User, Account>. Then useBiStream.mapKeys(java.util.function.BiFunction<? super K, ? super V, ? extends K2>)orBiStream.mapValues(java.util.function.BiFunction<? super K, ? super V, ? extends V2>)to apply further mappings. - From Apache StringUtils to Substring - Search tag in class com.google.mu.util.Substring
- Section
- fromEntries(Stream<E>) - Static method in class com.google.mu.util.stream.BiStream
- fromIndex(int) - Static method in class com.google.mu.util.Ordinal
-
Returns instance corresponding to the
zeroBasedindex. - fromValue(ValueOrBuilder) - Static method in class com.google.mu.protobuf.util.MoreValues
-
Unwraps
value. - fullString() - Method in class com.google.mu.util.Substring.Match
-
Return the full string being matched against.
G
- generate(Iterable<? extends T>) - Method in class com.google.mu.util.stream.Iteration
-
Generates all of
elementsto the result stream. - generate(L, R) - Method in class com.google.mu.util.stream.BiIteration
-
Deprecated.Generates the pair of
leftandrightto the resultBiStream. - generate(T) - Method in class com.google.mu.util.stream.Iteration
-
Generates
elementto the result stream. - generate(T, Function<? super T, ? extends Stream<? extends T>>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Returns a Stream produced by iterative application of
stepto the initialseed, producing a Stream consisting of seed, elements of step(seed), elements of step(x) for each x in step(seed), etc. - get() - Method in interface com.google.mu.function.CheckedSupplier
- get(int) - Method in class com.google.mu.collect.Chain
- get(List<? extends K>) - Method in class com.google.mu.collect.PrefixSearchTable
-
Searches the table for the longest prefix match of
compoundKey. - getAll(List<? extends K>) - Method in class com.google.mu.collect.PrefixSearchTable
-
Searches the table for prefixes of
compoundKeyand returns a lazy BiStream of all mappings in ascending order of prefix length. - getFirst() - Method in class com.google.mu.collect.Chain
-
Returns the first element.
- getSourceIndex() - Method in exception class com.google.common.labs.parse.Parser.ParseException
-
Returns the index in the source where this error was detected.
- GoogleSql - Class in com.google.guava.labs.safesql
-
Deprecated.You most likely need
SafeSqlto work with JDBC - GRAPH - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- GraphWalker<N> - Class in com.google.mu.util.graph
-
Walker for graph topology (see
Walker.inGraph()). - groupConsecutive(Stream<T>, BiPredicate<? super T, ? super T>, BinaryOperator<T>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Groups consecutive elements from
streamlazily. - groupConsecutive(Stream<T>, BiPredicate<? super T, ? super T>, Collector<? super T, ?, R>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Groups consecutive elements from
streamlazily. - groupConsecutive(Stream<T>, Function<? super T, ?>, BinaryOperator<T>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Groups consecutive elements from
streamlazily. - groupConsecutive(Stream<T>, Function<? super T, ?>, Collector<? super T, ?, R>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Groups consecutive elements from
streamlazily. - groupConsecutiveBy(BiFunction<? super K, ? super V, ? extends G>, BiCollector<? super K, ? super V, R>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of consecutive groupings from this stream. - groupConsecutiveBy(Function<? super K, ? extends G>, BinaryOperator<V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a lazy
BiStreamof the consecutive groups of pairs from this stream. - groupConsecutiveBy(Function<? super K, ? extends G>, Collector<? super V, A, ? extends R>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of consecutive groupings from this stream. - groupConsecutiveIf(BiStream.Partitioner<? super K, ? super V>, BiCollector<? super K, ? super V, R>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a lazy
Streamof the consecutive groups of values from this stream. - groupConsecutiveIf(BiPredicate<? super K, ? super K>, BinaryOperator<V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a lazy
Streamof the consecutive groups of values from this stream. - groupConsecutiveIf(BiPredicate<? super K, ? super K>, Collector<? super V, A, R>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a lazy
Streamof the consecutive groups of values from this stream. - groupingBy(BiFunction<? super C, ? super V, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Groups input pairs by
classifierand collects entries belonging to the same group into a nestedBiStream. - groupingBy(BiFunction<? super K, ? super V, ? extends G>, BiCollector<? super K, ? super V, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Groups input entries by
classifierand collects entries belonging to the same group usinggroupCollector. - groupingBy(Function<? super K, ? extends G>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Groups input pairs by
classifierand reduces values belonging to the same group usinggroupReducer. - groupingBy(Function<? super K, ? extends G>, Collector<? super V, ?, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Groups input entries by
classifierand collects values belonging to the same group usinggroupCollector. - groupingBy(Function<? super T, ? extends K>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat groups the input elements byclassifierand collects the values mapping to the same key into aList. - groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat groups the input elements byclassifierand reduces the values mapping to the same key usingmapperthenreducer. - groupingBy(Function<? super T, ? extends K>, Collector<? super T, ?, V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat groups the input elements byclassifierand collects the values mapping to the same key usingvalueCollector. - groupingBy(Function<? super V, ? extends K>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat groups the input elements byclassifierand reduces the values mapping to the same key usingreducer. - groupingByEach(Function<? super T, ? extends Stream<? extends K>>, Function<? super T, ? extends V>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorgrouping input elements by each of the multiple keys returned by thekeysFunction. - groupingByEach(Function<? super T, ? extends Stream<? extends K>>, Function<? super T, ? extends V>, Collector<V, ?, G>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorgrouping input elements by each of the multiple keys returned by thekeysFunction. - groupingByEach(Function<? super T, ? extends Stream<? extends K>>, Collector<T, ?, V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorgrouping input elements by each of the multiple keys returned by thekeysFunction. - GuavaCollectors - Class in com.google.guava.labs.collect
-
Guava-specific Collectors and BiCollectors.
H
- has(T) - Method in interface com.google.mu.collect.Selection
-
Returns true if
candidateis in this selection. - hashCode() - Method in class com.google.common.labs.parse.CharacterSet
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Alternation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterProperty.Negated
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.AnyOf
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.NoneOf
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.CharRange
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Capturing
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Named
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Group.NonCapturing
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Literal
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.LiteralChar
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookahead
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookbehind
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookahead
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookbehind
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Quantified
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.Sequence
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.common.labs.regex.RegexPattern.UnicodeProperty
-
Returns a hash code value for this object.
- hashCode() - Method in class com.google.guava.labs.collect.InsertionPoint
- hashCode() - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.
- hashCode() - Method in class com.google.mu.bigquery.ParameterizedQuery
- hashCode() - Method in interface com.google.mu.collect.Selection
- hashCode() - Method in class com.google.mu.safesql.SafeSql
- hashCode() - Method in class com.google.mu.spanner.ParameterizedQuery
- hashCode() - Method in class com.google.mu.util.Ordinal
- hashCode() - Method in class com.google.mu.util.Substring.Prefix
- hashCode() - Method in class com.google.mu.util.Substring.Suffix
- hideFrom(String) - Method in class com.google.mu.util.Substring.Prefix
-
Returns a view of
sourcewith this prefix hidden away if present, or else returnssourceas is. - hideFrom(String) - Method in class com.google.mu.util.Substring.Suffix
-
Returns a view of
sourcewith this suffix hidden away if present, or else returnssourceas is.
I
- ifPresent(BiOptional<A, B>, CheckedBiConsumer<? super A, ? super B, E>) - Static method in class com.google.mu.util.Optionals
-
Runs
actionif the pair is present. - ifPresent(BiConsumer<? super A, ? super B>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present, invoke
consumerwith them. - ifPresent(Optional<A>, Optional<B>, CheckedBiConsumer<? super A, ? super B, E>) - Static method in class com.google.mu.util.Optionals
-
Invokes
consumerif bothleftandrightare present. - ifPresent(Optional<T>, CheckedConsumer<? super T, E>) - Static method in class com.google.mu.util.Optionals
-
Invokes
consumerifoptionalis present. - ifPresent(OptionalDouble, CheckedDoubleConsumer<E>) - Static method in class com.google.mu.util.Optionals
-
Invokes
consumerifoptionalis present. - ifPresent(OptionalInt, CheckedIntConsumer<E>) - Static method in class com.google.mu.util.Optionals
-
Invokes
consumerifoptionalis present. - ifPresent(OptionalLong, CheckedLongConsumer<E>) - Static method in class com.google.mu.util.Optionals
-
Invokes
consumerifoptionalis present. - immediatelyBetween(String, Substring.BoundStyle, String, Substring.BoundStyle) - Method in class com.google.mu.util.Substring.Pattern
-
Similar to
Substring.Pattern.immediatelyBetween(String, String), but allows including thelookbehindand/orlookaheadinclusive in the match. - immediatelyBetween(String, String) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser immediately enclosed between
prefixandsuffix(no skippable characters as specified byparseSkipping()in between). - immediatelyBetween(String, String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
The current optional (or zero-or-more) parser must be immediately enclosed between non-empty
prefixandsuffix(no skippable characters as specified byparseSkipping()in between). - immediatelyBetween(String, String) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent pattern except it requires the matched substring be immediately preceded by the
lookbehindstring and immediately followed by theafterstring. - in(String) - Method in class com.google.mu.util.Substring.Pattern
-
Matches this pattern against
string, returning aMatchif successful, orempty()otherwise. - in(String, int) - Method in class com.google.mu.util.Substring.Pattern
-
Matches this pattern against
stringstarting from the character atfromIndex, returning aMatchif successful, orempty()otherwise. - inBinaryTree(UnaryOperator<N>, UnaryOperator<N>) - Static method in class com.google.mu.util.graph.Walker
-
Returns a
BinaryTreeWalkerfor walking in the binary tree topology as observed bygetLeftandgetRightfunctions. - INCLUSIVE - Enum constant in enum class com.google.mu.util.Substring.BoundStyle
-
The match includes the bound
- index() - Method in class com.google.mu.util.Substring.Match
-
Return 0-based index of this match in
Substring.Match.fullString(). - indexesFrom(int) - Static method in class com.google.mu.util.stream.MoreStreams
-
Returns an infinite
Streamstarting fromfirstIndex. - indexesFrom(long) - Static method in class com.google.mu.util.stream.MoreStreams
-
Returns an infinite index stream starting from
firstIndex. - indexingBy(Function<? super V, ? extends K>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
Collectorthat collects to anImmutableMapwith the input elements uniquely indexed by the return value ofindexingFunction. - inGraph(Function<? super N, ? extends Stream<? extends N>>) - Static method in class com.google.mu.util.graph.Walker
-
Returns a
Walkerto walk the graph topology (possibly with cycles) as observed by thefindSuccessorsfunction, which finds successors of any given graph node. - inGraph(Function<? super N, ? extends Stream<? extends N>>, Predicate<? super N>) - Static method in class com.google.mu.util.graph.Walker
-
Similar to
Walker.inGraph(Function), returns aWalkerthat can be used to traverse a graph of nodes. - inOrder(Optional<? extends A>, Function<? super A, ? extends Optional<? extends B>>) - Static method in class com.google.mu.util.Optionals
-
Similar to
Optionals.both(java.util.Optional<? extends A>, java.util.Optional<? extends B>), but only evaluatesstep2ifstep1is present. - inOrder(Optional<? extends A>, Supplier<? extends Optional<? extends B>>) - Static method in class com.google.mu.util.Optionals
-
Similar to
Optionals.both(java.util.Optional<? extends A>, java.util.Optional<? extends B>), but only evaluatesstep2ifstep1is present. - inOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.BinaryTreeWalker
-
Returns a lazy stream for in-order traversal from
roots. - inOrderFrom(N...) - Method in class com.google.mu.util.graph.BinaryTreeWalker
-
Returns a lazy stream for in-order traversal from
roots. - inParallel(Function<? super I, ? extends O>) - Method in class com.google.mu.util.concurrent.Parallelizer
- inSequence() - Static method in interface com.google.common.labs.regex.RegexPattern
-
A collector that collects the input
RegexPatternas a sequence. - InsertionPoint<C> - Class in com.google.guava.labs.collect
-
Represents a result of
BinarySearch. - insertionPointAfter(K) - Method in class com.google.guava.labs.collect.BinarySearch.Table
-
Finds the insertion point immediately after the last element that's less than or equal to the target.
- insertionPointBefore(K) - Method in class com.google.guava.labs.collect.BinarySearch.Table
-
Finds the insertion point immediately before the first element that's greater than or equal to the target.
- insertionPointFor(K) - Method in class com.google.guava.labs.collect.BinarySearch.Table
-
Finds the
InsertionPointiftargetwere to be added in order. - inSortedArray(int[]) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for array element indexes in the given sorted intarray. - inSortedArray(long[]) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for array element indexes in the given sorted longarray. - inSortedArrayWithTolerance(double[], double) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for array element indexes in the given sorted doublearray. - inSortedList(List<? extends E>) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for element indexes in the given sortedlist. - inSortedList(List<? extends E>, Comparator<? super E>) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for element indexes in the given sortedlistaccording tocomparator. - inSortedList(List<? extends E>, Function<? super E, ? extends Q>) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for element indexes in the givenlistsorted by thesortByfunction. - inSortedListWithTolerance(List<Double>, double) - Static method in class com.google.guava.labs.collect.BinarySearch
-
Returns a
BinarySearch.Tableto search for element indexes in the given list of sorteddoublevalues. - interpolate(List<String>, BiStream<Substring.Match, Object>) - Method in interface com.google.mu.util.StringFormat.Interpolator
-
Interpolates with
fragmentsof sizeN + 1andplaceholdersof sizeN. - intersect(Selection<T>) - Method in interface com.google.mu.collect.Selection
-
Returns an intersection of this selection and
that. - intersect(Set<? extends T>) - Method in interface com.google.mu.collect.Selection
-
Returns an intersection of this selection and the elements from
set. - into(C) - Method in interface com.google.mu.util.stream.BiAccumulator
-
Returns a
BiConsumerthat accumulates pairs intocontainer. - inTree(Function<? super N, ? extends Stream<? extends N>>) - Static method in class com.google.mu.util.graph.Walker
-
Returns a
Walkerto walk the tree topology (no cycles) as observed by thefindChildrenfunction, which finds children of any given tree node. - inverse() - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamwhere each pair is a pair from this stream with the key and value swapped. - inverse(BiCollector<B, A, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a BiCollector that inverses the input pairs of
(a, b)into(b, a)before passing it todownstreamcollector. - is(char) - Static method in interface com.google.mu.util.CharPredicate
-
Returns a CharPredicate for the range of characters:
[from, to]. - isAboveAll() - Method in class com.google.guava.labs.collect.InsertionPoint
-
Returns true if this is a point above the max possible element in the domain.
- isBelowAll() - Method in class com.google.guava.labs.collect.InsertionPoint
-
Returns true if this is a point below the min possible element in the domain.
- isEmpty() - Method in class com.google.mu.collect.Chain
-
Always false.
- isEmpty() - Method in interface com.google.mu.collect.Selection
-
Returns true if this is a
limitedselection with zero elements included. - isEmpty() - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match is empty.
- isFollowedBy(CharPredicate) - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match is immediately followed by a character that matches the
lookaheadpredicate. - isFollowedBy(String) - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match is immediately followed by the
lookaheadstring. - isImmediatelyBetween(String, String) - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match immediately follows the
lookbehindstring and is immediately followed by thelookaheadstring. - isIn(CharSequence) - Method in class com.google.mu.util.Substring.Prefix
-
Returns true if
sourcestarts with this prefix. - isIn(CharSequence) - Method in class com.google.mu.util.Substring.Suffix
-
Returns true if
sourceends with this suffix. - isNot(char) - Static method in interface com.google.mu.util.CharPredicate
-
Returns a CharPredicate that matches except
ch. - isNotEmpty() - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match isn't empty.
- isPossessive() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Returns the value of the
isPossessiverecord component. - isPossessive() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
-
Returns the value of the
isPossessiverecord component. - isPossessive() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Returns the value of the
isPossessiverecord component. - isPossessive() - Method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- isPrecededBy(CharPredicate) - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match immediately follows a character that matches the
lookbehindpredicate. - isPrecededBy(String) - Method in class com.google.mu.util.Substring.Match
-
Returns true if the match immediately follows the
lookbehindstring. - isPrefixOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
-
Returns true if
sequencestarts with a character that matches this predicate. - isPresent() - Method in class com.google.mu.util.BiOptional
-
Returns true if the pair of values is present.
- isReluctant() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Returns the value of the
isReluctantrecord component. - isReluctant() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
-
Returns the value of the
isReluctantrecord component. - isReluctant() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Returns the value of the
isReluctantrecord component. - isReluctant() - Method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- isSuffixOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
-
Returns true if
sequenceends with a character that matches this predicate. - iterate() - Method in class com.google.mu.util.stream.BiIteration
-
Deprecated.Starts iteration over the
yieldedpairs. - iterate() - Method in class com.google.mu.util.stream.Iteration
-
Starts iteration over the
generatedelements. - iterateOnce(Stream<T>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Iterates through
streamonly once. - iterateThrough(Stream<? extends T>, CheckedConsumer<? super T, E>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Iterates through
streamsequentially and passes each element toconsumerwith exceptions propagated. - Iteration<T> - Class in com.google.mu.util.stream
-
Transforms eager, recursive algorithms into lazy streams.
- Iteration() - Constructor for class com.google.mu.util.stream.Iteration
- Iteration.Continuation - Interface in com.google.mu.util.stream
-
Encapsulates recursive iteration or a lazy block of code with side-effect.
- iterator() - Method in class com.google.mu.collect.Chain
J
- Java 24 structured concurrency and gatherers (requires mug-concurrent24 artifact) - Search tag in package com.google.mu.util.concurrent24
- Section
- javaStyleName() - Method in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
-
Returns alternative name for this class, such as "lower" for "Lower".
- jobConfiguration() - Method in class com.google.mu.bigquery.ParameterizedQuery
-
Returns the
QueryJobConfigurationthat can be sent to BigQuery. - join(A, B) - Method in interface com.google.mu.util.concurrent.Fanout.Join2
- join(A, B, C) - Method in interface com.google.mu.util.concurrent.Fanout.Join3
- join(A, B, C, D) - Method in interface com.google.mu.util.concurrent.Fanout.Join4
- join(A, B, C, D, E) - Method in interface com.google.mu.util.concurrent.Fanout.Join5
- join(Object, Object) - Method in class com.google.mu.util.stream.Joiner
-
Joins
landrtogether. - join(Collection<?>) - Method in class com.google.mu.util.stream.Joiner
-
Joins elements from
collection. - Joiner - Class in com.google.mu.util.stream
-
A joiner (and
Collector) that joins strings. - joining(String) - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.Returns a collector that can join
SafeQueryobjects usingdelimas the delimiter. - joining(String) - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
Returns a collector that joins ParameterizedQuery elements using
delimiter. - joining(String) - Static method in class com.google.mu.safesql.SafeSql
-
Returns a collector that joins SafeSql elements using
delimiter. - joining(String) - Static method in class com.google.mu.spanner.ParameterizedQuery
-
Returns a collector that joins ParameterizedQuery elements using
delimiter.
K
- keys() - Method in class com.google.mu.util.stream.BiStream
-
Returns a
Streamconsisting of only the keys from each pair in this stream.
L
- last(char) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the last occurrence ofcharacter. - last(CharPredicate) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the last character found bycharMatcher. - last(String) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the last occurrence ofstr. - leading(CharPredicate) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches from the beginning of the input string, a non-empty sequence of leading characters identified bymatcher. - leftAssociative(Parser<? extends BinaryOperator<T>>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a left-associative infix operator with the given precedence to the table.
- leftAssociative(String, BinaryOperator<T>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a left-associative infix operator with the given precedence to the table.
- length() - Method in class com.google.mu.util.Substring.Match
-
Returns the length of the matched substring.
- length() - Method in class com.google.mu.util.Substring.Prefix
-
Returns the length of this prefix.
- length() - Method in class com.google.mu.util.Substring.Suffix
-
Returns the length of this suffix.
- limit(int) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the only the firstmaxSizepairs of this stream. - limit(int) - Method in class com.google.mu.util.Substring.Match
-
Returns an equivalent match with at most
maxChars. - limit(int) - Method in class com.google.mu.util.Substring.Pattern
-
Returns a
Patternthat's equivalent to this pattern except it only matches at mostmaxChars. - limited() - Method in interface com.google.mu.collect.Selection
- Limited(int, int, boolean, boolean) - Constructor for record class com.google.common.labs.regex.RegexPattern.Limited
-
Creates an instance of a
Limitedrecord class. - listIterator() - Method in class com.google.mu.collect.Chain
- listIterator(int) - Method in class com.google.mu.collect.Chain
- listValueOf(double...) - Static method in class com.google.mu.protobuf.util.MoreValues
-
Returns
ListValuewrappingvalues. - listValueOf(Struct...) - Static method in class com.google.mu.protobuf.util.MoreValues
-
Returns
ListValuewrappingvalues. - listValueOf(String...) - Static method in class com.google.mu.protobuf.util.MoreValues
-
Returns
ListValuewrappingvalues. - Literal(String) - Constructor for record class com.google.common.labs.regex.RegexPattern.Literal
-
Creates an instance of a
Literalrecord class. - LiteralChar(char) - Constructor for record class com.google.common.labs.regex.RegexPattern.LiteralChar
-
Creates an instance of a
LiteralCharrecord class. - literally(Parser<T>) - Static method in class com.google.common.labs.parse.Parser
-
Returns an equivalent parser that suppresses character skipping that's otherwise applied if
parseSkipping()orskipping()are called. - literally(Parser.OrEmpty) - Static method in class com.google.common.labs.parse.Parser
-
Specifies that the optional (or zero-or-more)
ruleshould be matched literally even ifparseSkipping()orskipping()is called. - locate(double, double, double) - Method in interface com.google.guava.labs.collect.BinarySearch.DoubleSearchTarget
-
Given a range of
[low..high]inclusively withmedianas the mid point of the binary search, locates the target. - locate(int, int, int) - Method in interface com.google.guava.labs.collect.BinarySearch.IntSearchTarget
-
Given a range of
[low..high]inclusively withmidas the middle point of the binary search, locates the target. - locate(long, long, long) - Method in interface com.google.guava.labs.collect.BinarySearch.LongSearchTarget
-
Given a range of
[low..high]inclusively withmidas the middle point of the binary search, locates the target. - Lookahead(RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookahead
-
Creates an instance of a
Lookaheadrecord class. - Lookbehind(RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookbehind
-
Creates an instance of a
Lookbehindrecord class. - LOWER - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
M
- map(BiFunction<? super A, ? super B, ? extends A2>, BiFunction<? super A, ? super B, ? extends B2>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present, apply
aMapperandbMapperto them, and if both results are non-null, return a newBiOptionalinstance containing the results. - map(BiFunction<? super A, ? super B, ? extends T>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present, apply
mapperto them, and if the result is non-null, return anOptionalcontaining it. - map(BiFunction<? super K, ? super V, ? extends Both<? extends K2, ? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the result pairs of applyingmapperto the pairs in thisBiStream. - map(BiFunction<? super K, ? super V, ? extends K2>, BiFunction<? super K, ? super V, ? extends V2>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the results of applyingkeyMapperandvalueMapperto the pairs in thisBiStream. - map(Function<? super A, ? extends A2>, Function<? super B, ? extends B2>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present, apply
aMapperandbMapperto each respectively, and if both results are non-null, return a newBiOptionalinstance containing the results. - map(Function<? super T, ? extends R>) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, returns the result of applying the given function to the match.
- map(T, T, T) - Method in interface com.google.mu.function.MapFrom3
- map(T, T, T, T) - Method in interface com.google.mu.function.MapFrom4
- map(T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom5
- map(T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom6
- map(T, T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom7
- map(T, T, T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom8
- MapFrom3<T,
R> - Interface in com.google.mu.function -
A 3-arg function of the signature of
(T, T, T) -> R. - MapFrom4<T,
R> - Interface in com.google.mu.function -
A 4-arg function of the signature of
(T, T, T, T) -> R. - MapFrom5<T,
R> - Interface in com.google.mu.function -
A 5-arg function of the signature of
(T, T, T, T, T) -> R. - MapFrom6<T,
R> - Interface in com.google.mu.function -
A 6-arg function of the signature of
(T, T, T, T, T, T) -> R. - MapFrom7<T,
R> - Interface in com.google.mu.function -
A 6-arg function of the signature of
(T, T, T, T, T, T, T) -> R. - MapFrom8<T,
R> - Interface in com.google.mu.function -
A 6-arg function of the signature of
(T, T, T, T, T, T, T, T) -> R. - mapIfPresent(BiFunction<? super K, ? super V, ? extends BiOptional<? extends K2, ? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the results of applyingmapperfunction to the pairs in thisBiStream. - mapKeys(BiFunction<? super K, ? super V, ? extends K2>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof pairs whose keys are the result of applyingkeyMapperto the key of each pair in thisBiStream, and whose values are unchanged. - mapKeys(Function<? super K, ? extends K2>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each key to another key of type
K2. - mapKeysIfPresent(BiFunction<? super K, ? super V, ? extends Optional<? extends K2>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof pairs whose keys are the result of applyingkeyMapperto each pair in thisBiStream, and whose values are unchanged. - mapKeysIfPresent(Function<? super K, ? extends Optional<? extends K2>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof pairs whose keys are the result of applyingkeyMapperto the key of each pair in thisBiStream, and whose values are unchanged. - mapKeysIfPresent(Map<? super K, ? extends K2>) - Method in class com.google.mu.util.stream.BiStream
-
Given
keyMappingthat maps the keys of typeKto elements of typeK2, returns aBiStreamof type<K2, V>. - mapping(BiFunction<? super K, ? super V, ? extends Both<? extends K1, ? extends V1>>, BiCollector<K1, V1, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first maps the input pair into another pair usingmapper. - mapping(BiFunction<? super K, ? super V, ? extends K1>, BiFunction<? super K, ? super V, ? extends V1>, BiCollector<K1, V1, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first maps the input pair usingkeyMapperandvalueMapperrespectively, then collects the results usingdownstreamcollector. - mapping(BiFunction<? super K, ? super V, ? extends T>, Collector<T, ?, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first maps the input pair usingmapperand then collects the results usingdownstreamcollector. - mapping(Function<? super F, ? extends T>, Collector<T, ?, T1>, Function<? super T1, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that uses
inputMapperfunction to transform each input, and finally usesoutputMapperto transform the output of the givencollector. - mapping(Function<? super K, ? extends K1>, Function<? super V, ? extends V1>, BiCollector<K1, V1, R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat first maps the input pair usingkeyMapperandvalueMapper, then collects the results using thedownstreamcollector. - mapping(Function<? super T, ? extends Both<? extends A, ? extends B>>, BiCollector<? super A, ? super B, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Analogous to
Collectors.mapping(), applies a mapping function to each input element before accumulation, except that themapperfunction returns a pair of elements, which are then accumulated by a BiCollector. - mapToDouble(ToDoubleBiFunction<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
- mapToInt(ToIntBiFunction<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
- mapToLong(ToLongBiFunction<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
- mapToObj(BiFunction<? super K, ? super V, ? extends T>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
Streamconsisting of the results of applyingmapperto each pair in thisBiStream. - mapToObjIfPresent(BiFunction<? super K, ? super V, ? extends Optional<? extends T>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
Streamconsisting of the results of applyingmapperto each pair in thisBiStream. - mapValues(BiFunction<? super K, ? super V, ? extends V2>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each value to another value of type
V2. - mapValues(Function<? super V, ? extends V2>) - Method in class com.google.mu.util.stream.BiStream
-
Maps each value to another value of type
V2. - mapValuesIfPresent(BiFunction<? super K, ? super V, ? extends Optional<? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof pairs whose values are the result of applyingvalueMapperto each pair in thisBiStream, and whose keys are unchanged. - mapValuesIfPresent(Function<? super V, ? extends Optional<? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof pairs whose values are the result of applyingvalueMapperto the value of each pair in thisBiStream, and whose keys are unchanged. - mapValuesIfPresent(Map<? super V, ? extends V2>) - Method in class com.google.mu.util.stream.BiStream
-
Given
valueMappingthat maps values of typeVto result values of typeV2, returns aBiStreamof type<K, V2>. - match(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Applies this pattern against
stringand returns a stream of each iteration. - match(String, int) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Applies this pattern against
stringstarting fromfromIndexand returns a stream of each iteration. - matches(String) - Method in class com.google.mu.util.StringFormat
-
Returns true if this format matches
inputentirely. - matches(BiPredicate<? super A, ? super B>) - Method in class com.google.mu.util.BiOptional
-
Returns true if the pair exists and satisfies the
conditionpredicate. - matches(BiPredicate<? super A, ? super B>) - Method in interface com.google.mu.util.Both
-
Returns true if the pair matches
condition. - matchesAllOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
-
Returns
trueif a character sequence contains only matching BMP characters. - matchesAnyOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
-
Returns
trueif a character sequence contains at least one matching BMP character. - matchesNoneOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
-
Returns
trueif a character sequence contains no matching BMP characters. - max() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
-
Returns the value of the
maxrecord component. - max() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Returns the value of the
maxrecord component. - MAX_VALUE - Static variable in class com.google.mu.util.Ordinal
-
The maximum ordinal.
- maxBy(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat finds the maximum pair according tokeyComparatorand thenvalueComparatorfor equal keys. - maxByKey(Comparator<? super K>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat finds the pair with the maximum key according tocomparator. - maxByValue(Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat finds the pair with the maximum value according tocomparator. - min() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Returns the value of the
minrecord component. - min() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Returns the value of the
minrecord component. - minBy(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat finds the minimum pair according tokeyComparatorand thenvalueComparatorfor equal keys. - minByKey(Comparator<? super K>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat finds the pair with the minimum key according tocomparator. - minByValue(Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat finds the pair with the minimum value according tocomparator. - minMax(Comparator<? super T>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects the minimum and maximum elements from the input elements.
- minus(Ordinal) - Method in class com.google.mu.util.Ordinal
-
Returns the distance between
thisandthat. - MoreCollections - Class in com.google.mu.collect
-
Utilities pertaining to
Collection. - MoreCollectors - Class in com.google.mu.util.stream
-
Static utilities pertaining to
Collectorin addition to relevant utilities in JDK and Guava. - MoreIterables - Class in com.google.mu.collect
-
Some additional utilities pertaining to
Iterable. - MoreStreams - Class in com.google.mu.util.stream
-
Static utilities pertaining to
Streamin addition to relevant utilities in JDK and Guava. - MoreStructs - Class in com.google.mu.protobuf.util
-
Additional utilities to help create
Structmessages. - MoreValues - Class in com.google.mu.protobuf.util
-
Additional utilities to help create
ValueandListValuemessages.
N
- name() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Named
-
Returns the value of the
namerecord component. - Named(String, RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Group.Named
-
Creates an instance of a
Namedrecord class. - names() - Method in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- natural() - Static method in class com.google.mu.util.Ordinal
-
Returns the infinite stream of natural ordinals starting from "1st".
- negated() - Method in interface com.google.common.labs.regex.RegexPattern.CharacterProperty
- Negated(RegexPattern.CharacterProperty) - Constructor for record class com.google.common.labs.regex.RegexPattern.CharacterProperty.Negated
-
Creates an instance of a
Negatedrecord class. - NegativeLookahead(RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookahead
-
Creates an instance of a
NegativeLookaheadrecord class. - NegativeLookbehind(RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookbehind
-
Creates an instance of a
NegativeLookbehindrecord class. - nestedStruct(Table<String, String, ?>) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a nested Struct of Struct equivalent to the
row mapoftable. - next() - Method in class com.google.mu.util.Ordinal
-
Returns the next ordinal.
- NON_DIGIT - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- NON_WHITESPACE - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- NON_WORD - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- NON_WORD_BOUNDARY - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
- nonAssociative(Parser<? extends BinaryOperator<T>>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a non-associative infix operator with the given precedence to the table.
- nonAssociative(String, BinaryOperator<T>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a non-associative infix operator with the given precedence to the table.
- NonCapturing(RegexPattern) - Constructor for record class com.google.common.labs.regex.RegexPattern.Group.NonCapturing
-
Creates an instance of a
NonCapturingrecord class. - none() - Static method in interface com.google.mu.collect.Selection
-
Returns an empty selection.
- NONE - Static variable in interface com.google.mu.util.CharPredicate
-
Corresponds to no characters.
- NONE - Static variable in class com.google.mu.util.Substring
-
Patternthat never matches any substring. - noneMatch(BiPredicate<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns true if no pairs in this stream match
predicate. - nonEmpty(C) - Static method in class com.google.mu.util.Optionals
- nonEmptyOrAll(Collection<? extends T>) - Static method in interface com.google.mu.collect.Selection
-
Converts to
Selectionfrom legacy code where an empty collection means all. - noneOf(RegexPattern.CharSetElement...) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Returns a negated
RegexPattern.CharacterSetof the given elements. - noneOf(String) - Static method in interface com.google.mu.util.CharPredicate
-
Returns a CharPredicate that matches any of
chars. - noneOf(Collection<? extends RegexPattern.CharSetElement>) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Returns a negated
RegexPattern.CharacterSetof the given elements. - NoneOf(List<RegexPattern.CharSetElement>) - Constructor for record class com.google.common.labs.regex.RegexPattern.CharacterSet.NoneOf
-
Creates an instance of a
NoneOfrecord class. - nonNegativeLiteral(int) - Static method in class com.google.mu.safesql.SafeSql
-
Deprecated.Prefer
OFFSET-FETCHclause, which is parameterizable - not() - Method in interface com.google.mu.util.CharPredicate
-
Returns the negation of this
CharPredicate. - notEmpty() - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
Returns the otherwise equivalent
Parserthat will fail instead of returning the default value if empty. - notFollowedBy(Parser<?>, String) - Method in class com.google.common.labs.parse.Parser
-
A form of negative lookahead such that the match is rejected if followed by
suffix. - notFollowedBy(RegexPattern) - Method in interface com.google.common.labs.regex.RegexPattern
-
Returns a pattern that matches
thisonly if it is NOT followed bysuffix. - notFollowedBy(String) - Method in class com.google.common.labs.parse.Parser
-
A form of negative lookahead such that the match is rejected if followed by
suffix. - notFollowedBy(String) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent pattern except it requires the matched substring not be immediately followed by the
lookaheadstring. - notImmediatelyBetween(String, String) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent pattern except it requires the matched substring not be immediately preceded by the
lookbehindstring and immediately followed by theafterstring. - notImmediatelyFollowedBy(CharPredicate, String) - Method in class com.google.common.labs.parse.Parser
-
A form of negative lookahead such that the match is rejected if immediately followed by (no skippable characters as specified by
parseSkipping()in between) a character that matchespredicate. - notPrecededBy(RegexPattern) - Method in interface com.google.common.labs.regex.RegexPattern
-
Returns a pattern that matches
thisonly if it is NOT preceded byprefix. - notPrecededBy(String) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent pattern except it requires the matched substring not be immediately preceded by the
lookbehindstring. - NULL - Static variable in class com.google.mu.protobuf.util.MoreValues
-
The
Valuefor null. - nullableValueOf(String) - Static method in class com.google.mu.protobuf.util.MoreValues
O
- of(int) - Static method in class com.google.mu.util.Ordinal
-
Returns instance corresponding to the
oneBasednumber. - of(A, B) - Static method in class com.google.mu.util.BiOptional
-
Returns a
BiOptionalcontaining the pair(a, b). - of(A, B) - Static method in interface com.google.mu.util.Both
-
Returns an instance with both
aandb. - of(Enum<?>) - Static method in class com.google.mu.util.Ordinal
-
Returns instance corresponding to the ordinal of the Enum object
e. - of(String, Object...) - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.Returns a query using a constant query template filled with
args. - of(String, Object...) - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
Convenience method when you need to create the
ParameterizedQueryinline, with both the query template and the arguments. - of(String, Object...) - Static method in class com.google.mu.safesql.SafeSql
- of(String, Object...) - Static method in class com.google.mu.spanner.ParameterizedQuery
- of(K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof a single pair containingkeyandvalue. - of(K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof two pairs, containing the supplied keys and values. - of(K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof three pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 4 pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 5 pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 6 pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 7 pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 8 pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 9 pairs, containing the supplied keys and values. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamof 10 pairs, containing the supplied keys and values. - of(T) - Static method in class com.google.mu.collect.Chain
-
Returns a Chain with a single element.
- of(T, T...) - Static method in class com.google.mu.collect.Chain
-
Returns a Chain with
firstfollowed byremaining. - on(char) - Static method in class com.google.mu.util.stream.Joiner
-
Joining the inputs on the
delimitercharacter - on(CharSequence) - Static method in class com.google.mu.util.stream.Joiner
-
Joining the inputs on the
delimiterstring - only(T...) - Static method in interface com.google.mu.collect.Selection
-
Returns a selection of
choices. - onlyElement(Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns collector that collects the single element from the input.
- onlyElements(MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(MapFrom3). - onlyElements(MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(MapFrom4). - onlyElements(MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(MapFrom5). - onlyElements(MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(MapFrom6). - onlyElements(MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(MapFrom7). - onlyElements(MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(MapFrom7). - onlyElements(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Same as
MoreCollectors.combining(BiFunction). - OperatorTable<T> - Class in com.google.common.labs.parse
-
Provides a fluent API for building an operator precedence grammar.
- OperatorTable() - Constructor for class com.google.common.labs.parse.OperatorTable
- optional() - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching the current parser optionally.
- optional(boolean, T) - Static method in class com.google.mu.util.Optionals
-
Returns an Optional that wraps
valueifconditionis true andvalueis not null, or elseempty(). - optionally(boolean, CheckedSupplier<? extends T, E>) - Static method in class com.google.mu.util.Optionals
-
Returns an Optional that wraps the nullable result from
supplierifconditionis true, or elseempty(). - optionally(String, Optional<?>) - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.An optional query that's only rendered if
argis present; otherwise returnsSafeQuery.EMPTY. - optionally(String, Optional<?>) - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
An optional query that's only rendered if
argis present; otherwise returnsParameterizedQuery.EMPTY. - optionally(String, Optional<?>) - Static method in class com.google.mu.safesql.SafeSql
-
Deprecated.Use
SafeSql.of("{foo? -> OR foo?}", optionalFoo)instead ofoptionally("or {foo}", optionalFoo)because the former allows you to referencefoo?multiple times in the right hand side snippet. - optionallyFollowedBy(String) - Method in class com.google.common.labs.parse.Parser
-
Returns an equivalent parser except it allows
suffixif present. - optionallyFollowedBy(String, Function<? super T, ? extends T>) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, optionally applies the
opfunction if the pattern is followed bysuffix. - Optionals - Class in com.google.mu.util
-
Utilities pertaining to
Optional. - or() - Static method in class com.google.common.labs.parse.Parser
-
Returns a collector that results in a parser that matches if any of the input
parsersmatch. - or() - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.A collector that joins boolean query snippets using
ORoperator. - or() - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
A collector that joins boolean query snippets using
ORoperator. - or() - Static method in class com.google.mu.safesql.SafeSql
-
A collector that joins boolean query snippet using
ORoperator. - or() - Static method in class com.google.mu.spanner.ParameterizedQuery
-
A collector that joins boolean query snippet using
ORoperator. - or(char) - Method in interface com.google.mu.util.CharPredicate
-
Returns a
CharPredicatethat evaluates true if either this predicate evaluates to true, or the character isch. - or(Parser<? extends T>) - Method in class com.google.common.labs.parse.Parser
-
Matches if
thisorthatmatches. - or(Parser.OrEmpty) - Method in class com.google.common.labs.parse.Parser
-
Matches if
thisorthatmatches. - or(CheckedSupplier<? extends Premise, E>) - Method in interface com.google.mu.util.Premise
-
Evaluates
alternativeifthispremise doesn't hold. - or(CharPredicate) - Method in interface com.google.mu.util.CharPredicate
-
Returns a
CharPredicatethat evaluates true if either this orthatpredicate evaluate to true. - or(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
-
Returns a
Patternthat falls back to usingthatifthisfails to match. - or(Supplier<? extends BiOptional<? extends A, ? extends B>>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values are present, return this
BiOptionalinstance. - Ordinal - Class in com.google.mu.util
-
This class provides type-safe transition between 1-based Ordinal and 0-based indexes that are commonly used to index arrays and lists.
- orElse(A, B) - Method in class com.google.mu.util.BiOptional
-
Returns the pair if present, or else returns
(a, b). - orElse(SafeQuery) - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.If
thisquery is empty (likely from a call toSafeQuery.optionally(java.lang.String, java.util.Optional<?>)orSafeQuery.when(boolean, java.lang.String, java.lang.Object...)), returns thefallbackquery. - orElse(CheckedRunnable<E>) - Method in interface com.google.mu.util.Premise
-
Runs
blockifthispremise doesn't hold. - orElse(SafeSql) - Method in class com.google.mu.safesql.SafeSql
-
If
thisquery is empty (likely from a call toSafeSql.optionally(java.lang.String, java.util.Optional<?>)orSafeSql.when(boolean, java.lang.String, java.lang.Object...)), returns thefallbackquery. - orElse(ParameterizedQuery) - Method in class com.google.mu.spanner.ParameterizedQuery
-
If
thisquery is empty (likely from a call toParameterizedQuery.when(boolean, java.lang.String, java.lang.Object...)), returns thefallbackquery. - orElse(String, Object...) - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.If
thisquery is empty (likely from a call toSafeQuery.optionally(java.lang.String, java.util.Optional<?>)orSafeQuery.when(boolean, java.lang.String, java.lang.Object...)), returns the SafeQuery produced from thefallbacktemplate andargs. - orElse(String, Object...) - Method in class com.google.mu.safesql.SafeSql
-
If
thisquery is empty (likely from a call toSafeSql.optionally(java.lang.String, java.util.Optional<?>)orSafeSql.when(boolean, java.lang.String, java.lang.Object...)), returns the SafeSql produced from thefallbacktemplate andargs. - orElse(String, Object...) - Method in class com.google.mu.spanner.ParameterizedQuery
-
If
thisquery is empty (likely from a call toParameterizedQuery.when(boolean, java.lang.String, java.lang.Object...)), returns the ParameterizedQuery produced from thefallbacktemplate andargs. - orElse(Supplier<SafeQuery>) - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.If
thisquery is empty (likely from a call toSafeQuery.optionally(java.lang.String, java.util.Optional<?>)orSafeQuery.when(boolean, java.lang.String, java.lang.Object...)), returns the query produced by thefallbacksupplier. - orElse(Supplier<SafeSql>) - Method in class com.google.mu.safesql.SafeSql
-
If
thisquery is empty (likely from a call toSafeSql.optionally(java.lang.String, java.util.Optional<?>)orSafeSql.when(boolean, java.lang.String, java.lang.Object...)), returns the query produced by thefallbacksupplier. - orElse(Supplier<ParameterizedQuery>) - Method in class com.google.mu.spanner.ParameterizedQuery
-
If
thisquery is empty (likely from a call toParameterizedQuery.when(boolean, java.lang.String, java.lang.Object...)), returns the query produced by thefallbacksupplier. - orElse(T) - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching the current parser optionally.
- orElseThrow() - Method in class com.google.mu.util.BiOptional
-
Ensures that the pair must be present or else throws
NoSuchElementException. - orElseThrow(String, Object...) - Method in class com.google.mu.util.BiOptional
-
Ensures that the pair must be present or else throws
NoSuchElementExceptionwithmessageformatted withargs. - orElseThrow(Function<String, E>, String, Object...) - Method in class com.google.mu.util.BiOptional
-
Ensures that the pair must be present or else throws the exception returned by
exceptionFactorywithmessageformatted withargs. - orElseThrow(Supplier<E>) - Method in class com.google.mu.util.BiOptional
-
Ensures that the pair must be present or else throws the exception returned by
exceptionSupplier. - orRange(char, char) - Method in interface com.google.mu.util.CharPredicate
-
Returns a
CharPredicatethat evaluates true if either this predicate evaluates to true, or the character is in the range of[from, to].
P
- Package Specification - Search tag in package com.google.common.labs.csv
- Section
- Package Specification - Search tag in package com.google.common.labs.parse
- Section
- Package Specification - Search tag in package com.google.common.labs.regex
- Section
- Package Specification - Search tag in package com.google.mu.annotations
- Section
- Package Specification - Search tag in package com.google.mu.bigquery
- Section
- Package Specification - Search tag in package com.google.mu.collect
- Section
- Package Specification - Search tag in package com.google.mu.function
- Section
- Package Specification - Search tag in package com.google.mu.protobuf.util
- Section
- Package Specification - Search tag in package com.google.mu.safesql
- Section
- Package Specification - Search tag in package com.google.mu.spanner
- Section
- Package Specification - Search tag in package com.google.mu.time
- Section
- Package Specification - Search tag in package com.google.mu.util
- Section
- Package Specification - Search tag in package com.google.mu.util.concurrent
- Section
- Package Specification - Search tag in package com.google.mu.util.graph
- Section
- Package Specification - Search tag in package com.google.mu.util.stream
- Section
- pairwise(Iterable<A>, Iterable<B>, BiPredicate<? super A, ? super B>) - Static method in class com.google.mu.collect.MoreIterables
-
Returns true if
leftandrightboth contain the same number of elements, and each pair of corresponding elements matches according to thematcherpredicate. - parallelize(Iterator<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks until either all tasks have finished, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Iterator<? extends T>, Consumer<? super T>, long, TimeUnit) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks until either all tasks have finished, timeout is triggered, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Iterator<? extends T>, Consumer<? super T>, Duration) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks until either all tasks have finished, timeout is triggered, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Stream<? extends Runnable>) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
tasksin parallel and blocks until either all tasks have finished, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Stream<? extends Runnable>, long, TimeUnit) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
tasksin parallel and blocks uninterruptibly until either all tasks have finished, timeout is triggered, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Stream<? extends Runnable>, Duration) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
tasksin parallel and blocks uninterruptibly until either all tasks have finished, timeout is triggered, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Stream<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks until either all tasks have finished, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Stream<? extends T>, Consumer<? super T>, long, TimeUnit) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks until either all tasks have finished, timeout is triggered, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelize(Stream<? extends T>, Consumer<? super T>, Duration) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks until either all tasks have finished, timeout is triggered, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - Parallelizer - Class in com.google.mu.util.concurrent
-
Utility to support structured concurrency for IO-bound subtasks of a single unit of work, while limiting the max concurrency.
- Parallelizer(ExecutorService, int) - Constructor for class com.google.mu.util.concurrent.Parallelizer
-
Constructs a
Parallelizerthat runs tasks withexecutor. - parallelizeUninterruptibly(Iterator<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks uninterruptibly until either all tasks have finished, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelizeUninterruptibly(Stream<? extends Runnable>) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
tasksin parallel and blocks uninterruptibly until either all tasks have finished, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - parallelizeUninterruptibly(Stream<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.concurrent.Parallelizer
-
Runs
consumerforinputsin parallel and blocks uninterruptibly until either all tasks have finished, or any exception is thrown upon which all pending tasks are canceled (but the method returns without waiting for the tasks to respond to cancellation). - ParameterizedQuery - Class in com.google.mu.bigquery
-
Encapsulates a BigQuery parameterized query.
- ParameterizedQuery - Class in com.google.mu.spanner
-
An injection-safe SQL template for Google Cloud Spanner.
- parse(String) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Parses
inputwhile skipping the skippable patterns around lexical tokens. - parse(String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
Parses the entire input string and returns the result; if input is empty, returns the default empty value.
- parse(String) - Method in class com.google.common.labs.parse.Parser
-
Parses the entire input string and returns the result.
- parse(String) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Parses the given regular expression string and returns its
RegexPatternrepresentation. - parse(String) - Method in class com.google.mu.collect.Selection.Parser
- parse(String, int) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Parses
inputstarting fromfromIndexwhile skipping patterns around lexical tokens. - parse(String, int) - Method in class com.google.common.labs.parse.Parser
-
Parses the input string starting from
fromIndexand returns the result. - parse(String, CheckedFunction<String, ? extends T, E>) - Method in class com.google.mu.collect.Selection.Parser
-
Parses
stringinto aSelectionby treating the single'*'character asSelection.all(), and delegating toelementParserto parse each explicit selection element. - parse(String, MapFrom3<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), but parsesinputand appliesmapperwith the 3 placeholder values in this string format. - parse(String, MapFrom4<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), but parsesinputand appliesmapperwith the 4 placeholder values in this string format. - parse(String, MapFrom5<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), but parsesinputand appliesmapperwith the 5 placeholder values in this string format. - parse(String, MapFrom6<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), but parsesinputand appliesmapperwith the 6 placeholder values in this string format. - parse(String, MapFrom7<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), but parsesinputand appliesmapperwith the 7 placeholder values in this string format. - parse(String, MapFrom8<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), but parsesinputand appliesmapperwith the 8 placeholder values in this string format. - parse(String, BiFunction<? super String, ? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Parses
inputand appliesmapperwith the two placeholder values in this string format. - parse(String, Function<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Parses
inputand applies themapperfunction with the single placeholder value in this string format. - parseAsList(String) - Method in class com.google.mu.util.StringFormat
-
Parses
inputagainst the pattern. - parseGreedy(String, MapFrom3<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, MapFrom3), parsesinputand appliesmapperwith the 3 placeholder values in this format string, but matches the placeholders backwards from the end to the beginning of the input string. - parseGreedy(String, MapFrom4<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, MapFrom4), parsesinputand appliesmapperwith the 3 placeholder values in this format string, but matches the placeholders backwards from the end to the beginning of the input string. - parseGreedy(String, MapFrom5<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, MapFrom5), parsesinputand appliesmapperwith the 5 placeholder values in this format string, but matches the placeholders backwards from the end to the beginning of the input string. - parseGreedy(String, BiFunction<? super String, ? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, BiFunction), parsesinputand appliesmapperwith the two placeholder values in this format string, but matches the placeholders backwards from the end to the beginning of the input string. - parseGreedy(String, Function<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parse(String, Function), parsesinputand appliesmapperwith the single placeholder value in this format string, but matches the placeholders backwards from the end to the beginning of the input string. - parseLocalDate(String) - Static method in class com.google.mu.time.DateTimeFormats
-
Parses
dateStringasLocalDate. - parseOffsetDateTime(String) - Static method in class com.google.mu.time.DateTimeFormats
-
Parses
dateTimeStringtoOffsetDateTimeusing heuristics in this class to infer theDateTimeFormatterfor common formats. - parseOrThrow(String, MapFrom3<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parseOrThrow(String, BiFunction), but parsesinputand appliesmapperwith the 3 placeholder values in this format string. - parseOrThrow(String, MapFrom4<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parseOrThrow(String, BiFunction), but parsesinputand appliesmapperwith the 4 placeholder values in this string format. - parseOrThrow(String, MapFrom5<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parseOrThrow(String, BiFunction), but parsesinputand appliesmapperwith the 5 placeholder values in this string format. - parseOrThrow(String, MapFrom6<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parseOrThrow(String, BiFunction), but parsesinputand appliesmapperwith the 6 placeholder values in this string format. - parseOrThrow(String, MapFrom7<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parseOrThrow(String, BiFunction), but parsesinputand appliesmapperwith the 7 placeholder values in this string format. - parseOrThrow(String, MapFrom8<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Similar to
AbstractStringFormat.parseOrThrow(String, BiFunction), but parsesinputand appliesmapperwith the 8 placeholder values in this string format. - parseOrThrow(String, BiFunction<? super String, ? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Parses
inputand appliesmapperwith the two placeholder values in this format string. - parseOrThrow(String, Function<? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Parses
inputand appliesmapperwith the single placeholder value in this format string. - parser() - Static method in interface com.google.mu.collect.Selection
-
Returns the default parser, using
','as delimiter of elements. - Parser<T> - Class in com.google.common.labs.parse
-
A simple recursive descent parser combinator intended to parse simple grammars such as regex, csv format string patterns etc.
- Parser.Lexical - Class in com.google.common.labs.parse
-
Fluent API for parsing while skipping patterns around lexical tokens.
- Parser.OrEmpty - Class in com.google.common.labs.parse
-
Facilitates a fluent chain for matching the current parser optionally.
- Parser.ParseException - Exception Class in com.google.common.labs.parse
-
Thrown if parsing failed.
- Parser.Rule<T> - Class in com.google.common.labs.parse
-
A forward-declared grammar rule, to be used for recursive grammars.
- parseSkipping(Parser<?>, String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
Parses the entire input string, ignoring patterns matched by
skip, and returns the result; if there's nothing to parse except skippable content, returns the default empty value. - parseSkipping(Parser<?>, String) - Method in class com.google.common.labs.parse.Parser
-
Parses
inputwhile skipping patterns matched byskiparound atomic matches. - parseSkipping(CharPredicate, String) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
Parses the entire input string, ignoring
charsToSkip, and returns the result; if there's nothing to parse except skippable content, returns the default empty value. - parseSkipping(CharPredicate, String) - Method in class com.google.common.labs.parse.Parser
-
Parses
inputwhilecharsToSkiparound atomic matches. - parseToInstant(String) - Static method in class com.google.mu.time.DateTimeFormats
-
Parses
dateTimeStringtoInstant. - parseToLists(Reader) - Method in class com.google.common.labs.csv.Csv
-
Parses the
inputreader into a lazy stream of immutableList, one row at a time. - parseToLists(String) - Method in class com.google.common.labs.csv.Csv
-
Parses the
inputstring into a lazy stream of immutableList, one row at a time. - parseToMaps(Reader) - Method in class com.google.common.labs.csv.Csv
-
Similar to
Csv.parseToMaps(String), but takes aReaderinstead. - parseToMaps(String) - Method in class com.google.common.labs.csv.Csv
-
Parses
csvstring lazily, returning each row in aMapkeyed by the field names in the header row. - parseToStream(Reader) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Parses
inputreader to a lazy stream while skipping the skippable patterns around lexical tokens. - parseToStream(Reader) - Method in class com.google.common.labs.parse.Parser
-
Parses the input reader lazily by applying this parser repeatedly until the end of input.
- parseToStream(String) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Parses
inputto a lazy stream while skipping the skippable patterns around lexical tokens. - parseToStream(String) - Method in class com.google.common.labs.parse.Parser
-
Parses the entire input string lazily by applying this parser repeatedly until the end of input.
- parseToStream(String, int) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Parses
inputstarting fromfromIndexto a lazy stream while skipping the skippable patterns around lexical tokens. - parseToStream(String, int) - Method in class com.google.common.labs.parse.Parser
-
Parses
inputstarting fromfromIndexto a lazy stream while skipping the skippable patterns around lexical tokens. - parseWithHeaderFields(Reader, BiCollector<? super String, ? super String, ? extends R>) - Method in class com.google.common.labs.csv.Csv
-
CSV.parseWithHeaderFields(input, toMap())will parse the non-header rows from theinputreader into a lazy stream ofMap, keyed by the header field names. - parseWithHeaderFields(String, BiCollector<? super String, ? super String, ? extends R>) - Method in class com.google.common.labs.csv.Csv
-
CSV.parseWithHeaderFields(input, toMap())will parse the non-header rows in theinputstring into a lazy stream ofMap, keyed by the header field names. - parseZonedDateTime(String) - Static method in class com.google.mu.time.DateTimeFormats
-
Parses
dateTimeStringtoZonedDateTimeusing heuristics in this class to infer theDateTimeFormatterfor common formats. - partitioningBy(BiPredicate<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a BiCollector that partitions the incoming pairs into two groups: elements that match
predicate, and those that don't. - partitioningBy(BiPredicate<? super K, ? super V>, BiCollector<? super K, ? super V, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a BiCollector that partitions the incoming pairs into two groups: elements that match
predicate, and those that don't, and usedownstreamcollector to collect the pairs. - partitioningBy(BiPredicate<? super K, ? super V>, BiCollector<? super K, ? super V, ? extends T>, BiCollector<? super K, ? super V, ? extends F>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a BiCollector that partitions the incoming pairs into two groups: elements that match
predicate, and those that don't, and useifTrueandifFalsedownstream collectors respectively to collect the pairs. - partitioningBy(Predicate<? super E>, Collector<E, ?, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that partitions the incoming elements into two groups: elements that match
predicate, and those that don't. - partitioningBy(Predicate<? super E>, Collector<E, A1, ? extends T>, Collector<E, A2, ? extends F>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that partitions the incoming elements into two groups: elements that match
predicate, and those that don't, and usedownstreamIfTrueanddownstreamIfFalserespectively to collect the elements. - partitioningBy(Predicate<? super T>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that partitions the incoming elements into two groups: elements that match
predicate, and those that don't. - Pattern() - Constructor for class com.google.mu.util.Substring.Pattern
- peek(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
-
Return a
Patternequivalent to thisPattern, except it will fail to match if thefollowingpattern can't find a match in the substring after the current match. - peek(BiConsumer<? super A, ? super B>) - Method in class com.google.mu.util.BiOptional
-
Invokes
consumerwith the pair if present and returns this object as is. - peek(BiConsumer<? super A, ? super B>) - Method in interface com.google.mu.util.Both
-
Invokes
consumerwith this pair and returns this object as is. - peek(BiConsumer<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs of this stream, additionally invokingactionon each pair as pairs are consumed from the resulting stream. - possessive() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
- possessive() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
- possessive() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
- possessive() - Method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- postfix(Parser<? extends UnaryOperator<T>>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that after this parser succeeds, applies the
operatorparser zero or more times and apply the result unary operator function iteratively. - postfix(Parser<? extends UnaryOperator<T>>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a postfix operator with the given precedence to the table.
- postfix(String, UnaryOperator<T>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a postfix operator with the given precedence to the table.
- postOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.BinaryTreeWalker
-
Returns a lazy stream for post-order traversal from
root. - postOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.GraphWalker
- postOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.Walker
-
Starts from
startNodesand walks depth first in post-order (the reverse of a topological sort). - postOrderFrom(N...) - Method in class com.google.mu.util.graph.Walker
-
Starts from
startNodesand walks depth first in post-order (the reverse of a topological sort). - precededBy(RegexPattern) - Method in interface com.google.common.labs.regex.RegexPattern
-
Returns a pattern that matches
thisonly if it is preceded byprefix. - precededBy(String) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent pattern except it requires the matched substring be immediately preceded by the
lookaheadstring. - prefix(char) - Static method in class com.google.mu.util.Substring
-
Returns a
Prefixpattern that matches strings starting withprefix. - prefix(Parser<? extends UnaryOperator<T>>) - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that applies the
operatorparser zero or more times beforethisand applies the result unary operator functions iteratively. - prefix(Parser<? extends UnaryOperator<T>>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a prefix operator with the given precedence to the table.
- prefix(String) - Static method in class com.google.mu.util.Substring
-
Returns a
Prefixpattern that matches strings starting withprefix. - prefix(String, UnaryOperator<T>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a prefix operator with the given precedence to the table.
- PrefixSearchTable<K,
V> - Class in com.google.mu.collect -
A lookup table that stores prefix (a list of keys of type
K) -> value mappings. - PrefixSearchTable.Builder<K,
V> - Class in com.google.mu.collect -
Builder of
PrefixSearchTable. - Premise - Interface in com.google.mu.util
-
Result of a previously evaluated condition.
- preOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.BinaryTreeWalker
-
Returns a lazy stream for pre-order traversal from
roots. - preOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.GraphWalker
- preOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.Walker
-
Starts from
startNodesand walks depth first in pre-order. - preOrderFrom(N...) - Method in class com.google.mu.util.graph.Walker
-
Starts from
startNodesand walks depth first in pre-order. - prepareStatement(Connection) - Method in class com.google.mu.safesql.SafeSql
-
Returns a
PreparedStatementwith the encapsulated sql and parameters. - prepareToQuery(Connection, String, SqlFunction<? super ResultSet, ? extends T>) - Static method in class com.google.mu.safesql.SafeSql
-
Returns a query template that will reuse the same cached
PreparedStatementfor repeated calls ofStringFormat.Template.with(java.lang.Object...)using different parameters. - prepareToQuery(Connection, String, Class<? extends T>) - Static method in class com.google.mu.safesql.SafeSql
-
Returns a query template that will reuse the same cached
PreparedStatementfor repeated calls ofStringFormat.Template.with(java.lang.Object...)using different parameters. - prepareToUpdate(Connection, String) - Static method in class com.google.mu.safesql.SafeSql
-
Returns a DML (create, update, delete) template that will reuse the same cached
PreparedStatementfor repeated calls ofStringFormat.Template.with(java.lang.Object...)using different parameters. - previous() - Method in class com.google.mu.util.Ordinal
-
Returns the previous ordinal.
- PRINT - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- priority() - Method in class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin
-
Returns the priority of this plugin when multiple plugins are available.
- probe(Reader) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Lazily and iteratively matches
inputreader, skipping the skippable patterns, until the input is exhausted or matching failed. - probe(Reader) - Method in class com.google.common.labs.parse.Parser
-
Lazily and iteratively matches
inputreader, until the input is exhausted or matching failed. - probe(String) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Lazily and iteratively matches
input, skipping the skippable patterns, until the input is exhausted or matching failed. - probe(String) - Method in class com.google.common.labs.parse.Parser
-
Lazily and iteratively matches
input, until the input is exhausted or matching failed. - probe(String, int) - Method in class com.google.common.labs.parse.Parser.Lexical
-
Lazily and iteratively matches
inputstarting fromfromIndex, skipping the skippable patterns, until the input is exhausted or matching failed. - probe(String, int) - Method in class com.google.common.labs.parse.Parser
-
Lazily and iteratively matches
inputstarting fromfromIndex, skipping the skippable patterns, until the input is exhausted or matching failed. - property() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterProperty.Negated
-
Returns the value of the
propertyrecord component. - propertyName() - Method in interface com.google.common.labs.regex.RegexPattern.CharacterProperty
- propertyName() - Method in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- propertyName() - Method in record class com.google.common.labs.regex.RegexPattern.UnicodeProperty
-
Returns the value of the
propertyNamerecord component. - PUNCT - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
Q
- Quantified(RegexPattern, RegexPattern.Quantifier) - Constructor for record class com.google.common.labs.regex.RegexPattern.Quantified
-
Creates an instance of a
Quantifiedrecord class. - quantifier() - Method in record class com.google.common.labs.regex.RegexPattern.Quantified
-
Returns the value of the
quantifierrecord component. - query(Connection, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, SqlFunction), but uses an existing connection. - query(Connection, StatementSettings, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, StatementSettings, SqlFunction), but uses an existing connection. - query(Connection, StatementSettings, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, StatementSettings, Class), but uses an existing connection. - query(Connection, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, Class), but uses an existing connection. - query(DataSource, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
dataSource.getConnection(). - query(DataSource, StatementSettings, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
dataSource.getConnection(), usingsettings(can be set via lambda likestmt -> stmt.setMaxRows(100)). - query(DataSource, StatementSettings, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, Class), but withsettings(can be set via lambda likestmt -> stmt.setMaxRows(100)) to allow customization. - query(DataSource, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
dataSource.getConnection(). - queryForOne(Connection, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(Connection, SqlFunction), but only fetches one row if the query result includes at least one rows, or else returnsOptional.empty(). - queryForOne(Connection, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(Connection, Class), but only fetches one row if the query result includes at least one rows, or else returnsOptional.empty(). - queryForOne(DataSource, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, SqlFunction), but only fetches one row if the query result includes at least one rows, or else returnsOptional.empty(). - queryForOne(DataSource, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.query(DataSource, Class), but only fetches one row if the query result includes at least one rows, or else returnsOptional.empty(). - queryLazily(Connection, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, and then fetches the results lazily in a stream. - queryLazily(Connection, StatementSettings, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, withsettings(can be set via lambda likestmt -> stmt.setFetchSize(100), and then fetches the results lazily in a stream. - queryLazily(Connection, StatementSettings, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, withsettings(can be set via lambda likestmt -> stmt.setFetchSize(100)), and then fetches the results lazily in a stream. - queryLazily(Connection, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, and then fetches the results lazily in a stream. - queryLazily(DataSource, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, and then fetches the results lazily in a stream. - queryLazily(DataSource, StatementSettings, SqlFunction<? super ResultSet, ? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
dataSource, withsettings(can be set via lambda likestmt -> stmt.setFetchSize(100), and then fetches the results lazily in a stream. - queryLazily(DataSource, StatementSettings, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, withsettings(can be set via lambda likestmt -> stmt.setFetchSize(100)), and then fetches the results lazily in a stream. - queryLazily(DataSource, Class<? extends T>) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated SQL as a query against
connection, and then fetches the results lazily in a stream. - quotedStringWithEscapes(char, Parser<? extends CharSequence>) - Static method in class com.google.common.labs.parse.Parser
-
String literal quoted by
quoteCharwith backslash escapes.
R
- race(Collection<? extends Callable<? extends T>>, Predicate<? super Throwable>) - Method in class com.google.mu.util.concurrent24.BoundedConcurrency
-
Races
tasksand returns the first success, then cancels the remaining. - range(char, char) - Static method in interface com.google.mu.util.CharPredicate
-
Returns a CharPredicate for the range of characters:
[from, to]. - rangeOf(K) - Method in class com.google.guava.labs.collect.BinarySearch.Table
-
Finds the range of elements that match
target. - RegexPattern - Interface in com.google.common.labs.regex
-
Defines the Abstract Syntax Tree (AST) for a regular expression.
- RegexPattern.Alternation - Record Class in com.google.common.labs.regex
-
Represents a choice between multiple alternative regex patterns.
- RegexPattern.Anchor - Enum Class in com.google.common.labs.regex
-
Represents an anchor, which matches a position like start or end of a line.
- RegexPattern.AtLeast - Record Class in com.google.common.labs.regex
-
Represents a quantifier with a minimum bound, like
{min,},*, or+. - RegexPattern.AtMost - Record Class in com.google.common.labs.regex
-
Represents a quantifier with a maximum bound and a minimum of 0, like
{0,max}or?. - RegexPattern.CharacterProperty - Interface in com.google.common.labs.regex
-
Represents a character property, like
\p{Lower}or\P{Lower}. - RegexPattern.CharacterProperty.Negated - Record Class in com.google.common.labs.regex
-
Represents a negated character property, like
\P{Lower}. - RegexPattern.CharacterSet - Interface in com.google.common.labs.regex
-
Represents a custom character class, like
[a-z]or[^0-9]. - RegexPattern.CharacterSet.AnyOf - Record Class in com.google.common.labs.regex
-
A positive character class, like
[a-z]. - RegexPattern.CharacterSet.NoneOf - Record Class in com.google.common.labs.regex
-
A negated character class, like
[^a-z]. - RegexPattern.CharRange - Record Class in com.google.common.labs.regex
-
Represents a range of characters within a character class, e.g., 'a-z'.
- RegexPattern.CharSetElement - Interface in com.google.common.labs.regex
-
Base interface for elements within a
RegexPattern.CharacterSet. - RegexPattern.Group - Interface in com.google.common.labs.regex
-
Represents a grouping construct in a regex.
- RegexPattern.Group.Capturing - Record Class in com.google.common.labs.regex
-
A capturing group, like
(a). - RegexPattern.Group.Named - Record Class in com.google.common.labs.regex
-
A named capturing group, like
(?<name>a). - RegexPattern.Group.NonCapturing - Record Class in com.google.common.labs.regex
-
A non-capturing group, like
(?:a). - RegexPattern.Limited - Record Class in com.google.common.labs.regex
-
Represents a quantifier with both minimum and maximum bounds, like
{n}or{min,max}. - RegexPattern.Literal - Record Class in com.google.common.labs.regex
-
Represents a literal string to be matched.
- RegexPattern.LiteralChar - Record Class in com.google.common.labs.regex
-
Represents a single literal character within a character class.
- RegexPattern.Lookaround - Interface in com.google.common.labs.regex
-
Represents a lookaround assertion:
(?=...),(?!...),(?<=...),(?<!...). - RegexPattern.Lookaround.Lookahead - Record Class in com.google.common.labs.regex
-
Positive lookahead:
(?=pattern). - RegexPattern.Lookaround.Lookbehind - Record Class in com.google.common.labs.regex
-
Positive lookbehind:
(?<=pattern). - RegexPattern.Lookaround.NegativeLookahead - Record Class in com.google.common.labs.regex
-
Negative lookahead:
(?!pattern). - RegexPattern.Lookaround.NegativeLookbehind - Record Class in com.google.common.labs.regex
-
Negative lookbehind:
(?<!pattern). - RegexPattern.PosixCharClass - Enum Class in com.google.common.labs.regex
-
Represents a POSIX character class inside a CharacterSet: e.g.
- RegexPattern.PredefinedCharClass - Enum Class in com.google.common.labs.regex
-
Represents a predefined character class like
\dor\w. - RegexPattern.Quantified - Record Class in com.google.common.labs.regex
-
Represents a regex pattern that is modified by a quantifier.
- RegexPattern.Quantifier - Interface in com.google.common.labs.regex
-
Base interface for all quantifier types.
- RegexPattern.Sequence - Record Class in com.google.common.labs.regex
-
Represents a sequence of regex patterns that must match consecutively.
- RegexPattern.UnicodeProperty - Record Class in com.google.common.labs.regex
-
Represents a Unicode property class: e.g.
- reluctant() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
- reluctant() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
- reluctant() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
- reluctant() - Method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- remove() - Method in class com.google.mu.util.Substring.Match
-
Returns a copy of the original string with the matched substring removed.
- removeAllFrom(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a new string with all
matchesof this pattern removed. - removeFrom(String) - Method in class com.google.mu.util.Substring.Pattern
-
Matches this pattern against
string, and returns a copy with the matched substring removed if successful. - removeFrom(StringBuilder) - Method in class com.google.mu.util.Substring.Prefix
-
Removes this prefix from
builderif it starts with the prefix. - removeFrom(StringBuilder) - Method in class com.google.mu.util.Substring.Suffix
-
Removes this suffix from
builderif it ends with the suffix. - repeat(Function<? super I, ? extends O>, I, BiFunction<? super I, ? super O, ? extends Optional<? extends I>>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a stream of the inputs and outputs from repeated applications of the
workfunction. - repeated() - Static method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- repeated(int) - Static method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- repeated(int, int) - Static method in interface com.google.common.labs.regex.RegexPattern.Quantifier
- repeatedly() - Method in class com.google.mu.util.Substring.Pattern
-
Returns a
Substring.RepeatingPatternthat applies this pattern repeatedly against the input string. - replaceAllFrom(String, MapFrom3<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, MapFrom4<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, MapFrom5<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, MapFrom6<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, MapFrom7<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, MapFrom8<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, BiFunction<? super Substring.Match, ? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, Function<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
-
Scans
inputand replaces all matches using thereplacementfunction. - replaceAllFrom(String, Function<? super Substring.Match, ? extends CharSequence>) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a new string with all
matchesof this pattern replaced by applyingreplacementFunctionfor each match. - replaceFrom(StringBuilder, CharSequence) - Method in class com.google.mu.util.Substring.Prefix
-
Replaces this prefix from
builderwithreplacementif it starts with the prefix. - replaceFrom(StringBuilder, CharSequence) - Method in class com.google.mu.util.Substring.Suffix
-
Replaces this suffix from
builderwithreplacementif it ends with the suffix. - replaceFrom(String, CharSequence) - Method in class com.google.mu.util.Substring.Pattern
-
Returns a new string with the substring matched by
thisreplaced byreplacement. - replaceFrom(String, Function<? super Substring.Match, ? extends CharSequence>) - Method in class com.google.mu.util.Substring.Pattern
-
Returns a new string with the substring matched by
thisreplaced by the return value ofreplacementFunction. - replaceWith(CharSequence) - Method in class com.google.mu.util.Substring.Match
-
Returns a copy of the original string with the matched substring replaced with
replacement. - rightAssociative(Parser<? extends BinaryOperator<T>>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a right-associative infix operator with the given precedence to the table.
- rightAssociative(String, BinaryOperator<T>, int) - Method in class com.google.common.labs.parse.OperatorTable
-
Adds a right-associative infix operator with the given precedence to the table.
- Rule() - Constructor for class com.google.common.labs.parse.Parser.Rule
- run() - Method in interface com.google.mu.function.CheckedRunnable
- run() - Method in interface com.google.mu.util.stream.Iteration.Continuation
-
Runs the continuation.
- run(BigQuery.JobOption...) - Method in class com.google.mu.bigquery.ParameterizedQuery
-
Sends this query to BigQuery using the default client configuration with
optionsto control BigQuery jobs. - runLengthEncode(Stream<T>, BiPredicate<? super T, ? super T>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Groups consecutive items in
streamusing thesameGrouppredicate, along with the group's run length (number of items).
S
- SafeQuery - Class in com.google.guava.labs.safesql
-
Deprecated.You most likely need
SafeSqlto work with JDBC - SafeQuery.Translator - Class in com.google.guava.labs.safesql
-
Deprecated.You most likely need
SafeSqlto work with JDBC - SafeSql - Class in com.google.mu.safesql
-
An injection-safe dynamic SQL, constructed using compile-time enforced templates.
- scan(String, MapFrom3<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, MapFrom4<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, MapFrom5<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, MapFrom6<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, MapFrom7<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, MapFrom8<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, BiFunction<? super String, ? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scan(String, Function<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matches of this string format. - scanAndCollectFrom(String, BiCollector<? super String, ? super String, R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and collects all pairs of placeholders defined by this string format usingcollector. - scanAndCollectFrom(String, Collector<? super String, ?, R>) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and collects all matches of this string format usingcollector. - scanAsLists(String) - Method in class com.google.mu.util.StringFormat
-
Scans the
inputstring and extracts all matched placeholders in this string format. - second() - Static method in class com.google.mu.util.Ordinal
-
Returns the second ordinal.
- Selection<T> - Interface in com.google.mu.collect
- Selection.Parser - Class in com.google.mu.collect
-
Parser for
Selection. - separatedBy(CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent
Pattern, except it only matches if it's next to the beginning of the string, the end of the string, or theseparatorcharacter(s). - separatedBy(CharPredicate, CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
-
Returns an otherwise equivalent
Pattern, except it requires the beginning of the match must either be the beginning of the string, or be separated from the rest of the string by theseparatorBeforecharacter; and the end of the match must either be the end of the string, or be separated from the rest of the string by theseparatorAftercharacter. - sequence(Parser.OrEmpty, Parser.OrEmpty, BiFunction<? super A, ? super B, ? extends C>) - Static method in class com.google.common.labs.parse.Parser
-
Sequentially matches
leftthenright, with both allowed to be optional, and then combines the results using thecombinerfunction. - sequence(Parser<A>, Parser.OrEmpty, BiFunction<? super A, ? super B, ? extends C>) - Static method in class com.google.common.labs.parse.Parser
-
Sequentially matches
leftthenright(which is allowed to be optional), and then combines the results using thecombinerfunction. - sequence(Parser<A>, Parser<B>, BiFunction<? super A, ? super B, ? extends C>) - Static method in class com.google.common.labs.parse.Parser
-
Sequentially matches
leftthenright, and then combines the results using thecombinerfunction. - sequence(RegexPattern...) - Static method in interface com.google.common.labs.regex.RegexPattern
-
Returns a
RegexPattern.Sequenceof the given elements. - Sequence(List<RegexPattern>) - Constructor for record class com.google.common.labs.regex.RegexPattern.Sequence
-
Creates an instance of a
Sequencerecord class. - ShortestPath<N> - Class in com.google.mu.util.graph
-
The Dijkstra shortest path algorithm implemented as a lazy, incrementally-computed stream.
- shortestPathsFrom(N, Function<? super N, ? extends BiStream<? extends N, Double>>) - Static method in class com.google.mu.util.graph.ShortestPath
-
Returns a lazy stream of shortest paths starting from
startNode. - single(CharPredicate, String) - Static method in class com.google.common.labs.parse.Parser
-
Matches a character as specified by
matcher. - size() - Method in class com.google.mu.collect.Chain
-
Returns the size of the chain.
- skip(int) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the remaining pairs from this stream, after discarding the firstnpairs. - skip(int, int) - Method in class com.google.mu.util.Substring.Match
-
Returns a new instance that's otherwise equivalent except with
fromBeginningcharacters skipped from the beginning andfromEndcharacters skipped from the end. - skip(int, int) - Method in class com.google.mu.util.Substring.Pattern
-
Returns a
Patternthat's equivalent to this pattern except it will skip up tofromBeginningscharacters from the beginning of the match and up tofromEndcharacters from the end of the match. - skipEmpties() - Method in class com.google.mu.util.stream.Joiner
-
Returns a Collector that skips null and empty string inputs and joins the remaining using this Joiner.
- skipIf(BiPredicate<? super A, ? super B>) - Method in class com.google.mu.util.BiOptional
-
If a pair of values is present and matches
predicate, the pair is skipped (returns empty). - skipIf(BiPredicate<? super A, ? super B>) - Method in interface com.google.mu.util.Both
-
If the pair matches
predicate, it's skipped (returns empty). - skipIf(BiPredicate<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Filter this stream to exclude pairs matching
predicate. - skipKeysIf(Predicate<? super K>) - Method in class com.google.mu.util.stream.BiStream
-
Filter this stream to exclude pairs whose key matches
predicate. - skipNulls() - Method in class com.google.mu.util.stream.Joiner
-
Returns a Collector that skips null inputs and joins the remaining using this Joiner.
- skipping(Parser<?>) - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for parsing inputs while skipping patterns matched by
skip. - skipping(CharPredicate) - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for parsing inputs while skipping
charsToSkip. - skipValuesIf(Predicate<? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Filter this stream to exclude pairs whose value matches
predicate. - sorted(Comparator<? super K>, Comparator<? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, in the order produced by applying thebyKeycomparator on the keys of each pair, and then thebyValuecomparator on the values of pairs with equal keys. - sortedBy(BiFunction<? super K, ? super V, T>, Comparator<? super T>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, in the order produced by applyingcomparatoron the result of applying thesortKeyFunction. - sortedByKeys(Comparator<? super K>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, in the order produced by applyingcomparatoron the keys of each pair. - sortedByValues(Comparator<? super V>) - Method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamconsisting of the pairs in this stream, in the order produced by applyingcomparatoron the values of each pair. - source() - Method in class com.google.common.labs.parse.Parser
-
Returns a parser that matches the current parser and returns the matched string.
- SPACE - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- span(String) - Static method in class com.google.mu.util.StringFormat
-
Returns a
Substring.Patternspanning the substring matchingformat. - spanningInOrder(String, String, String...) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence ofstop1, followed by an occurrence ofstop2, followed sequentially by occurrences ofmoreStopsin order, including any characters between consecutive stops. - split(CharSequence) - Method in class com.google.mu.util.Substring.Pattern
-
Splits
stringinto two parts that are separated by this separator pattern. - split(CharSequence, BiFunction<? super String, ? super String, ? extends T>) - Method in class com.google.mu.util.Substring.Pattern
-
Splits
stringinto two parts that are separated by this separator pattern. - split(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a stream of
Matchobjects delimited by every match of this pattern. - spliterator() - Method in class com.google.mu.collect.Chain
- splitKeyValuesAround(Substring.Pattern, String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a
BiStreamof key value pairs frominput. - splitThenTrim(CharSequence) - Method in class com.google.mu.util.Substring.Pattern
-
Splits
stringinto two parts that are separated by this separator pattern, with leading and trailing whitespaces trimmed. - splitThenTrim(CharSequence, BiFunction<? super String, ? super String, ? extends T>) - Method in class com.google.mu.util.Substring.Pattern
-
Splits
stringinto two parts that are separated by this separator pattern, with leading and trailing whitespaces trimmed. - splitThenTrim(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a stream of
Matchobjects delimited by every match of this pattern. - splitThenTrimKeyValuesAround(Substring.Pattern, String) - Method in class com.google.mu.util.Substring.RepeatingPattern
-
Returns a
BiStreamof key value pairs frominput. - SqlFunction<F,
T> - Interface in com.google.mu.safesql -
For lambdas that can throw
SQLException. - SqlName - Annotation Interface in com.google.mu.safesql
-
Annotation to facilitate mapping from a result set row to a pojo through the
SafeSql.query(java.sql.Connection, Class)method and friends. - start() - Method in record class com.google.common.labs.regex.RegexPattern.CharRange
-
Returns the value of the
startrecord component. - startsWith(String) - Method in class com.google.mu.util.Substring.Match
-
Returns true if this match starts with the given
prefix. - statement() - Method in class com.google.mu.spanner.ParameterizedQuery
-
Creates an equivalent
Statementto be passed to Spanner. - StatementSettings - Interface in com.google.mu.safesql
-
Functional interface to apply settings onto a JDBC
Statement. - stream() - Method in class com.google.mu.collect.Chain
-
Returns a lazy stream of the elements in this list.
- stream() - Method in class com.google.mu.util.BiOptional
-
Returns a
BiStreamview of this BiOptional. - stream() - Method in class com.google.mu.util.graph.ShortestPath
-
Returns all nodes from the starting node along this path, with the cumulative distances from the starting node up to each node in the stream, respectively.
- string(String) - Static method in class com.google.common.labs.parse.Parser
-
Matches a literal
string. - StringFormat - Class in com.google.mu.util
-
A string parser to extract placeholder values from input strings according to a format string.
- StringFormat(String) - Constructor for class com.google.mu.util.StringFormat
-
Constructs a StringFormat with placeholders in the syntax of
"{foo}". - StringFormat.Interpolator<T> - Interface in com.google.mu.util
-
A functional SPI interface for custom interpolation.
- StringFormat.Template<T> - Interface in com.google.mu.util
-
A template that will produce instances of type
T, after filling the template placeholders with the given variadic parameters. - stronglyConnectedComponentsFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.GraphWalker
-
Walks the graph by starting from
startNodes, and returns a lazy stream of strongly connected components found in the graph. - stronglyConnectedComponentsFrom(N...) - Method in class com.google.mu.util.graph.GraphWalker
-
Walks the graph by starting from
startNodes, and returns a lazy stream of strongly connected components found in the graph. - struct(CharSequence, Object) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct with
nameandvalue, withvalueconverted usingStructor.toValue(java.lang.Object). - struct(CharSequence, Object, CharSequence, Object) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct equivalent to
{k1:v1, k2:v2}. - struct(CharSequence, Object, CharSequence, Object, CharSequence, Object) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct equivalent to
{k1:v1, k2:v2, k3:v3}. - struct(CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct equivalent to
{k1:v1, k2:v2, k3:v3, k4:v4}. - struct(CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct equivalent to
{k1:v1, k2:v2, k3:v3, k4:v4, k5:v5}. - struct(CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct equivalent to
{k1:v1, k2:v2, k3:v3, k4:v4, k5:v5, k6:v6}. - struct(String, boolean) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a Struct with
nameandvalue. - struct(String, double) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a Struct with
nameandvalue. - struct(String, ListValue) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a Struct with
nameandvalue. - struct(String, Struct) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a Struct with
nameandvalue. - struct(String, Value) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a Struct with
nameandvalue. - struct(String, String) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a Struct with
nameandvalue. - struct(Map<String, ?>) - Method in class com.google.mu.protobuf.util.Structor
-
Returns a Struct equivalent to
map. - StructBuilder - Class in com.google.mu.protobuf.util
-
A builder that supports building heterogeneous
Structmore conveniently, while eliding most of the intermediary and verboseValuecreation. - StructBuilder() - Constructor for class com.google.mu.protobuf.util.StructBuilder
- Structor - Class in com.google.mu.protobuf.util
-
A helper that makes
Structs andValues from POJOs. - Structor() - Constructor for class com.google.mu.protobuf.util.Structor
- StructuredConcurrencyExecutorPlugin - Class in com.google.mu.util.concurrent
-
SPI Used by
ServiceLoaderto plug in the executor used byFanout. - StructuredConcurrencyExecutorPlugin() - Constructor for class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin
- StructuredConcurrencyExecutorPlugin.Priority - Enum Class in com.google.mu.util.concurrent
-
Plugin priority from low to high.
- StructuredConcurrencyInterruptedException - Exception Class in com.google.mu.util.concurrent
-
Wraps an
InterruptedException. - StructuredConcurrencyInterruptedException(InterruptedException) - Constructor for exception class com.google.mu.util.concurrent.StructuredConcurrencyInterruptedException
- subList(int, int) - Method in class com.google.mu.collect.Chain
- subSequence(int, int) - Method in class com.google.mu.util.Substring.Match
-
Returns a
CharSequenceinstance which is a sub-range of thisMatch. - subSequence(int, int) - Method in class com.google.mu.util.Substring.Prefix
- subSequence(int, int) - Method in class com.google.mu.util.Substring.Suffix
- Substring - Class in com.google.mu.util
-
Utilities for creating patterns that attempt to match a substring in an input string.
- Substring.BoundStyle - Enum Class in com.google.mu.util
-
The style of the bounds of a match.
- Substring.Match - Class in com.google.mu.util
-
The result of successfully matching a
Substring.Patternagainst a string, providing access to thematched substring, to the parts of the stringbeforeandafterit, and to copies with the matched substringremovedorreplaced. - Substring.Pattern - Class in com.google.mu.util
-
A pattern that can be matched against a string, finding a single substring from it.
- Substring.Prefix - Class in com.google.mu.util
-
An immutable string prefix
Patternwith extra utilities such asSubstring.Prefix.addToIfAbsent(String),Substring.Prefix.removeFrom(StringBuilder),Substring.Prefix.isIn(CharSequence)etc. - Substring.RepeatingPattern - Class in com.google.mu.util
-
A substring pattern to be applied repeatedly on the input string, each time over the remaining substring after the previous match.
- Substring.Suffix - Class in com.google.mu.util
-
An immutable string suffix
Patternwith extra utilities such asSubstring.Suffix.addToIfAbsent(String),Substring.Suffix.removeFrom(StringBuilder),Substring.Suffix.isIn(CharSequence)etc. - suchThat(Predicate<? super T>, String) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, applies the given
conditionand disqualifies the match if the condition is false. - suffix(char) - Static method in class com.google.mu.util.Substring
-
Returns a
Suffixpattern that matches strings ending withsuffix. - suffix(String) - Static method in class com.google.mu.util.Substring
-
Returns a
Suffixpattern that matches strings ending withsuffix. - summarizingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorwhich applies andouble-producing mapping function to each input pair, and returns summary statistics for the resulting values. - summarizingInt(ToIntBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorwhich applies anint-producing mapping function to each input pair, and returns summary statistics for the resulting values. - summarizingLong(ToLongBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorwhich applies anlong-producing mapping function to each input pair, and returns summary statistics for the resulting values. - summingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat produces the sum of a double-valued function applied to the input pair. - summingInt(ToIntBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat produces the sum of an integer-valued function applied to the input pair. - summingLong(ToLongBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat produces the sum of a long-valued function applied to the input pair. - supplier() - Method in class com.google.mu.util.stream.Joiner
- switching(FixedSizeCollector<T, ?, R>, FixedSizeCollector<T, ?, R>...) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a
Collectorthat will collect the input elements using the first of[firstCase, moreCases...]that matches the input elements.
T
- target() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookahead
-
Returns the value of the
targetrecord component. - target() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookbehind
-
Returns the value of the
targetrecord component. - target() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookahead
-
Returns the value of the
targetrecord component. - target() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookbehind
-
Returns the value of the
targetrecord component. - target() - Method in interface com.google.common.labs.regex.RegexPattern.Lookaround
-
Returns the AST node representing the pattern inside the lookaround.
- template(String) - Static method in class com.google.guava.labs.safesql.GoogleSql
-
Deprecated.Much like
SafeQuery.template(java.lang.String), but with additional GoogleSQL translation rules. - template(String) - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.Creates a template with the placeholders to be filled by subsequent
StringFormat.Template.with(java.lang.Object...)calls. - template(String) - Static method in class com.google.mu.bigquery.ParameterizedQuery
-
Returns a template of
QueryJobConfigurationbased on thetemplatestring. - template(String) - Static method in class com.google.mu.safesql.SafeSql
- template(String, StringFormat.Interpolator<? extends T>) - Static method in class com.google.mu.util.StringFormat
-
Returns a go/jep-430 style template of
Tproduced by interpolating arguments into thetemplatestring, using the giveninterpolatorfunction. - TemplateFormatMethod - Annotation Interface in com.google.mu.annotations
-
Annotates a method that uses a template string and fills the "{placeholder}"s in the template with arguments.
- TemplateString - Annotation Interface in com.google.mu.annotations
-
Used to annotate the template string parameter of a
@TemplateFormatMethodmethod. - TemplateStringArgsMustBeQuoted - Annotation Interface in com.google.mu.annotations
-
Template methods with this annotation reject raw String template parameters to prevent programmer intention ambiguity, because the programmer may intend to use a string as either an identifier (table/column name) or as a string value.
- test(char) - Method in class com.google.common.labs.parse.CharacterSet
-
Returns true if this set contains the character
ch. - test(char) - Method in interface com.google.mu.util.CharPredicate
-
Returns true if
chsatisfies this predicate. - test(A, B) - Method in interface com.google.mu.function.CheckedBiPredicate
- then(Parser<R>) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, applies the given parser on the remaining input.
- then(Parser.OrEmpty) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, applies the given optional (or zero-or-more) parser on the remaining input.
- then(Parser.OrEmpty) - Method in class com.google.common.labs.parse.Parser.OrEmpty
-
After matching the current optional (or zero-or-more) parser, proceed to match
suffix. - then(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
-
Similar to regex lookahead, returns a pattern that matches the
followingpattern after it has matched this pattern. - thenReturn(R) - Method in class com.google.common.labs.parse.Parser
-
If this parser matches, returns the given result.
- to() - Method in class com.google.mu.util.graph.ShortestPath
-
returns the last node of this path.
- to(Function<? super String, ? extends T>, String) - Static method in class com.google.mu.util.StringFormat
-
Returns a factory of type
Tusingformatstring as the template, whose curly-braced placeholders will be filled with the template arguments and then passed to thecreatorfunction to create theTinstances. - toAdjacentPairs() - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat accumulates every neighboring pair of elements into a newBiStream. - toBiStream() - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat copies each input element as a pair of itself into an equivalentBiStream. - toBiStream(Function<? super E, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat splits each input element as a pair and collects them into aBiStream. - toBiStream(Function<? super E, ? extends K>, Function<? super E, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
Collectorthat splits each input element as a pair and collects them into aBiStream. - toBuilder() - Method in class com.google.mu.collect.PrefixSearchTable
-
Returns a new builder initialized with the same prefix mappings in this table.
- toCase(CaseFormat, String) - Static method in class com.google.guava.labs.base.CaseFormats
-
Converts
inputstring to using the givenCaseFormat. - toDisjointRanges() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a BiCollector that merges values mapped to overlapping ranges into a
Chain, which is an immutableListthat may have been deeplyconcatenated. - toDisjointRanges(BinaryOperator<V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a BiCollector that merges values mapped to overlapping ranges using the
mergerfunction and builds aBiStreamwith disjoint ranges and the corresponding merged values. - toDisjointRanges(Collector<V, ?, R>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a BiCollector that collects values mapped to overlapping ranges using
valueCollector, and builds aBiStreamwith disjoint ranges and the corresponding collector results. - toEnd() - Method in class com.google.mu.util.Substring.Pattern
-
Returns a
Patternthat will match from the substring matched bythisto the end of the input string. - toEntry() - Method in interface com.google.mu.util.Both
-
Returns an immutable
Map.Entryholding the pair of values. - toImmutableBiMap() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableBiMap. - toImmutableBiMap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that first maps each input into a key-value pair, and then collects them into a
ImmutableBiMap. - toImmutableListMultimap() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableListMultimap. - toImmutableListMultimap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that first maps each input into a key-value pair, and then collects them into a
ImmutableListMultimap. - toImmutableMap() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableMap. - toImmutableMap(BinaryOperator<V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableMapusingvalueMergerto merge values of duplicate keys. - toImmutableMap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that first maps each input into a key-value pair, and then collects them into a
ImmutableMap. - toImmutableMap(Collector<V1, ?, V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableMapusingvalueCollectorto collect values of identical keys into a final value of typeV. - toImmutableMapIgnoringDuplicateEntries(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that first maps each input into a key-value pair, and then collects them into a
ImmutableListMultimap. - toImmutableMapIgnoringDuplicateEntries(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
Collectorthat accumulates elements into anImmutableMapwhose keys and values are the result of applying the provided mapping functions to the input elements. - toImmutableMultiset(ToIntFunction<? super V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableMultisetwhose elements are the keys, with counts equal to the result of applyingcountFunctionto the values. - toImmutableRangeMap() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a BiCollector that takes input (disjoint) ranges and the corresponding values and builds an
ImmutableRangeMap. - toImmutableRangeMap(BinaryOperator<V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a BiCollector that merges values mapped to overlapping ranges using the
mergerfunction and builds anImmutableRangeMapwith disjoint ranges and the corresponding merged values. - toImmutableSetMultimap() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableSetMultimap. - toImmutableSetMultimap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that first maps each input into a key-value pair, and then collects them into a
ImmutableSetMultimap. - toImmutableSortedMap(Comparator<? super K>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableSortedMapaccording tocomparator. - toImmutableSortedMap(Comparator<? super K>, BinaryOperator<V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableSortedMapaccording tocomparator, usingvalueMergerto merge values of duplicate keys. - toImmutableTable() - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into anImmutableTable<R,, where each input key (of typeC, V> R) is mapped to a row in the table, and each input value is aBiStream<C, V>whose keys (of typeC) are mapped to columns in the table, and whose values (of typeV) are mapped to the cell values. - toImmutableTable(Function<? super T, ? extends R>, Function<? super T, ? extends C>, Collector<T, ?, V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that maps each value into a row-key and column-key for a table, and then collects all values mapped to the same cell using
cellCollector. - toIndex() - Method in class com.google.mu.util.Ordinal
-
Returns the 0-based index, such that
"1st"will map to 0, thus can be used to read and write elements in arrays and lists. - toIntersection() - Static method in interface com.google.mu.collect.Selection
-
Returns a collector that intersects the input selections.
- toListAndThen(Consumer<? super List<T>>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a collector that collects input elements into a list, which is then arranged by the
arrangerfunction before being wrapped as immutable list result. - toListOf(Function<? super F, ? extends T>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that collects the results of applying the
mapperfunction on the input elements into anImmutableList. - toListValue() - Static method in class com.google.mu.protobuf.util.MoreValues
-
Returns a
Collectorthat collects the input values intoListValue. - toMap() - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into an immutableMap. - toMap() - Method in class com.google.mu.util.stream.BiStream
-
Returns an immutable
Mapthat is the result of collecting the pairs in this stream. - toMap(BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into an immutableMapusingvalueMergerto merge values of duplicate keys. - toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, Supplier<? extends M>) - Static method in class com.google.mu.util.stream.MoreCollectors
-
Returns a
Collectorthat extracts the keys and values through the givenkeyFunctionandvalueFunctionrespectively, and then collects them into a mutableMapcreated bymapSupplier. - toMap(Supplier<? extends M>) - Static method in class com.google.mu.util.stream.BiCollectors
- toMap(Collector<V1, ?, V>) - Static method in class com.google.mu.util.stream.BiCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into an immutableMapusingvalueCollectorto collect values of identical keys into a final value of typeV. - toMultimap(Supplier<M>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a
BiCollectorthat collects the key-value pairs into aMultimapcreated withmultimapSupplier. - topLevelGroups(Pattern) - Static method in class com.google.mu.util.Substring
-
Returns a repeating pattern representing all the top-level groups from
regexPattern. - topologicalOrderFrom(Iterable<? extends N>) - Method in class com.google.mu.util.graph.GraphWalker
-
Fully traverses the graph by starting from
startNodes, and returns an immutable list of nodes in topological order. - topologicalOrderFrom(N...) - Method in class com.google.mu.util.graph.GraphWalker
-
Fully traverses the graph by starting from
startNodes, and returns an immutable list of nodes in topological order. - toRangeMap(Supplier<? extends M>, BinaryOperator<V>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a BiCollector that merges values mapped to overlapping ranges using the
mergerfunction and builds a mutableRangeMapof typeMthat's created byfactory, and populated with disjoint ranges and the corresponding merged values. - toSelection() - Static method in interface com.google.mu.collect.Selection
-
Returns a collector that collects input elements into a limited selection.
- toSetOf(Function<? super F, ? extends T>) - Static method in class com.google.guava.labs.collect.GuavaCollectors
-
Returns a collector that collects the results of applying the
mapperfunction on the input elements into anImmutableSet. - toString() - Method in class com.google.common.labs.csv.Csv
- toString() - Method in class com.google.common.labs.parse.CharacterSet
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Alternation
-
Returns a string representation of this record class.
- toString() - Method in enum class com.google.common.labs.regex.RegexPattern.Anchor
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.AtLeast
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.AtMost
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterProperty.Negated
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.AnyOf
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.CharacterSet.NoneOf
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.CharRange
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Capturing
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Group.Named
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Group.NonCapturing
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Limited
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Literal
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.LiteralChar
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookahead
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.Lookbehind
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookahead
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Lookaround.NegativeLookbehind
-
Returns a string representation of this record class.
- toString() - Method in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- toString() - Method in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Quantified
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.Sequence
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.common.labs.regex.RegexPattern.UnicodeProperty
-
Returns a string representation of this record class.
- toString() - Method in class com.google.guava.labs.collect.InsertionPoint
-
Returns a human-readable string representation of this insertion point.
- toString() - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.Returns the encapsulated SQL query.
- toString() - Method in class com.google.mu.bigquery.ParameterizedQuery
- toString() - Method in interface com.google.mu.collect.Selection
-
Returns
"ALL"ifunlimited, or else returns the string representation of the set of the explicit choices. - toString() - Method in class com.google.mu.protobuf.util.StructBuilder
- toString() - Method in class com.google.mu.safesql.SafeSql
-
Returns the SQL text with the template parameters translated to the JDBC
'?'placeholders. - toString() - Method in class com.google.mu.spanner.ParameterizedQuery
-
Returns the SQL text with the template parameters translated to named Spanner parameters, annotated with parameter values.
- toString() - Method in class com.google.mu.util.StringFormat
-
Returns the string format.
- toString() - Method in class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin
- toString() - Method in class com.google.mu.util.graph.ShortestPath
- toString() - Method in class com.google.mu.util.Ordinal
-
Returns the string representation of this ordinal.
- toString() - Method in interface com.google.mu.util.StringFormat.Template
-
Returns the string representation of the format.
- toString() - Method in class com.google.mu.util.Substring.Match
-
Returns the matched substring.
- toString() - Method in class com.google.mu.util.Substring.Pattern
-
Do not depend on the string representation of Substring, except for subtypes
Substring.PrefixandSubstring.Suffixthat have an explicitly defined representation. - toString() - Method in class com.google.mu.util.Substring.Prefix
-
Returns this prefix string.
- toString() - Method in class com.google.mu.util.Substring.Suffix
-
Returns this suffix string.
- toStruct() - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a
BiCollectorthat collects the input key-value pairs intoStruct. - toStruct() - Method in class com.google.mu.protobuf.util.Structor
-
Returns a
BiCollectorthat accumulates the name-value pairs into aStructwith the values converted usingStructor.toValue(java.lang.Object). - toStruct(Function<? super T, ? extends CharSequence>, Function<? super T, Value>) - Static method in class com.google.mu.protobuf.util.MoreStructs
-
Returns a
Collectorthat collects input key-value pairs intoStruct. - toUnion() - Static method in interface com.google.mu.collect.Selection
-
Returns a collector that unions the input selections.
- toValue(Object) - Method in class com.google.mu.protobuf.util.Structor
-
Converts
objecttoValue. - trailing(CharPredicate) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches from the end of the input string, a non-empty sequence of trailing characters identified bymatcher. - translate(String) - Method in class com.google.guava.labs.safesql.SafeQuery.Translator
-
Deprecated.Translates
templateto a factory ofSafeQueryby filling the provided parameters in the places of corresponding placeholders. - translateLiteral(Substring.Match, Object) - Method in class com.google.guava.labs.safesql.SafeQuery.Translator
-
Deprecated.Called if a placeholder
valueis a non-string, non-Iterable literal appearing unquoted in the template. - Translator() - Constructor for class com.google.guava.labs.safesql.SafeQuery.Translator
-
Deprecated.
- TRUE - Static variable in class com.google.mu.protobuf.util.MoreValues
-
The
Valuefor booleantrue.
U
- UncheckedSqlException - Exception Class in com.google.mu.safesql
-
A simple unchecked wrapper of
SQLException. - UncheckedSqlException(SQLException) - Constructor for exception class com.google.mu.safesql.UncheckedSqlException
- UnicodeProperty(String) - Constructor for record class com.google.common.labs.regex.RegexPattern.UnicodeProperty
-
Creates an instance of a
UnicodePropertyrecord class. - union(Selection<T>) - Method in interface com.google.mu.collect.Selection
-
Returns an union of this selection and
that. - union(Set<? extends T>) - Method in interface com.google.mu.collect.Selection
-
Returns a union of this selection and the elements from
set. - unweightedShortestPathsFrom(N, Function<? super N, ? extends Stream<? extends N>>) - Static method in class com.google.mu.util.graph.ShortestPath
-
Returns a lazy stream of unweighted shortest paths starting from
startNode. - update(Connection) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated DML (create, update, delete statements) against
connectionand returns the number of affected rows. - update(Connection, StatementSettings) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.update(Connection), but withsettings(can be set via lambda likestmt -> stmt.setQueryTimeout(100)) to allow customization. - update(DataSource) - Method in class com.google.mu.safesql.SafeSql
-
Executes the encapsulated DML (create, update, delete statements) against
dataSourceand returns the number of affected rows. - update(DataSource, StatementSettings) - Method in class com.google.mu.safesql.SafeSql
-
Similar to
SafeSql.update(DataSource), but withsettings(can be set via lambda likestmt -> stmt.setQueryTimeout(100)) to allow customization. - UPPER - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
- upToIncluding(Substring.Pattern) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat will match from the beginning of the original string up to the substring matched bypatterninclusively. - using(String, Object...) - Static method in class com.google.mu.util.StringFormat
-
Returns string with the "{placeholder}"s in
templatefilled byargs, in order.
V
- value() - Method in record class com.google.common.labs.regex.RegexPattern.Literal
-
Returns the value of the
valuerecord component. - value() - Method in record class com.google.common.labs.regex.RegexPattern.LiteralChar
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface com.google.mu.safesql.SqlName
-
The name to fetch the corresponding value from a
ResultSet. - valueOf(String) - Static method in enum class com.google.common.labs.regex.RegexPattern.Anchor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.mu.util.Substring.BoundStyle
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.google.common.labs.regex.RegexPattern.Anchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.mu.util.concurrent.StructuredConcurrencyExecutorPlugin.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class com.google.mu.util.stream.BiStream
-
Returns a
Streamconsisting of only the values from each pair in this stream. - values() - Static method in enum class com.google.mu.util.Substring.BoundStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- Walker<N> - Class in com.google.mu.util.graph
-
Implements generic graph and tree traversal algorithms (
pre-order,post-orderandbreadth-first) as lazily evaluated streams, allowing infinite-size graphs. - when(boolean) - Method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.Returns this SafeQuery if
conditionis true; otherwise returnsSafeQuery.EMPTY. - when(boolean) - Method in class com.google.mu.safesql.SafeSql
-
Returns this SafeSql if
conditionis true; otherwise returnsSafeSql.EMPTY. - when(boolean) - Method in class com.google.mu.spanner.ParameterizedQuery
-
Returns this ParameterizedQuery if
conditionis true; otherwise returnsParameterizedQuery.EMPTY. - when(boolean, String, Object...) - Static method in class com.google.guava.labs.safesql.SafeQuery
-
Deprecated.An optional query that's only rendered if
conditionis true; otherwise returnsSafeQuery.EMPTY. - when(boolean, String, Object...) - Static method in class com.google.mu.safesql.SafeSql
-
An optional query that's only rendered if
conditionis true; otherwise returnsSafeSql.EMPTY. - when(boolean, String, Object...) - Static method in class com.google.mu.spanner.ParameterizedQuery
-
An optional query that's only rendered if
conditionis true; otherwise returnsParameterizedQuery.EMPTY. - whileNotNull(Supplier<? extends T>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Similar to
Stream.generate(java.util.function.Supplier<? extends T>), returns an infinite, sequential, ordered, and non-null stream where each element is generated by the provided Supplier. - WHITESPACE - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- with(Object...) - Method in interface com.google.mu.util.StringFormat.Template
-
Returns an instance of
Tfrom the string format filled withparams. - withComments() - Method in class com.google.common.labs.csv.Csv
-
Returns an otherwise equivalent CSV parser but allows comment rows.
- withDelimiter(char) - Method in class com.google.common.labs.csv.Csv
-
Returns an otherwise equivalent CSV parser but using
delimiterinstead of comma. - withLowerCaseChars(CharPredicate) - Method in class com.google.mu.util.CaseBreaker
-
Returns a new instance using
camelLowerto identify lower case characters (don't forget to include digits if they should also be treated as lower case). - withMaxConcurrency(int) - Static method in class com.google.mu.util.concurrent.Fanout
-
Returns a concurrency-limited
Parallelizerthat can be used to run a potentially large number of fanout concurrent tasks using the currently configured standard (virtual thread) executor. - withMaxConcurrency(int) - Static method in class com.google.mu.util.concurrent24.BoundedConcurrency
-
Returns a
BoundedConcurrencyusingmaxConcurrency. - withMaxConcurrency(int, ThreadFactory) - Static method in class com.google.mu.util.concurrent24.BoundedConcurrency
- withPunctuationChars(CharPredicate) - Method in class com.google.mu.util.CaseBreaker
-
Returns a new instance using
punctuationto identify punctuation characters (ones that separate words but aren't themselves included in the result), for example if you want to support dash-case using the en dash (–) character. - withSideEffect(Stream<T>, Consumer<? super T>) - Static method in class com.google.mu.util.stream.MoreStreams
-
Returns a sequential stream with
sideEfectattached on every element. - withUnlimitedConcurrency() - Static method in class com.google.mu.util.concurrent.Fanout
-
Returns a
Parallelizerthat can be used to run any number of fanout concurrent tasks using the currently configured standard (virtual thread) executor. - word() - Static method in class com.google.common.labs.parse.Parser
-
One or more regex
\w+characters. - word() - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence of a word composed of[a-zA-Z0-9_]characters. - word(String) - Static method in class com.google.mu.util.Substring
-
Returns a
Patternthat matches the first occurrence ofwordthat isn't immediately preceded or followed by another "word" ([a-zA-Z0-9_]) character. - WORD - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PredefinedCharClass
- WORD - Static variable in interface com.google.mu.util.CharPredicate
-
Equivalent to the
[a-zA-Z0-9_]character class. - WORD_BOUNDARY - Enum constant in enum class com.google.common.labs.regex.RegexPattern.Anchor
X
- XDIGIT - Enum constant in enum class com.google.common.labs.regex.RegexPattern.PosixCharClass
Y
- yield(Iteration.Continuation) - Method in class com.google.mu.util.stream.BiIteration
-
Deprecated.Yields to the result
BiStreama recursive iteration or lazy side-effect wrapped incontinuation. - yield(Iteration.Continuation) - Method in class com.google.mu.util.stream.Iteration
-
Yields to the stream a recursive iteration or lazy side-effect wrapped in
continuation. - yield(Supplier<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.stream.Iteration
-
Yields to the stream the result of
computation. - yield(L, R) - Method in class com.google.mu.util.stream.BiIteration
-
Deprecated.use
BiIteration.generate(L, R)instead. - yield(T) - Method in class com.google.mu.util.stream.Iteration
-
Deprecated.use
Iteration.generate(T)instead - yieldAll(Iterable<? extends T>) - Method in class com.google.mu.util.stream.Iteration
-
Deprecated.use
Iteration.generate(Iterable)instead
Z
- zeroOrMore() - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching the current parser zero or more times.
- zeroOrMore(CharPredicate, String) - Static method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching consecutive
charsToMatchzero or more times. - zeroOrMore(Collector<? super T, A, ? extends R>) - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching the current parser zero or more times.
- zeroOrMoreDelimited(Parser<A>, Parser.OrEmpty, String, BiCollector<? super A, ? super B, R>) - Static method in class com.google.common.labs.parse.Parser
-
Applies
firstand the optionalsecondpatterns in order, for zero or more times, collecting the results using the providedBiCollector. - zeroOrMoreDelimited(Parser<A>, Parser<B>, String, BiCollector<? super A, ? super B, R>) - Static method in class com.google.common.labs.parse.Parser
-
Applies
firstandsecondpatterns in order, for zero or more times, collecting the results using the providedBiCollector. - zeroOrMoreDelimitedBy(String) - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching the current parser zero or more times, delimited by
delimiter. - zeroOrMoreDelimitedBy(String, Collector<? super T, A, ? extends R>) - Method in class com.google.common.labs.parse.Parser
-
Starts a fluent chain for matching the current parser zero or more times, delimited by
delimiter. - zip(Collection<L>, Collection<R>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamin which the first element inleftis paired with the first element inright; the second paired with the corresponding second and the third with the corresponding third etc. - zip(Stream<L>, Stream<R>) - Static method in class com.google.mu.util.stream.BiStream
-
Returns a
BiStreamin which the first element inleftis paired with the first element inright; the second paired with the corresponding second and the third with the corresponding third etc.
All Classes and Interfaces|All Packages|Serialized Form