Index

A B C D E F G H I J K L M N O P R S T U V W Y Z 
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(F) - Method in class com.google.mu.util.Funnel.Batch
Deprecated.
Adds source to be converted.
accept(F, Consumer<? super T>) - Method in class com.google.mu.util.Funnel.Batch
Deprecated.
Adds source to be converted.
accept(F, Function<? super T, ? extends T>) - Method in class com.google.mu.util.Funnel.Batch
Deprecated.
Adds source to be converted.
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, with values wrapped in ListValue.
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 compoundKey to value.
add(K, V) - Method in class com.google.mu.util.stream.BiStream.Builder
 
add(T) - Method in class com.google.mu.util.Funnel
Deprecated.
Adds element to the funnel.
addAll(Multimap<String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
Adds all distinct keys from multimap into this builder.
addAll(Table<String, String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
Adds all rows from table into this builder.
addAll(Map<? extends List<? extends K>, ? extends V>) - Method in class com.google.mu.collect.PrefixSearchTable.Builder
Adds all of mappings into this builder.
addAll(Map<String, Value>) - Method in class com.google.mu.protobuf.util.StructBuilder
Adds all key-value pairs from map into this builder.
addAllFields(StructBuilder) - Method in class com.google.mu.protobuf.util.StructBuilder
Adds all fields from that into this builder.
addAllFields(Struct) - Method in class com.google.mu.protobuf.util.StructBuilder
Adds all fields from that into this builder.
addToIfAbsent(String) - Method in class com.google.mu.util.Substring.Prefix
If string has 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 string has 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 builder does not already have this prefix, prepend this prefix to it.
addToIfAbsent(StringBuilder) - Method in class com.google.mu.util.Substring.Suffix
If builder does 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.mu.collect.InsertionPoint
Returns an insertion point immediately after floor.
after(int) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point immediately after the given floor and before the next integer (if ceiling isn't Integer.MAX_VALUE).
after(long) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point immediately after the given floor and before the next integer (if ceiling isn't Long.MAX_VALUE).
after(Substring.Pattern) - Static method in class com.google.mu.util.Substring
Returns a Pattern that covers the substring after delimiter.
after(C, DiscreteDomain<C>) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point immediately after the given floor and before the next element in the given discrete domain (if a next element exists).
afterDelay(E) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Called after the delay, immediately before the retry.
all() - Static method in interface com.google.mu.collect.Selection
Returns an unlimited selection of all (unspecified) choices.
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 Collector that collects all of the greatest (relative to the specified Comparator) input elements, in encounter order, using the downstream collector.
allMin(Comparator<? super T>, Collector<? super T, ?, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
Returns a Collector that collects all of the least (relative to the specified Comparator) input elements, in encounter order, using the downstream collector.
ALPHA - Static variable in interface com.google.mu.util.CharPredicate
Equivalent to the [a-zA-Z] character class.
alternationFrom(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
Returns the alternation of this pattern from the input string, with the matched substring alternated with the trailing substring before the next match.
and() - Static method in class com.google.mu.safesql.SafeQuery
A collector that joins boolean query snippets using AND operator.
and(CharPredicate) - Method in interface com.google.mu.util.CharPredicate
Returns a CharPredicate that evaluates true if both this and that predicate evaluate to true.
andThen(CheckedBiConsumer<? super A, ? super B, ? extends E>) - Method in interface com.google.mu.function.CheckedBiConsumer
Returns a new CheckedBiConsumer that also passes the inputs to that.
andThen(CheckedConsumer<? super T, E>) - Method in interface com.google.mu.function.CheckedConsumer
Returns a new CheckedConsumer that also passes the input to that.
andThen(CheckedDoubleConsumer<E>) - Method in interface com.google.mu.function.CheckedDoubleConsumer
Returns a new CheckedDoubleConsumer that also passes the input to that.
andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.google.mu.function.CheckedBiFunction
Returns a new CheckedBiFunction that maps the return value using mapper.
andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.google.mu.function.CheckedFunction
Returns a new CheckedFunction that maps the return value using mapper.
andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.google.mu.function.CheckedSupplier
Returns a new CheckedSupplier that maps the return value using mapper.
andThen(CheckedIntConsumer<E>) - Method in interface com.google.mu.function.CheckedIntConsumer
Returns a new CheckedIntConsumer that also passes the input to that.
andThen(CheckedLongConsumer<E>) - Method in interface com.google.mu.function.CheckedLongConsumer
Returns a new CheckedLongConsumer that also passes the input to that.
andThen(BiFunction<? super A, ? super B, T>) - Method in interface com.google.mu.util.Both
Applies the mapper function with this pair of two things as arguments.
ANY - Static variable in interface com.google.mu.util.CharPredicate
Corresponds to all characters.
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(String) - Static method in interface com.google.mu.util.CharPredicate
Returns a CharPredicate that matches any of chars.
append(BiStream<? extends K, ? extends V>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of the pairs in this stream, followed by the pairs in other.
append(K, V) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of the pairs in this stream, followed by the pair of key and value.
apply(A, B) - Method in interface com.google.mu.function.CheckedBiFunction
 
apply(F) - Method in interface com.google.mu.function.CheckedFunction
 
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 over listValue.
asMap(Struct) - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Map<String, Object> view over struct.
asSet(Optional<? extends T>) - Static method in class com.google.mu.util.Optionals
Returns an immutable singleton Set whose only element is the contained instance if it is present; an empty immutable Set otherwise.
at(C) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point exactly at element such that InsertionPoint.exact(), InsertionPoint.floor and InsertionPoint.ceiling all return the same element.
averagingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that 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 BiCollector that 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 BiCollector that 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.mu.collect.InsertionPoint
Returns an insertion point immediately before ceiling.
before(int) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point immediately before the given ceiling and after the previous integer (if ceiling isn't Integer.MIN_VALUE).
before(long) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point immediately before the given ceiling and after the previous integer (if ceiling isn't Long.MIN_VALUE).
before(Substring.Pattern) - Static method in class com.google.mu.util.Substring
Returns a Pattern that covers the substring before delimiter.
before(C, DiscreteDomain<C>) - Static method in class com.google.mu.collect.InsertionPoint
Returns an insertion point immediately before the given ceiling and after the previous element in the given discrete domain (if a previous element exists).
beforeDelay(E) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Called if event will be retried after the delay.
BEGINNING - Static variable in class com.google.mu.util.Substring
Pattern that 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 before and after.
between(char, char) - Static method in class com.google.mu.util.Substring
Returns a Pattern that will match the substring between the first open and the first close after 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.mu.collect.InsertionPoint
Returns an insertion point in the open range of (floor, ceiling).
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 Pattern that will match the substring between open and close.
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) - Static method in class com.google.mu.util.Substring
Returns a Pattern that will match the substring between the first open and the first close after it.
BiAccumulator<C,L,R> - Interface in com.google.mu.util.stream
Interface modeling a builder funcction that accepts two parameters.
BiCollection<L,R> - Class in com.google.mu.util.stream
Deprecated.
too niche
BiCollector<K,V,R> - Interface in com.google.mu.util.stream
Logically, a BiCollector collects "pairs of things", just as a Collector collects "things".
BiCollectors - Class in com.google.mu.util.stream
Common utilities pertaining to BiCollector.
BiIteration<L,R> - Class in com.google.mu.util.stream
Similar to Iteration, but is used to iteratively yield() pairs into a lazy BiStream.
BiIteration() - Constructor for class com.google.mu.util.stream.BiIteration
 
biMap() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty bimap.
biMap(K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable bimap containing a single entry.
biMap(K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(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.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
biMap(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.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
BinarySearch - Class in com.google.mu.collect
Generic binary search algorithm with support for and beyond sorted lists and arrays, in a fluent API.
BinarySearch.DoubleSearchTarget - Interface in com.google.mu.collect
Represents the search target that can be found through bisecting the double domain.
BinarySearch.IntSearchTarget - Interface in com.google.mu.collect
Represents the search target that can be found through bisecting the integer domain.
BinarySearch.LongSearchTarget - Interface in com.google.mu.collect
Represents the search target that can be found through bisecting the long integer domain.
BinarySearch.Table<K,C> - Class in com.google.mu.collect
Like a hash table, allows looking up comparable values by a key, except the lookup is through binary search instead of hashing.
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 BiStream of mappings between keys and the corresponding return values of the toValue function.
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 BiStream of mappings between the key returned by the toKey function (when applied to each element of values), and the element itself.
biStream(Function<? super V, ? extends K>, Stream<V>) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream of mappings between the key returned by the toKey function (when applied to each element of values), and the element itself.
biStream(Stream<K>, Function<? super K, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream of mappings between keys and the corresponding return values of the toValue function.
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 BiStream into sub-groups of consecutive pairs.
both(Optional<? extends A>, Optional<? extends B>) - Static method in class com.google.mu.util.Optionals
If a and b are present, returns a BiOptional instance containing them; otherwise returns an empty BiOptional.
Both<A,B> - Interface in com.google.mu.util
Represents two unrelated or loosely-related things of type A and B.
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 startNodes and walks in breadth-first order.
breadthFirstFrom(N...) - Method in class com.google.mu.util.graph.Walker
Starts from startNodes and 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 at lowerCamelCase and UpperCamelCase boundaries.
build() - Method in class com.google.mu.collect.PrefixSearchTable.Builder
 
build() - Method in class com.google.mu.protobuf.util.StructBuilder
Returns a new Struct instance with all added fields.
build() - Method in class com.google.mu.util.stream.BiStream.Builder
 
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.mu.collect.BinarySearch.Table
Returns a new BinarySearch.Table over the same source but transforms the search target using the given keyFunction first.
byValue(Predicate<? super T>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Turns condition to a Predicate over Maybe.

C

CaseBreaker - Class in com.google.mu.util
Utility to break and convert input strings (normally identifier strings) in camelCase, UpperCamelCase, snake_case, UPPER_SNAKE_CASE and dash-case etc.
CaseBreaker() - Constructor for class com.google.mu.util.CaseBreaker
 
catchException(Class<E>, CompletionStage<? extends T>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Returns a wrapper of stage that if stage failed with exception of exceptionType, that exception is caught and wrapped inside a Maybe to complete the wrapper stage normally.
catching(CheckedConsumer<? super E, ? extends X>) - Method in class com.google.mu.util.Maybe
Deprecated.
Catches and handles exception with handler, and then skips it in the returned Stream.
ceiling() - Method in class com.google.mu.collect.InsertionPoint
Returns the ceiling element such that this insertion point is immediately <= the ceiling.
characteristics() - Method in class com.google.mu.util.stream.Joiner
 
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.
CheckedBiConsumer<A,B,E> - Interface in com.google.mu.function
A binary consumer that can throw checked exceptions.
CheckedBiFunction<A,B,T,E> - Interface in com.google.mu.function
A binary function that can throw checked exceptions.
CheckedBiPredicate<A,B,E> - Interface in com.google.mu.function
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,E> - Interface in com.google.mu.function
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.
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 R that is the result of collecting the pairs in this stream using collector.
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, T>, Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that maps the result of upstream collector using finisher.
collectingAndThen(Function<? super BiStream<K, V>, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that first collects the input pairs into a BiStream and then applies finisher on the intermediary BiStream.
collectorOf(Function<E, K>, Function<E, V>) - Method in interface com.google.mu.util.stream.BiCollector
Returns a Collector such that the keys (as returned by the toKey function) and values (as returned by the toValue function) of the input elements are collected by this BiCollector.
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
GoogleSql, SafeQuery
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
Parallelizer (parallel stream using Executor), Retryer.
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 mapper function.
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 mapper function.
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 mapper function.
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 mapper function.
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 mapper function.
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 mapper function.
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 mapper function.
compareTo(InsertionPoint<C>) - Method in class com.google.mu.collect.InsertionPoint
 
compareTo(Retryer.Delay<E>) - Method in class com.google.mu.util.concurrent.Retryer.Delay
 
compareTo(Ordinal) - Method in class com.google.mu.util.Ordinal
Compares to that according to natural order.
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 BiStream of the entries from s1, s2 then rest in 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 BiStream of the entries from m1, m2 then rest in encounter order.
concat(Stream<? extends BiStream<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream of pairs from biStreams concatenated in encounter order.
concatenating(Function<? super T, ? extends BiStream<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that concatenates BiStream objects derived from the input elements using the given toBiStream function.
concurrently(Supplier<A>, Supplier<B>, StructuredConcurrency.Join2<? super A, ? super B, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a and b concurrently in their own virtual threads.
concurrently(Supplier<A>, Supplier<B>, Supplier<C>, StructuredConcurrency.Join3<? super A, ? super B, ? super C, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a, b and c concurrently in their own virtual threads.
concurrently(Supplier<A>, Supplier<B>, Supplier<C>, Supplier<D>, StructuredConcurrency.Join4<? super A, ? super B, ? super C, ? super D, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a, b, c and d concurrently in their own virtual threads.
concurrently(Supplier<A>, Supplier<B>, Supplier<C>, Supplier<D>, Supplier<E>, StructuredConcurrency.Join5<? super A, ? super B, ? super C, ? super D, ? super E, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a, b, c, d and e concurrently in their own virtual threads.
consecutive(CharPredicate) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the first non-empty sequence of consecutive characters identified by matcher.
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 BiCollector that counts the number of input entries.
countingBy(Function<? super T, ? extends B>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a collector that counts the number of occurrences for each unique bucket as determined by the bucketer function.
countingDistinct() - Static method in class com.google.mu.util.stream.BiCollectors
Returns a counting BiCollector that counts the number of distinct input entries according to Object.equals(java.lang.Object) for both keys and values.
crossJoining(Stream<R>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that will pair each input element with each element from right into a new BiStream.
cut(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
Returns a stream of Match objects from the input string as 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 Instant and ZonedDateTime parsing for all common date time strings, without needing a DateTimeFormatter:
defaultValue(Object) - Method in class com.google.mu.protobuf.util.Structor
Called by Structor.toValue(java.lang.Object) when object cannot be converted.
Delay() - Constructor for class com.google.mu.util.concurrent.Retryer.Delay
 
delimitedBy(char) - Static method in interface com.google.mu.collect.Selection
Returns a parser for Selection, using the delimiter character to delimit explicit selection elements.
delimitedBy(Substring.Pattern) - Static method in interface com.google.mu.collect.Selection
Returns a parser for Selection, using the delimiter patter to delimit explicit selection elements.
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 spliterator into smaller chunks each with up to maxSize elements.
dice(Stream<? extends T>, int) - Static method in class com.google.mu.util.stream.MoreStreams
Dices stream into smaller chunks each with up to maxSize elements.
distance() - Method in class com.google.mu.util.graph.ShortestPath
Returns the non-negative distance between the starting node and the last node of this path.
distinct() - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of only the distinct pairs (according to Object.equals(Object) for both key and value).
duration() - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns the delay interval.

E

empty() - Static method in class com.google.mu.util.BiOptional
Returns an empty BiOptional instance.
empty() - Static method in class com.google.mu.util.stream.BiStream
Returns an empty BiStream.
END - Static variable in class com.google.mu.util.Substring
Pattern that 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.mu.bigquery.ParameterizedQuery
 
equals(Object) - Method in class com.google.mu.collect.InsertionPoint
 
equals(Object) - Method in interface com.google.mu.collect.Selection
Returns true if obj is an equivalent Selection instance.
equals(Object) - Method in class com.google.mu.safesql.SafeQuery
 
equals(Object) - Method in class com.google.mu.util.concurrent.Retryer.Delay
 
equals(Object) - Method in class com.google.mu.util.Ordinal
 
equals(Object) - Method in class com.google.mu.util.stream.BiCollection
Deprecated.
 
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.mu.collect.InsertionPoint
If this represents an exact point (not between two adjacent values), returns the element at the point; else returns empty.
except(E) - Static method in class com.google.mu.util.Maybe
Deprecated.
Creates an exceptional Maybe for exception.
EXCLUSIVE - Enum constant in enum class com.google.mu.util.Substring.BoundStyle
The match doesn't include the bound
exponentialBackoff(double, int) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns an immutable List of delays with size.

F

FALSE - Static variable in class com.google.mu.protobuf.util.MoreValues
The Value for boolean false.
fibonacci(int) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns a fibonacci list of delays of size, as in 1, 1, 2, 3, 5, 8, ... with this delay being the multiplier.
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 this BiOptional instance.
filter(BiPredicate<? super A, ? super B>) - Method in interface com.google.mu.util.Both
If the pair matches() condition, returns a BiOptional containing the pair, or else returns empty.
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.mu.collect.BinarySearch.Table
Searches for target and 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 collection has at least 3 elements, passes the first 3 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findFirstElements(Collection<T>, MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has at least 4 elements, passes the first 4 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findFirstElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has at least 5 elements, passes the first 5 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findFirstElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has at least 6 elements, passes the first 6 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findFirstElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has at least 7 elements, passes the first 6 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findFirstElements(Collection<T>, MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has at least 8 elements, passes the first 6 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findFirstElements(Collection<T>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has at least two elements, passes the first two elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly 3 elements, passes the 3 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly 4 elements, passes the 4 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly 5 elements, passes the 5 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly 6 elements, passes the 6 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly 7 elements, passes the 6 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly 8 elements, passes the 6 elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
findOnlyElements(Collection<T>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.collect.MoreCollections
If collection has exactly two elements, passes the two elements to found function and returns the non-null result wrapped in an Optional, or else returns Optional.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 Pattern that matches the first occurrence of character.
first(CharPredicate) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the first character found by charMatcher.
first(String) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the first occurrence of str.
first(Pattern) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the first occurrence of regexPattern.
first(Pattern, int) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the first occurrence of regexPattern and then selects the capturing group identified by group.
firstOccurrence() - Static method in class com.google.mu.util.Substring
Returns a Collector that collects the input candidate Substring.Pattern and reults in a pattern that matches whichever that occurs first in the input string.
FixedSizeCollector<T,A,R> - Class in com.google.mu.util.stream
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-bearing mapper to 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, Maybe<T2, E>>) - Method in class com.google.mu.util.Maybe
Deprecated.
Flat maps this using f unless it wraps exception.
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 optional to a BiOptional using mapper, 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 BiCollector that first flattens the input pair using flattener and then collects the result pairs using downstream collector.
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 BiCollector that first flattens the input pair using flattener and then collects the results using downstream collector.
flatMapping(Function<? super T, ? extends BiStream<? extends K, ? extends V>>, BiCollector<K, 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 a Collector that first flattens the input stream of pairs (as opposed to single elements) and then collects the flattened pairs with the downstream BiCollector.
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.
flatten(Stream<? extends Stream<? extends T>>) - Static method in class com.google.mu.util.stream.MoreStreams
Deprecated.
Use flatMap() in Java 10+
flatteningMaps(BiCollector<K, V, R>) - Static method in class com.google.mu.util.stream.MoreCollectors
Returns a Collector that flattens the input Map entries and collects them using the downstream BiCollector.
flatteningToImmutableListMultimap(Function<? super T, ? extends Stream<? extends V>>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that first flattens each value of the input pair with flattener, and then collects the flattened pairs into an ImmutableListMultimap.
flatteningToImmutableSetMultimap(Function<? super T, ? extends Stream<? extends V>>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that first flattens each value of the input pair with flattener, and then collects the flattened pairs into an ImmutableSetMultimap.
flatteningToStruct() - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Collector that flattens all fields from the input Structs and collects them into the final Struct.
floor() - Method in class com.google.mu.collect.InsertionPoint
Returns the floor element such that this insertion point is immediately >= the floor.
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 lookahead string.
forDoubles() - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table over all finite double values (except Double.NaN, Double.NEGATIVE_INFINITY and Double.POSITIVE_INFINITY).
forDoubles(Range<Double>) - Static method in class com.google.mu.collect.BinarySearch
Similar to BinarySearch.forInts(Range), but returns a BinarySearch.Table over the given range of double precision numbers.
forEach(BiConsumer<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
Performs action for each pair in this stream.
forEachOrdered(BiConsumer<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
Performs action for each pair in this stream, in order.
forInts() - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table over all integers.
forInts(Range<Integer>) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table over the given range.
forLongs() - Static method in class com.google.mu.collect.BinarySearch
Similar to BinarySearch.forInts(), but returns a BinarySearch.Table over all long integers.
forLongs(Range<Long>) - Static method in class com.google.mu.collect.BinarySearch
Similar to BinarySearch.forInts(Range), but returns a BinarySearch.Table over the given range of long integers.
format(Object...) - Method in class com.google.mu.util.StringFormat
Returns the string formatted with placeholders filled using args.
formatOf(String) - Static method in class com.google.mu.time.DateTimeFormats
Infers and returns the DateTimeFormatter based on example.
from(CharSequence) - Method in class com.google.mu.util.Substring.Pattern
Matches this pattern against string, returning the matched substring if successful, or empty() otherwise.
from(CharSequence) - Method in class com.google.mu.util.Substring.RepeatingPattern
Applies this pattern against string and returns a stream of each iteration.
from(String, Object...) - Static method in class com.google.mu.safesql.GoogleSql
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 BiStream of the key value pairs from entries.
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 create BiStream<UserId, User>, or, use biStream(users, User::getAccount) to create BiStream<User, Account>. Then use BiStream.mapKeys(java.util.function.BiFunction<? super K, ? super V, ? extends K2>) or BiStream.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 BiStream of the entries in map.
from(Optional<T>) - Static method in class com.google.mu.util.BiOptional
If optional is present with value v, adapts it to BiOptional containing values (v, v).
from(Stream<? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream of the pairs from stream.
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 create BiStream<UserId, User>, or, use biStream(users, User::getAccount) to create BiStream<User, Account>. Then use BiStream.mapKeys(java.util.function.BiFunction<? super K, ? super V, ? extends K2>) or BiStream.mapValues(java.util.function.BiFunction<? super K, ? super V, ? extends V2>) to apply further mappings.
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 zeroBased index.
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.
Funnel<T> - Class in com.google.mu.util
Deprecated.
too niche
Funnel() - Constructor for class com.google.mu.util.Funnel
Deprecated.
 
Funnel.Batch<F,T> - Class in com.google.mu.util
Deprecated.
too niche

G

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 step to the initial seed, 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(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 compoundKey and returns a lazy BiStream of all mappings in ascending order of prefix length.
GoogleSql - Class in com.google.mu.safesql
Facade class providing SafeQuery templates for GoogleSQL.
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 stream lazily.
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 stream lazily.
groupConsecutive(Stream<T>, Function<? super T, ?>, BinaryOperator<T>) - Static method in class com.google.mu.util.stream.MoreStreams
Groups consecutive elements from stream lazily.
groupConsecutive(Stream<T>, Function<? super T, ?>, Collector<? super T, ?, R>) - Static method in class com.google.mu.util.stream.MoreStreams
Groups consecutive elements from stream lazily.
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 BiStream consisting 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 BiStream of 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 BiStream consisting 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 Stream of 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 Stream of 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 Stream of 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 classifier and collects entries belonging to the same group into a nested BiStream.
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 classifier and collects entries belonging to the same group using groupCollector.
groupingBy(Function<? super K, ? extends G>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiCollectors
Groups input pairs by classifier and reduces values belonging to the same group using groupReducer.
groupingBy(Function<? super K, ? extends G>, Collector<? super V, ?, R>) - Static method in class com.google.mu.util.stream.BiCollectors
Groups input entries by classifier and collects values belonging to the same group using groupCollector.
groupingBy(Function<? super T, ? extends K>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that groups the input elements by classifier and collects the values mapping to the same key into a List.
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 Collector that groups the input elements by classifier and reduces the values mapping to the same key using mapper then reducer.
groupingBy(Function<? super T, ? extends K>, Collector<? super T, ?, V>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that groups the input elements by classifier and collects the values mapping to the same key using valueCollector.
groupingBy(Function<? super V, ? extends K>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that groups the input elements by classifier and reduces the values mapping to the same key using reducer.
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 Collector grouping input elements by each of the multiple keys returned by the keysFunction.
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 Collector grouping input elements by each of the multiple keys returned by the keysFunction.
groupingByEach(Function<? super T, ? extends Stream<? extends K>>, Collector<T, ?, V>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector grouping input elements by each of the multiple keys returned by the keysFunction.
GuavaCollectors - Class in com.google.mu.util.stream
Guava-specific Collectors and BiCollectors.

H

has(T) - Method in interface com.google.mu.collect.Selection
Returns true if candidate is in this selection.
hashCode() - Method in class com.google.mu.bigquery.ParameterizedQuery
 
hashCode() - Method in class com.google.mu.collect.InsertionPoint
 
hashCode() - Method in interface com.google.mu.collect.Selection
 
hashCode() - Method in class com.google.mu.safesql.SafeQuery
 
hashCode() - Method in class com.google.mu.util.concurrent.Retryer.Delay
 
hashCode() - Method in class com.google.mu.util.Ordinal
 
hashCode() - Method in class com.google.mu.util.stream.BiCollection
Deprecated.
 
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 source with this prefix hidden away if present, or else returns source as is.
hideFrom(String) - Method in class com.google.mu.util.Substring.Suffix
Returns a view of source with this suffix hidden away if present, or else returns source as is.

I

ifPresent(BiOptional<A, B>, CheckedBiConsumer<? super A, ? super B, E>) - Static method in class com.google.mu.util.Optionals
Runs action if 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 consumer with them.
ifPresent(Consumer<? super T>) - Method in class com.google.mu.util.Maybe
Deprecated.
Applies consumer if this is present.
ifPresent(Optional<A>, Optional<B>, CheckedBiConsumer<? super A, ? super B, E>) - Static method in class com.google.mu.util.Optionals
Invokes consumer if both left and right are present.
ifPresent(Optional<T>, CheckedConsumer<? super T, E>) - Static method in class com.google.mu.util.Optionals
Invokes consumer if optional is present.
ifPresent(OptionalDouble, CheckedDoubleConsumer<E>) - Static method in class com.google.mu.util.Optionals
Invokes consumer if optional is present.
ifPresent(OptionalInt, CheckedIntConsumer<E>) - Static method in class com.google.mu.util.Optionals
Invokes consumer if optional is present.
ifPresent(OptionalLong, CheckedLongConsumer<E>) - Static method in class com.google.mu.util.Optionals
Invokes consumer if optional is present.
ifReturns(Predicate<T>, List<? extends Retryer.Delay<? super T>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new object that retries if the return value satisfies condition.
ifReturns(Predicate<T>, Stream<? extends Retryer.Delay<? super T>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new object that retries if the return value satisfies condition.
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 the lookbehind and/or lookahead inclusive in the match.
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 lookbehind string and immediately followed by the after string.
Immutables - Class in com.google.mu.collect
Deprecated.
Please do not use it. It's only used internally.
in(String) - Method in class com.google.mu.util.Substring.Pattern
Matches this pattern against string, returning a Match if successful, or empty() otherwise.
in(String, int) - Method in class com.google.mu.util.Substring.Pattern
Matches this pattern against string starting from the character at fromIndex, returning a Match if successful, or empty() otherwise.
inBinaryTree(UnaryOperator<N>, UnaryOperator<N>) - Static method in class com.google.mu.util.graph.Walker
Returns a BinaryTreeWalker for walking in the binary tree topology as observed by getLeft and getRight functions.
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 Stream starting from firstIndex.
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.mu.util.stream.GuavaCollectors
Returns a Collector that collects to an ImmutableMap with the input elements uniquely indexed by the return value of indexingFunction.
inGraph(Function<? super N, ? extends Stream<? extends N>>) - Static method in class com.google.mu.util.graph.Walker
Returns a Walker to walk the graph topology (possibly with cycles) as observed by the findSuccessors function, 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 a Walker that can be used to traverse a graph of nodes.
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
Returns a Collector that runs concurrentFunction in parallel using this Parallelizer and returns the inputs and outputs in a BiStream, in encounter order of the input elements.
InsertionPoint<C> - Class in com.google.mu.collect
Represents a result of BinarySearch.
insertionPointAfter(K) - Method in class com.google.mu.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.mu.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.mu.collect.BinarySearch.Table
Finds the InsertionPoint if target were to be added in order.
inSortedArray(int[]) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for array element indexes in the given sorted int array.
inSortedArray(long[]) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for array element indexes in the given sorted long array.
inSortedArrayWithTolerance(double[], double) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for array element indexes in the given sorted double array.
inSortedList(List<? extends E>) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for element indexes in the given sorted list.
inSortedList(List<? extends E>, Comparator<? super E>) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for element indexes in the given sorted list according to comparator.
inSortedList(List<? extends E>, Function<? super E, ? extends Q>) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for element indexes in the given list sorted by the sortBy function.
inSortedListWithTolerance(List<Double>, double) - Static method in class com.google.mu.collect.BinarySearch
Returns a BinarySearch.Table to search for element indexes in the given list of sorted double values.
interpolate(List<String>, BiStream<Substring.Match, Object>) - Method in interface com.google.mu.util.StringFormat.Interpolator
Interpolates with fragments of size N + 1 and placeholders of size N.
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 BiConsumer that accumulates pairs into container.
inTree(Function<? super N, ? extends Stream<? extends N>>) - Static method in class com.google.mu.util.graph.Walker
Returns a Walker to walk the tree topology (no cycles) as observed by the findChildren function, which finds children of any given tree node.
inverse() - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream where each pair is a pair from this stream with the key and value swapped.
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.mu.collect.InsertionPoint
Returns true if this is a point above the max possible element in the domain.
isBelowAll() - Method in class com.google.mu.collect.InsertionPoint
Returns true if this is a point below the min possible element in the domain.
isEmpty() - Method in interface com.google.mu.collect.Selection
Returns true if this is a limited selection with zero elements included.
isEmpty() - Method in class com.google.mu.util.Substring.Match
Returns true if the match is empty.
isFollowedBy(String) - Method in class com.google.mu.util.Substring.Match
Returns true if the match is immediately followed by the lookahead string.
isImmediatelyBetween(String, String) - Method in class com.google.mu.util.Substring.Match
Returns true if the match immediately follows the lookbehind string and is immediately followed by the lookahead string.
isIn(CharSequence) - Method in class com.google.mu.util.Substring.Prefix
Returns true if source starts with this prefix.
isIn(CharSequence) - Method in class com.google.mu.util.Substring.Suffix
Returns true if source ends with this suffix.
isNotEmpty() - Method in class com.google.mu.util.Substring.Match
Returns true if the match isn't empty.
isPrecededBy(String) - Method in class com.google.mu.util.Substring.Match
Returns true if the match immediately follows the lookbehind string.
isPresent() - Method in class com.google.mu.util.BiOptional
Returns true if the pair of values is present.
isPresent() - Method in class com.google.mu.util.Maybe
Deprecated.
Returns true unless this is exceptional.
iterate() - Method in class com.google.mu.util.stream.BiIteration
Starts iteration over the yielded pairs.
iterate() - Method in class com.google.mu.util.stream.Iteration
Starts iteration over the yielded elements.
iterateOnce(Stream<T>) - Static method in class com.google.mu.util.stream.MoreStreams
Iterates through stream only once.
iterateThrough(Stream<? extends T>, CheckedConsumer<? super T, E>) - Static method in class com.google.mu.util.stream.MoreStreams
Iterates through stream sequentially and passes each element to consumer with 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.

J

jobConfiguration() - Method in class com.google.mu.bigquery.ParameterizedQuery
Returns the QueryJobConfiguration that can be sent to BigQuery.
join(A, B) - Method in interface com.google.mu.util.concurrent.StructuredConcurrency.Join2
 
join(A, B, C) - Method in interface com.google.mu.util.concurrent.StructuredConcurrency.Join3
 
join(A, B, C, D) - Method in interface com.google.mu.util.concurrent.StructuredConcurrency.Join4
 
join(A, B, C, D, E) - Method in interface com.google.mu.util.concurrent.StructuredConcurrency.Join5
 
join(Object, Object) - Method in class com.google.mu.util.stream.Joiner
Joins l and r together.
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.mu.bigquery.ParameterizedQuery
Returns a collector that joins ParameterizedQuery elements using delimiter.
joining(String) - Static method in class com.google.mu.safesql.SafeQuery
Returns a collector that can join SafeQuery objects using delim as the delimiter.

K

keys() - Method in class com.google.mu.util.stream.BiStream
Returns a Stream consisting of only the keys from each pair in this stream.

L

last(char) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the last occurrence of character.
last(CharPredicate) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the last character found by charMatcher.
last(String) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the last occurrence of str.
leading(CharPredicate) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches from the beginning of the input string, a non-empty sequence of leading characters identified by matcher.
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 BiStream consisting of the only the first maxSize pairs 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 Pattern that's equivalent to this pattern except it only matches at most maxChars.
limited() - Method in interface com.google.mu.collect.Selection
Returns the limited choices if this selection is a limited instance; Optional.empty() for unlimited instances.
list() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty immutable list.
list(E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing a single element.
list(E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E, E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
list(E, E, E, E, E, E, E, E, E, E, E, E, E...) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable list containing the given elements, in order.
listValueOf(double...) - Static method in class com.google.mu.protobuf.util.MoreValues
Returns ListValue wrapping values.
listValueOf(Struct...) - Static method in class com.google.mu.protobuf.util.MoreValues
Returns ListValue wrapping values.
listValueOf(String...) - Static method in class com.google.mu.protobuf.util.MoreValues
Returns ListValue wrapping values.
locate(double, double, double) - Method in interface com.google.mu.collect.BinarySearch.DoubleSearchTarget
Given a range of [low..high] inclusively with median as the mid point of the binary search, locates the target.
locate(int, int, int) - Method in interface com.google.mu.collect.BinarySearch.IntSearchTarget
Given a range of [low..high] inclusively with mid as the middle point of the binary search, locates the target.
locate(long, long, long) - Method in interface com.google.mu.collect.BinarySearch.LongSearchTarget
Given a range of [low..high] inclusively with mid as the middle point of the binary search, locates the target.

M

map() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty map.
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 aMapper and bMapper to them, and if both results are non-null, return a new BiOptional instance 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 mapper to them, and if the result is non-null, return an Optional containing it.
map(BiFunction<? super K, ? super V, ? extends Both<? extends K2, ? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of the result pairs of applying mapper to the pairs in this BiStream.
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 BiStream consisting of the results of applying keyMapper and valueMapper to the pairs in this BiStream.
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 aMapper and bMapper to each respectively, and if both results are non-null, return a new BiOptional instance containing the results.
map(Function<? super T, ? extends T2>) - Method in class com.google.mu.util.Maybe
Deprecated.
Maps this using function unless it wraps exception.
map(K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing a single entry.
map(K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(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.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
map(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.collect.Immutables
Deprecated.
Returns an immutable map containing the given entries, in order.
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 BiStream consisting of the results of applying mapper function to the pairs in this BiStream.
mapKeys(BiFunction<? super K, ? super V, ? extends K2>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream of pairs whose keys are the result of applying keyMapper to the key of each pair in this BiStream, 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 BiStream of pairs whose keys are the result of applying keyMapper to each pair in this BiStream, and whose values are unchanged.
mapKeysIfPresent(Function<? super K, ? extends Optional<? extends K2>>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream of pairs whose keys are the result of applying keyMapper to the key of each pair in this BiStream, and whose values are unchanged.
mapKeysIfPresent(Map<? super K, ? extends K2>) - Method in class com.google.mu.util.stream.BiStream
Given keyMapping that maps the keys of type K to elements of type K2, returns a BiStream of 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 BiCollector that first maps the input pair into another pair using mapper.
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 BiCollector that first maps the input pair using keyMapper and valueMapper respectively, then collects the results using downstream collector.
mapping(BiFunction<? super K, ? super V, ? extends T>, Collector<T, ?, R>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that first maps the input pair using mapper and then collects the results using downstream collector.
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 inputMapper function to transform each input, and finally uses outputMapper to transform the output of the given collector.
mapping(Function<? super T, ? extends Both<? extends A, ? extends B>>, BiCollector<A, 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 the mapper function 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
Returns a DoubleStream consisting of the results of applying mapper to the pairs in this BiStream.
mapToInt(ToIntBiFunction<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
Returns an IntStream consisting of the results of applying mapper to the pairs in this BiStream.
mapToLong(ToLongBiFunction<? super K, ? super V>) - Method in class com.google.mu.util.stream.BiStream
Returns a LongStream consisting of the results of applying mapper to the pairs in this BiStream.
mapToObj(BiFunction<? super K, ? super V, ? extends T>) - Method in class com.google.mu.util.stream.BiStream
Returns a Stream consisting of the results of applying mapper to each pair in this BiStream.
mapToObjIfPresent(BiFunction<? super K, ? super V, ? extends Optional<? extends T>>) - Method in class com.google.mu.util.stream.BiStream
Returns a Stream consisting of the results of applying mapper to each pair in this BiStream.
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 BiStream of pairs whose values are the result of applying valueMapper to each pair in this BiStream, and whose keys are unchanged.
mapValuesIfPresent(Function<? super V, ? extends Optional<? extends V2>>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream of pairs whose values are the result of applying valueMapper to the value of each pair in this BiStream, and whose keys are unchanged.
mapValuesIfPresent(Map<? super V, ? extends V2>) - Method in class com.google.mu.util.stream.BiStream
Given valueMapping that maps values of type V to result values of type V2, returns a BiStream of type <K, V2>.
match(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
Applies this pattern against string and returns a stream of each iteration.
matches(String) - Method in class com.google.mu.util.StringFormat
Returns true if this format matches input entirely.
matches(BiPredicate<? super A, ? super B>) - Method in class com.google.mu.util.BiOptional
Returns true if the pair exists and satisfies the condition predicate.
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 true if a character sequence contains only matching BMP characters.
matchesAnyOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
Returns true if a character sequence contains at least one matching BMP character.
matchesNoneOf(CharSequence) - Method in interface com.google.mu.util.CharPredicate
Returns true if a character sequence contains no matching BMP characters.
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 BiCollector that finds the maximum pair according to keyComparator and then valueComparator for equal keys.
maxByKey(Comparator<? super K>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that finds the pair with the maximum key according to comparator.
maxByValue(Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that finds the pair with the maximum value according to comparator.
maybe(CheckedBiFunction<? super A, ? super B, ? extends T, ? extends E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function to be used for a stream of Maybe.
maybe(CheckedBiFunction<? super A, ? super B, ? extends T, ? extends E>, Class<E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function to be used for a stream of Maybe.
maybe(CheckedFunction<? super F, ? extends T, ? extends E>, Class<E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function to be used for a stream of Maybe.
maybe(CheckedFunction<? super F, ? extends T, E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function to be used for a stream of Maybe.
maybe(CheckedSupplier<? extends T, ? extends E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Invokes supplier and wraps the returned object or thrown exception in a Maybe<T, E>.
maybe(CheckedSupplier<? extends T, ? extends E>, Class<E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps supplier to be used for a stream of Maybe.
Maybe<T,E> - Class in com.google.mu.util
Deprecated.
doesn't work well with futures, promises. And tunneling exception away from the call stack may cause confusing stack trace that misses the whereabout of the exception.
maybeStream(CheckedBiFunction<? super A, ? super B, ? extends Stream<? extends T>, ? extends E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
maybeStream(CheckedBiFunction<? super A, ? super B, ? extends Stream<? extends T>, ? extends E>, Class<E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
maybeStream(CheckedFunction<? super F, ? extends Stream<? extends T>, ? extends E>, Class<E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
maybeStream(CheckedFunction<? super F, ? extends Stream<? extends T>, E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
maybeStream(CheckedSupplier<? extends Stream<? extends T>, ? extends E>, Class<E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Invokes supplier and wraps the returned Stream<T> or thrown exception into a stream of Maybe<T, E>.
maybeStream(CheckedSupplier<? extends Stream<? extends T>, E>) - Static method in class com.google.mu.util.Maybe
Deprecated.
Invokes supplier and wraps the returned Stream<T> or thrown exception into a stream of Maybe<T, E>.
maybeToList() - Static method in class com.google.mu.util.Maybe
Deprecated.
Collects a stream of Maybe to an immutable Maybe<List<T>, E>, which will wrap the exception if any input Maybe is exceptional.
maybeToSet() - Static method in class com.google.mu.util.Maybe
Deprecated.
Collects a stream of Maybe to an immutable Maybe<Set<T>, E>, which will wrap the exception if any input Maybe is exceptional.
minBy(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that finds the minimum pair according to keyComparator and then valueComparator for equal keys.
minByKey(Comparator<? super K>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that finds the pair with the minimum key according to comparator.
minByValue(Comparator<? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that finds the pair with the minimum value according to comparator.
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 this and that.
MoreCollections - Class in com.google.mu.collect
Utilities pertaining to Collection.
MoreCollectors - Class in com.google.mu.util.stream
Static utilities pertaining to Collector in 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 Stream in addition to relevant utilities in JDK and Guava.
MoreStructs - Class in com.google.mu.protobuf.util
Additional utilities to help create Struct messages.
MoreValues - Class in com.google.mu.protobuf.util
Additional utilities to help create Value and ListValue messages.
multimap() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty multimap.
multimap(K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multimap containing a single entry.
multimap(K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multimap containing the given entries, in order.
multimap(K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multimap containing the given entries, in order.
multimap(K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multimap containing the given entries, in order.
multimap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multimap containing the given entries, in order.
multipliedBy(double) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns a new Delay with duration multiplied by multiplier.
multiset() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty immutable multiset.
multiset(E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multiset containing a single element.
multiset(E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multiset containing the given elements, in order.
multiset(E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
multiset(E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
multiset(E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
multiset(E, E, E, E, E, E, E...) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.

N

natural() - Static method in class com.google.mu.util.Ordinal
Returns the infinite stream of natural ordinals starting from "1st".
nestedStruct(Table<String, String, ?>) - Method in class com.google.mu.protobuf.util.Structor
Returns a nested Struct of Struct equivalent to the row map of table.
newDaemonParallelizer(int) - Static method in class com.google.mu.util.concurrent.Parallelizer
Returns a new Parallelizer based on an ExecutorService that exits when the application is complete.
next() - Method in class com.google.mu.util.Ordinal
Returns the next ordinal.
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
Pattern that 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.
nonEmptyOrAll(Collection<? extends T>) - Static method in interface com.google.mu.collect.Selection
Converts to Selection from legacy code where an empty collection means all.
noneOf(String) - Static method in interface com.google.mu.util.CharPredicate
Returns a CharPredicate that matches any of chars.
not() - Method in interface com.google.mu.util.CharPredicate
Returns the negation of this CharPredicate.
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 lookahead string.
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 lookbehind string and immediately followed by the after string.
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 lookbehind string.
NULL - Static variable in class com.google.mu.protobuf.util.MoreValues
The Value for null.
nullableValueOf(String) - Static method in class com.google.mu.protobuf.util.MoreValues
Returns Value wrapper for string if not null, or else returns MoreValues.NULL.

O

of() - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns an empty BiCollection.
of(int) - Static method in class com.google.mu.util.Ordinal
Returns instance corresponding to the oneBased number.
of(A, B) - Static method in class com.google.mu.util.BiOptional
Returns a BiOptional containing the pair (a, b).
of(A, B) - Static method in interface com.google.mu.util.Both
Returns an instance with both a and b.
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.mu.bigquery.ParameterizedQuery
Convenience method when you need to create the ParameterizedQuery inline, with both the query template and the arguments.
of(String, Object...) - Static method in class com.google.mu.safesql.SafeQuery
Returns a query using a constant query template filled with args.
of(Duration) - Static method in class com.google.mu.util.concurrent.Retryer.Delay
Returns a Delay of duration.
of(K, V) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream of a single pair containing key and value.
of(K, V, K, V) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream of 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 BiStream of 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 BiStream of 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 BiStream of 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 BiStream of 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 BiStream of 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 BiStream of 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 BiStream of 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 BiStream of 10 pairs, containing the supplied keys and values.
of(L, R) - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns a BiCollection for left and right.
of(L, R, L, R) - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns a BiCollection for two pairs.
of(L, R, L, R, L, R) - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns a BiCollection for three pairs.
of(L, R, L, R, L, R, L, R) - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns a BiCollection for four pairs.
of(L, R, L, R, L, R, L, R, L, R) - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns a BiCollection for five pairs.
of(T) - Static method in class com.google.mu.util.Maybe
Deprecated.
Creates a Maybe for value.
ofMillis(long) - Static method in class com.google.mu.util.concurrent.Retryer.Delay
Shorthand for of(Duration.ofMillis(millis)).
on(char) - Static method in class com.google.mu.util.stream.Joiner
Joining the inputs on the delimiter character
on(CharSequence) - Static method in class com.google.mu.util.stream.Joiner
Joining the inputs on the delimiter string
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
onlyElements(MapFrom4<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
onlyElements(MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
onlyElements(MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
onlyElements(MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
onlyElements(MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
onlyElements(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
optional(boolean, T) - Static method in class com.google.mu.util.Optionals
Returns an Optional that wraps value if condition is true and value is not null, or else empty().
optionally(boolean, CheckedSupplier<? extends T, E>) - Static method in class com.google.mu.util.Optionals
Returns an Optional that wraps the nullable result from supplier if condition is true, or else empty().
Optionals - Class in com.google.mu.util
Utilities pertaining to Optional.
or() - Static method in class com.google.mu.safesql.SafeQuery
A collector that joins boolean query snippets using OR operator.
or(char) - Method in interface com.google.mu.util.CharPredicate
Returns a CharPredicate that evaluates true if either this predicate evaluates to true, or the character is ch.
or(CheckedSupplier<? extends Premise, E>) - Method in interface com.google.mu.util.Premise
Evaluates alternative if this premise doesn't hold.
or(CharPredicate) - Method in interface com.google.mu.util.CharPredicate
Returns a CharPredicate that evaluates true if either this or that predicate evaluate to true.
or(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
Returns a Pattern that falls back to using that if this fails 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 BiOptional instance.
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(CheckedFunction<? super E, ? extends T, X>) - Method in class com.google.mu.util.Maybe
Deprecated.
Either returns the encapsulated value, or translates exception using function.
orElse(CheckedRunnable<E>) - Method in interface com.google.mu.util.Premise
Runs block if this premise doesn't hold.
orElseThrow() - Method in class com.google.mu.util.BiOptional
Ensures that the pair must be present or else throws NoSuchElementException.
orElseThrow() - Method in class com.google.mu.util.Maybe
Deprecated.
Returns the encapsulated value or throws exception.
orElseThrow(String, Object...) - Method in class com.google.mu.util.BiOptional
Ensures that the pair must be present or else throws NoSuchElementException with message formatted with args.
orElseThrow(Function<? super E, X>) - Method in class com.google.mu.util.Maybe
Deprecated.
Either returns success value, or throws exception created by exceptionWrapper.
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 exceptionFactory with message formatted with args.
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 CharPredicate that 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.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.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 left and right both contain the same number of elements, and each pair of corresponding elements matches according to the matcher predicate.
parallelize(Iterator<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.concurrent.Parallelizer
Runs consumer for inputs in 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 consumer for inputs in 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 consumer for inputs in 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 tasks in 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 tasks in 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 tasks in 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 consumer for inputs in 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 consumer for inputs in 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 consumer for inputs in 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 Parallelizer that runs tasks with executor.
parallelizeUninterruptibly(Iterator<? extends T>, Consumer<? super T>) - Method in class com.google.mu.util.concurrent.Parallelizer
Runs consumer for inputs in 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 tasks in 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 consumer for inputs in 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
parse(String) - Method in class com.google.mu.collect.Selection.Parser
Parses string into a Selection of strings by treating the single '*' character as Selection.all().
parse(String) - Method in class com.google.mu.util.StringFormat
Parses input against the pattern.
parse(String, CheckedFunction<String, ? extends T, E>) - Method in class com.google.mu.collect.Selection.Parser
Parses string into a Selection by treating the single '*' character as Selection.all(), and delegating to elementParser to 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 input and applies mapper with the two placeholder values in this string format.
parse(String, Function<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
Parses input and applies the mapper function with the single placeholder value in this string format.
parseGreedy(String, MapFrom3<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
Similar to AbstractStringFormat.parse(String, MapFrom3), parses input and applies mapper with 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), parses input and applies mapper with 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), parses input and applies mapper with 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), parses input and applies mapper with 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), parses input and applies mapper with 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 dateString as LocalDate.
parseOffsetDateTime(String) - Static method in class com.google.mu.time.DateTimeFormats
Parses dateTimeString to OffsetDateTime using heuristics in this class to infer the DateTimeFormatter for common formats.
parseOrThrow(String, MapFrom3<? super String, R>) - Method in class com.google.mu.util.StringFormat
Similar to AbstractStringFormat.parseOrThrow(String, BiFunction), but parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 parses input and applies mapper with 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 input and applies mapper with the two placeholder values in this format string.
parseOrThrow(String, Function<? super String, R>) - Method in class com.google.mu.util.StringFormat
Parses input and applies mapper with 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.
parseToInstant(String) - Static method in class com.google.mu.time.DateTimeFormats
Parses dateTimeString to Instant.
parseZonedDateTime(String) - Static method in class com.google.mu.time.DateTimeFormats
Parses dateTimeString to ZonedDateTime using heuristics in this class to infer the DateTimeFormatter for common formats.
partitioningBy(Predicate<? super E>, Collector<E, ?, 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, T>, Collector<E, A2, 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 use downstreamIfTrue and downstreamIfFalse respectively to collect the elements.
partitioningBy(Predicate<? super T>) - Static method in class com.google.mu.util.stream.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 Pattern equivalent to this Pattern, except it will fail to match if the following pattern 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 consumer with 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 consumer with 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 BiStream consisting of the pairs of this stream, additionally invoking action on each pair as pairs are consumed from the resulting stream.
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 startNodes and 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 startNodes and walks depth first in post-order (the reverse of a topological sort).
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 lookahead string.
prefix(char) - Static method in class com.google.mu.util.Substring
Returns a Prefix pattern that matches strings starting with prefix.
prefix(String) - Static method in class com.google.mu.util.Substring
Returns a Prefix pattern that matches strings starting with prefix.
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 startNodes and walks depth first in pre-order.
preOrderFrom(N...) - Method in class com.google.mu.util.graph.Walker
Starts from startNodes and walks depth first in pre-order.
previous() - Method in class com.google.mu.util.Ordinal
Returns the previous ordinal.

R

randomized(Random, double) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns a new Delay with some extra randomness.
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.mu.collect.BinarySearch.Table
Finds the range of elements that match target.
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 matches of 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 builder if it starts with the prefix.
removeFrom(StringBuilder) - Method in class com.google.mu.util.Substring.Suffix
Removes this suffix from builder if 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 work function.
repeatedly() - Method in class com.google.mu.util.Substring.Pattern
Returns a Substring.RepeatingPattern that applies this pattern repeatedly against the input string.
replaceAllFrom(String, MapFrom3<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, MapFrom4<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, MapFrom5<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, MapFrom6<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, MapFrom7<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, MapFrom8<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, BiFunction<? super Substring.Match, ? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, Function<? super Substring.Match, ?>) - Method in class com.google.mu.util.StringFormat
Scans input and replaces all matches using the replacement function.
replaceAllFrom(String, Function<? super Substring.Match, ? extends CharSequence>) - Method in class com.google.mu.util.Substring.RepeatingPattern
Returns a new string with all matches of this pattern replaced by applying replacementFunction for each match.
replaceFrom(StringBuilder, CharSequence) - Method in class com.google.mu.util.Substring.Prefix
Replaces this prefix from builder with replacement if it starts with the prefix.
replaceFrom(StringBuilder, CharSequence) - Method in class com.google.mu.util.Substring.Suffix
Replaces this suffix from builder with replacement if 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 this replaced by replacement.
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 this replaced by the return value of replacementFunction.
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.
RequiresBigQuery - Annotation Interface in com.google.mu.annotations
Documents that the annotated class needs BigQuery client dependency and is part of the mug-bigquery artifact.
RequiresGuava - Annotation Interface in com.google.mu.annotations
Documents that the annotated class needs Guava dependency and is part of the mug-guava artifact.
RequiresProtobuf - Annotation Interface in com.google.mu.annotations
Documents that the annotated class needs Protobuf dependency and is part of the mug-protobuf artifact.
retry(CheckedSupplier<? extends R, E>, ScheduledExecutorService) - Method in class com.google.mu.util.concurrent.Retryer.ForReturnValue
Invokes and possibly retries supplier according to the retry strategies specified with uponReturn().
retry(CheckedSupplier<T, ?>, ScheduledExecutorService) - Method in class com.google.mu.util.concurrent.Retryer
Invokes and possibly retries supplier upon exceptions, according to the retry strategies specified with upon().
retryAsync(CheckedSupplier<? extends CompletionStage<R>, E>, ScheduledExecutorService) - Method in class com.google.mu.util.concurrent.Retryer.ForReturnValue
Invokes and possibly retries asyncSupplier according to the retry strategies specified with uponReturn().
retryAsync(CheckedSupplier<? extends CompletionStage<T>, ?>, ScheduledExecutorService) - Method in class com.google.mu.util.concurrent.Retryer
Invokes and possibly retries asyncSupplier upon exceptions, according to the retry strategies specified with upon().
retryBlockingly(CheckedSupplier<R, E>) - Method in class com.google.mu.util.concurrent.Retryer.ForReturnValue
Invokes and possibly retries supplier according to the retry strategies specified with uponReturn().
retryBlockingly(CheckedSupplier<T, E>) - Method in class com.google.mu.util.concurrent.Retryer
Invokes and possibly retries supplier upon exceptions, according to the retry strategies specified with upon().
Retryer - Class in com.google.mu.util.concurrent
Immutable object that retries actions upon exceptions.
Retryer() - Constructor for class com.google.mu.util.concurrent.Retryer
Constructs an empty Retryer.
Retryer.Delay<E> - Class in com.google.mu.util.concurrent
Represents a delay upon an event of type E prior to the retry attempt.
Retryer.ForReturnValue<T> - Class in com.google.mu.util.concurrent
Retries based on return values.
run() - Method in interface com.google.mu.function.CheckedRunnable
 
run() - Method in class com.google.mu.util.Funnel
Deprecated.
Runs all batch conversions and returns conversion results together with elements added as is, in encounter order.
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 options to 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 stream using the sameGroup predicate, along with the group's run length (number of items).

S

SafeQuery - Class in com.google.mu.safesql
A piece of provably-safe (from SQL injection) query string constructed by the combination of a compile-time string constant, other SafeQuery, safe literal values (booleans, enum constant names, numbers etc.), and/or mandatorily-quoted, auto-escaped string values.
SafeQuery.Translator - Class in com.google.mu.safesql
An SPI class for subclasses to provide additional translation from placeholder values to safe query strings.
scan(String) - Method in class com.google.mu.util.StringFormat
Scans the input string and extracts all matched placeholders in this string format.
scan(String, MapFrom3<? super String, ? extends R>) - Method in class com.google.mu.util.StringFormat
Scans the input string 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 input string 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 input string 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 input string 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 input string 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 input string 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 input string 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 input string 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 input string and collects all pairs of placeholders defined by this string format using collector.
scanAndCollectFrom(String, Collector<? super String, ?, R>) - Method in class com.google.mu.util.StringFormat
Scans the input string and collects all matches of this string format using collector.
second() - Static method in class com.google.mu.util.Ordinal
Returns the second ordinal.
Selection<T> - Interface in com.google.mu.collect
An immutable selection of choices for implementing allowlists or denylists, supporting both limited and unlimited selections.
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 the separator character(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 the separatorBefore character; and the end of the match must either be the end of the string, or be separated from the rest of the string by the separatorAfter character.
set() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty immutable set.
set(E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable set containing element.
set(E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
set(E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
set(E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
set(E, E, E, E, E) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
set(E, E, E, E, E, E, E...) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
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.
size() - Method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns the size of the collection.
skip(int) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of the remaining pairs from this stream, after discarding the first n pairs.
skip(int, int) - Method in class com.google.mu.util.Substring.Match
Returns a new instance that's otherwise equivalent except with fromBeginning characters skipped from the beginning and fromEnd characters skipped from the end.
skip(int, int) - Method in class com.google.mu.util.Substring.Pattern
Returns a Pattern that's equivalent to this pattern except it will skip up to fromBeginnings characters from the beginning of the match and up to fromEnd characters 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.
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 BiStream consisting of the pairs in this stream, in the order produced by applying the byKey comparator on the keys of each pair, and then the byValue comparator 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 BiStream consisting of the pairs in this stream, in the order produced by applying comparator on the result of applying the sortKeyFunction.
sortedByKeys(Comparator<? super K>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of the pairs in this stream, in the order produced by applying comparator on the keys of each pair.
sortedByValues(Comparator<? super V>) - Method in class com.google.mu.util.stream.BiStream
Returns a BiStream consisting of the pairs in this stream, in the order produced by applying comparator on the values of each pair.
sortedMap() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns the empty sorted map.
sortedMap(K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable map containing a single entry.
sortedMap(K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(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.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
sortedMap(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.collect.Immutables
Deprecated.
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
span(String) - Static method in class com.google.mu.util.StringFormat
Returns a Substring.Pattern spanning the substring matching format.
spanningInOrder(String, String, String...) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches the first occurrence of stop1, followed by an occurrence of stop2, followed sequentially by occurrences of moreStops in order, including any characters between consecutive stops.
split(CharSequence) - Method in class com.google.mu.util.Substring.Pattern
Splits string into two parts that are separated by this separator pattern.
split(String) - Method in class com.google.mu.util.Substring.RepeatingPattern
Returns a stream of Match objects delimited by every match of this pattern.
splitKeyValuesAround(Substring.Pattern, String) - Method in class com.google.mu.util.Substring.RepeatingPattern
Returns a BiStream of key value pairs from input.
splitThenTrim(CharSequence) - Method in class com.google.mu.util.Substring.Pattern
Splits string into 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 Match objects delimited by every match of this pattern.
splitThenTrimKeyValuesAround(Substring.Pattern, String) - Method in class com.google.mu.util.Substring.RepeatingPattern
Returns a BiStream of key value pairs from input.
startsWith(String) - Method in class com.google.mu.util.Substring.Match
Returns true if this match starts with the given prefix.
stream() - Method in class com.google.mu.util.BiOptional
Returns a BiStream view 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.
stream() - Method in class com.google.mu.util.stream.BiCollection
Deprecated.
Streams over this BiCollection.
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.
StringFormat.To<T> - Interface in com.google.mu.util
Deprecated.
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 name and value, with value converted using Structor.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 name and value.
struct(String, double) - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Struct with name and value.
struct(String, ListValue) - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Struct with name and value.
struct(String, Struct) - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Struct with name and value.
struct(String, Value) - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Struct with name and value.
struct(String, String) - Static method in class com.google.mu.protobuf.util.MoreStructs
Returns a Struct with name and value.
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 Struct more conveniently, while eliding most of the intermediary and verbose Value creation.
StructBuilder() - Constructor for class com.google.mu.protobuf.util.StructBuilder
 
Structor - Class in com.google.mu.protobuf.util
A helper that makes Structs and Values from POJOs.
Structor() - Constructor for class com.google.mu.protobuf.util.Structor
 
StructuredConcurrency - Class in com.google.mu.util.concurrent
Convenient utilities to help with structured concurrency on top of an ExecutorService (preferably with virtual threads).
StructuredConcurrency() - Constructor for class com.google.mu.util.concurrent.StructuredConcurrency
Constructor using the default virtual thread executor to run the concurrent operations.
StructuredConcurrency(ExecutorService) - Constructor for class com.google.mu.util.concurrent.StructuredConcurrency
Constructor using executor to run concurrent operations.
StructuredConcurrency.Join2<A,B,R,X> - Interface in com.google.mu.util.concurrent
Function to join two results from concurrent operations.
StructuredConcurrency.Join3<A,B,C,R,X> - Interface in com.google.mu.util.concurrent
Function to join three results from concurrent operations.
StructuredConcurrency.Join4<A,B,C,D,R,X> - Interface in com.google.mu.util.concurrent
Function to join four results from concurrent operations.
StructuredConcurrency.Join5<A,B,C,D,E,R,X> - Interface in com.google.mu.util.concurrent
Function to join five results from concurrent operations.
subSequence(int, int) - Method in class com.google.mu.util.Substring.Match
Returns a CharSequence instance which is a sub-range of this Match.
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.Pattern against a string, providing access to the matched substring, to the parts of the string before and after it, and to copies with the matched substring removed or replaced.
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
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
suffix(char) - Static method in class com.google.mu.util.Substring
Returns a Suffix pattern that matches strings ending with suffix.
suffix(String) - Static method in class com.google.mu.util.Substring
Returns a Suffix pattern that matches strings ending with suffix.
summarizingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector which applies an double-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 BiCollector which applies an int-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 BiCollector which applies an long-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 BiCollector that 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 BiCollector that 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 BiCollector that 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 Collector that will collect the input elements using the first of [firstCase, moreCases...] that matches the input elements.

T

table() - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an empty immutable table.
table(R, C, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable table containing a single cell.
table(R, C, V, R, C, V) - Static method in class com.google.mu.collect.Immutables
Deprecated.
Returns an immutable table containing two cells.
template(String) - Static method in class com.google.mu.bigquery.ParameterizedQuery
Returns a template of QueryJobConfiguration based on the template string.
template(String) - Static method in class com.google.mu.safesql.GoogleSql
Much like SafeQuery.template(java.lang.String), but with additional GoogleSQL translation rules.
template(String) - Static method in class com.google.mu.safesql.SafeQuery
Creates a template with the placeholders to be filled by subsequent StringFormat.To.with(java.lang.Object...) calls.
template(String, StringFormat.Interpolator<? extends T>) - Static method in class com.google.mu.util.StringFormat
Returns a go/jep-430 style template of T produced by interpolating arguments into the template string, using the given interpolator function.
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 @TemplateFormatMethod method.
test(char) - Method in interface com.google.mu.util.CharPredicate
Returns true if ch satisfies this predicate.
test(A, B) - Method in interface com.google.mu.function.CheckedBiPredicate
 
then(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
Similar to regex lookahead, returns a pattern that matches the following pattern after it has matched this pattern.
through(Function<? super List<F>, ? extends Collection<? extends T>>) - Method in class com.google.mu.util.Funnel
Deprecated.
Returns a Funnel.Batch accepting elements that, when Funnel.run() is called, will be converted together in a batch through converter.
timed(List<T>) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns a view of list that while not modifiable, will become empty when Retryer.Delay.duration() has elapsed since the time the view was created as if another thread had just concurrently removed all elements from it.
timed(List<T>, Clock) - Method in class com.google.mu.util.concurrent.Retryer.Delay
Returns a view of list that while not modifiable, will become empty when Retryer.Delay.duration() has elapsed since the time the view was created as if another thread had just concurrently removed all elements from it.
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 T using format string as the template, whose curly-braced placeholders will be filled with the template arguments and then passed to the creator function to create the T instances.
toAdjacentPairs() - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that accumulates every neighboring pair of elements into a new BiStream.
toBiCollection(Function<? super T, ? extends L>, Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.BiCollection
Deprecated.
Returns a Collector that extracts the pairs from the input stream, and then collects them into a BiCollection.
toBiStream() - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that copies each input element as a pair of itself into an equivalent BiStream.
toBiStream(Function<? super E, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that splits each input element as a pair and collects them into a BiStream.
toBiStream(Function<? super E, ? extends K>, Function<? super E, ? extends V>) - Static method in class com.google.mu.util.stream.BiStream
Returns a Collector that splits each input element as a pair and collects them into a BiStream.
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.mu.util.CaseBreaker
Converts input string to using the given CaseFormat.
toEnd() - Method in class com.google.mu.util.Substring.Pattern
Returns a Pattern that will match from the substring matched by this to the end of the input string.
toEntry() - Method in interface com.google.mu.util.Both
Returns an immutable Map.Entry holding the pair of values.
toImmutableBiMap() - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableBiMap.
toImmutableBiMap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.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.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableListMultimap.
toImmutableListMultimap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.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.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableMap.
toImmutableMap(BinaryOperator<V>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableMap using valueMerger to merge values of duplicate keys.
toImmutableMap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.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.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableMap using valueCollector to collect values of identical keys into a final value of type V.
toImmutableMapIgnoringDuplicateEntries(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.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.mu.util.stream.GuavaCollectors
Returns a Collector that accumulates elements into an ImmutableMap whose 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.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableMultiset whose elements are the keys, with counts equal to the result of applying countFunction to the values.
toImmutableSetMultimap() - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableSetMultimap.
toImmutableSetMultimap(Function<? super T, ? extends Both<? extends K, ? extends V>>) - Static method in class com.google.mu.util.stream.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.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableSortedMap according to comparator.
toImmutableSortedMap(Comparator<? super K>, BinaryOperator<V>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an ImmutableSortedMap according to comparator, using valueMerger to merge values of duplicate keys.
toImmutableTable() - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into an com.google.common.collect.ImmutableTable<R,C,V>, where each input key (of type R) is mapped to a row in the table, and each input value is a BiStream<C, V> whose keys (of type C) are mapped to columns in the table, and whose values (of type V) 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.mu.util.stream.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 arranger function before being wrapped as immutable list result.
toListOf(Function<? super F, ? extends T>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a collector that collects the results of applying the mapper function on the input elements into an ImmutableList.
toListValue() - Static method in class com.google.mu.protobuf.util.MoreValues
Returns a Collector that collects the input values into ListValue.
toMap() - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that collects the key-value pairs into an immutable Map.
toMap() - Method in class com.google.mu.util.stream.BiStream
Returns an immutable Map that 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 BiCollector that collects the key-value pairs into an immutable Map using valueMerger to 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 Collector that extracts the keys and values through the given keyFunction and valueFunction respectively, and then collects them into a mutable Map created by mapSupplier.
toMap(Supplier<? extends M>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that collects the key-value pairs into a mutable Map created by mapSupplier.
toMap(Collector<V1, ?, V>) - Static method in class com.google.mu.util.stream.BiCollectors
Returns a BiCollector that collects the key-value pairs into an immutable Map using valueCollector to collect values of identical keys into a final value of type V.
toMultimap(Supplier<M>) - Static method in class com.google.mu.util.stream.GuavaCollectors
Returns a BiCollector that collects the key-value pairs into a Multimap created with multimapSupplier.
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.
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.mu.util.stream.GuavaCollectors
Returns a collector that collects the results of applying the mapper function on the input elements into an ImmutableSet.
toString() - Method in class com.google.mu.bigquery.ParameterizedQuery
 
toString() - Method in class com.google.mu.collect.InsertionPoint
Returns a human-readable string representation of this insertion point.
toString() - Method in interface com.google.mu.collect.Selection
Returns "ALL" if unlimited, 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.SafeQuery
Returns the encapsulated SQL query.
toString() - Method in class com.google.mu.util.StringFormat
Returns the string format.
toString() - Method in class com.google.mu.util.concurrent.Retryer.Delay
 
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 class com.google.mu.util.stream.BiCollection
Deprecated.
 
toString() - Method in interface com.google.mu.util.StringFormat.Template
Returns the string representation of the format.
toString() - Method in interface com.google.mu.util.StringFormat.To
Deprecated.
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.Prefix and Substring.Suffix that 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 BiCollector that collects the input key-value pairs into Struct.
toStruct() - Method in class com.google.mu.protobuf.util.Structor
Returns a BiCollector that accumulates the name-value pairs into a Struct with the values converted using Structor.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 Collector that collects input key-value pairs into Struct.
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 object to Value.
trailing(CharPredicate) - Static method in class com.google.mu.util.Substring
Returns a Pattern that matches from the end of the input string, a non-empty sequence of trailing characters identified by matcher.
translate(String) - Method in class com.google.mu.safesql.SafeQuery.Translator
Translates template to a factory of SafeQuery by filling the provided parameters in the places of corresponding placeholders.
translateLiteral(Substring.Match, Object) - Method in class com.google.mu.safesql.SafeQuery.Translator
Called if a placeholder value is a non-string, non-Iterable literal appearing unquoted in the template.
Translator() - Constructor for class com.google.mu.safesql.SafeQuery.Translator
 
TRUE - Static variable in class com.google.mu.protobuf.util.MoreValues
The Value for boolean true.

U

uninterruptibly(Supplier<A>, Supplier<B>, StructuredConcurrency.Join2<? super A, ? super B, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a and b concurrently and uninterruptibly in their own virtual threads.
uninterruptibly(Supplier<A>, Supplier<B>, Supplier<C>, StructuredConcurrency.Join3<? super A, ? super B, ? super C, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a, b and c concurrently and uninterruptibly in their own virtual threads.
uninterruptibly(Supplier<A>, Supplier<B>, Supplier<C>, Supplier<D>, StructuredConcurrency.Join4<? super A, ? super B, ? super C, ? super D, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a, b, c and d concurrently and uninterruptibly in their own virtual threads.
uninterruptibly(Supplier<A>, Supplier<B>, Supplier<C>, Supplier<D>, Supplier<E>, StructuredConcurrency.Join5<? super A, ? super B, ? super C, ? super D, ? super E, R, X>) - Method in class com.google.mu.util.concurrent.StructuredConcurrency
Runs a, b, c, d and e concurrently and uninterruptibly in their own virtual threads.
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.
upon(Class<E>, Predicate<? super E>, List<? extends Retryer.Delay<? super E>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new Retryer that uses delays when an exception is instance of exceptionType and satisfies condition.
upon(Class<E>, Predicate<? super E>, Stream<? extends Retryer.Delay<? super E>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new Retryer that uses delays when an exception is instance of exceptionType and satisfies condition.
upon(Class<E>, List<? extends Retryer.Delay<? super E>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new Retryer that uses delays when an exception is instance of exceptionType.
upon(Class<E>, Stream<? extends Retryer.Delay<? super E>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new Retryer that uses delays when an exception is instance of exceptionType.
uponReturn(T, List<? extends Retryer.Delay<? super T>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new object that retries if the function returns returnValue.
uponReturn(T, Stream<? extends Retryer.Delay<? super T>>) - Method in class com.google.mu.util.concurrent.Retryer
Returns a new object that retries if the function returns returnValue.
upToIncluding(Substring.Pattern) - Static method in class com.google.mu.util.Substring
Returns a Pattern that will match from the beginning of the original string up to the substring matched by pattern inclusively.
using(String, Object...) - Static method in class com.google.mu.util.StringFormat
Returns string with the "{placeholder}"s in template filled by args, in order.

V

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() - Method in class com.google.mu.util.stream.BiStream
Returns a Stream consisting 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.
virtualThreadParallelizer(int) - Static method in class com.google.mu.util.concurrent.Parallelizer
Returns a Parallelizer using virtual threads for running tasks, with at most maxInFlight tasks running concurrently.

W

Walker<N> - Class in com.google.mu.util.graph
Implements generic graph and tree traversal algorithms (pre-order, post-order and breadth-first) as lazily evaluated streams, allowing infinite-size graphs.
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.
with(Object...) - Method in interface com.google.mu.util.StringFormat.Template
Returns an instance of T from the string format filled with params.
with(Object...) - Method in interface com.google.mu.util.StringFormat.To
Deprecated.
Returns an instance of T from the string format filled with params.
withLowerCaseChars(CharMatcher) - Method in class com.google.mu.util.CaseBreaker
Returns a new instance using camelLower to identify lower case characters (don't forget to include digits if they should also be treated as lower case).
withPunctuationChars(CharMatcher) - Method in class com.google.mu.util.CaseBreaker
Returns a new instance using punctuation to 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 sideEfect attached on every element.
word() - Static method in class com.google.mu.util.Substring
Returns a Pattern that 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 Pattern that matches the first occurrence of word that isn't immediately preceded or followed by another "word" ([a-zA-Z0-9_]) character.
WORD - Static variable in interface com.google.mu.util.CharPredicate
Equivalent to the [a-zA-Z0-9_] character class.

Y

yield(Iteration.Continuation) - Method in class com.google.mu.util.stream.BiIteration
Yields to the result BiStream a recursive iteration or lazy side-effect wrapped in continuation.
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
Yields the pair of left and right to the result BiStream.
yield(T) - Method in class com.google.mu.util.stream.Iteration
Yields element to the result stream.
yieldAll(Iterable<? extends T>) - Method in class com.google.mu.util.stream.Iteration
Yields all of elements to the result stream.

Z

zip(Collection<L>, Collection<R>) - Static method in class com.google.mu.util.stream.BiStream
Returns a BiStream in which the first element in left is paired with the first element in right; 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 BiStream in which the first element in left is paired with the first element in right; the second paired with the corresponding second and the third with the corresponding third etc.
A B C D E F G H I J K L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Serialized Form