diff --git a/apidocs/allclasses-index.html b/apidocs/allclasses-index.html index 5977cc0f48..d9fd20fec5 100644 --- a/apidocs/allclasses-index.html +++ b/apidocs/allclasses-index.html @@ -2,10 +2,10 @@ - + All Classes (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":1,"i1":2,"i2":1,"i3":2,"i4":1,"i5":2,"i6":2,"i7":2,"i8":2,"i9":2,"i10":1,"i11":1,"i12":2,"i13":1,"i14":1,"i15":1,"i16":1,"i17":1,"i18":1,"i19":1,"i20":1,"i21":1,"i22":1,"i23":1,"i24":8,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":1,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":1,"i44":1,"i45":1,"i46":2,"i47":2,"i48":2,"i49":1,"i50":2,"i51":1,"i52":2,"i53":2,"i54":1,"i55":1,"i56":2,"i57":4,"i58":2,"i59":2,"i60":2,"i61":2,"i62":2,"i63":1,"i64":2}; +var data = {"i0":1,"i1":2,"i2":1,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":2,"i9":1,"i10":1,"i11":1,"i12":1,"i13":1,"i14":1,"i15":1,"i16":1,"i17":1,"i18":1,"i19":1,"i20":1,"i21":1,"i22":8,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":1,"i30":2,"i31":1,"i32":1,"i33":1,"i34":1,"i35":1,"i36":1,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":2,"i46":2,"i47":1,"i48":2,"i49":2,"i50":2,"i51":1,"i52":2,"i53":2,"i54":2,"i55":1,"i56":1,"i57":2,"i58":4,"i59":2,"i60":2,"i61":2,"i62":2,"i63":2,"i64":2}; var tabs = {65535:["t0","All Classes"],1:["t1","Interface Summary"],2:["t2","Class Summary"],4:["t3","Enum Summary"],8:["t4","Exception Summary"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -125,236 +125,249 @@

All Classes

-BiComparator<K,​V> -Deprecated. -
Use one of: - BiStream.sorted(com.google.mu.function.BiComparator<? super K, ? super V>, com.google.mu.function.BiComparator<? super K, ? super V>...), - BiStream.sortedByKeys(java.util.Comparator<? super K>), - BiStream.sortedByValues(java.util.Comparator<? super V>), - BiCollectors.minBy(com.google.mu.function.BiComparator<? super K, ? super V>), - BiCollectors.minByKey(java.util.Comparator<? super K>), - BiCollectors.minByValue(java.util.Comparator<? super V>), - BiCollectors.maxBy(com.google.mu.function.BiComparator<? super K, ? super V>), - BiCollectors.maxByKey(java.util.Comparator<? super K>), - BiCollectors.maxByValue(java.util.Comparator<? super V>).
- - - BiIteration<L,​R>
Similar to Iteration, but is used to iteratively yield() pairs into a lazy BiStream.
- + BinaryTreeWalker<N>
Walker for binary tree topology (see Walker.inBinaryTree()).
- + BiOptional<A,​B>
An optional pair of values; either the pair is present with both values, or is absent with no value.
- + BiStream<K,​V>
A class similar to Stream, but operating over a sequence of pairs of objects.
- + BiStream.Builder<K,​V>
Builder for BiStream.
- + BiStream.Partitioner<A,​B>
A predicate used to partition a BiStream into sub-groups of consecutive pairs.
- + Both<A,​B>
Represents two unrelated or loosely-related things of type A and B.
- -Cases -Deprecated. -
Use findFirstElements() - and/or findOnlyElements() methods - together with Optional.or(java.util.function.Supplier<? extends java.util.Optional<? extends T>>) instead.
- - - + CharPredicate
A predicate of character.
- + CheckedBiConsumer<A,​B,​E extends java.lang.Throwable>
A binary consumer that can throw checked exceptions.
- + CheckedBiFunction<A,​B,​T,​E extends java.lang.Throwable>
A binary function that can throw checked exceptions.
- + CheckedBiPredicate<A,​B,​E extends java.lang.Throwable>
A binary predicate that can throw checked exceptions.
- + CheckedConsumer<T,​E extends java.lang.Throwable>
A consumer that can throw checked exceptions.
- + CheckedDoubleConsumer<E extends java.lang.Throwable>
A double-value consumer that can throw checked exceptions.
- + CheckedFunction<F,​T,​E extends java.lang.Throwable>
A function that can throw checked exceptions.
- + CheckedIntConsumer<E extends java.lang.Throwable>
An int consumer that can throw checked exceptions.
- + CheckedLongConsumer<E extends java.lang.Throwable>
A 64-bit long consumer that can throw checked exceptions.
- + CheckedRunnable<E extends java.lang.Throwable>   - + CheckedSupplier<T,​E extends java.lang.Throwable>
A supplier that can throw checked exceptions.
- + CyclicGraphException
Thrown when running into any unexpected cycle during traversal.
- + DateTimeFormats
A facade class providing convenient DateTimeFormatter instances by inferring from an example date/time/datetime string in the expected format.
- + FixedSizeCollector<T,​A,​R>
A collector that expects a fixed number of input elements.
- + Funnel<T>
A funnel that dispatches a sequence of inputs through arbitrary batch conversions while maintaining first-in-first-out order.
- + Funnel.Batch<F,​T>
Holds the elements to be converted through a single batch conversion.
- + GraphWalker<N>
Walker for graph topology (see Walker.inGraph()).
- + Iteration<T>
Transforms eager, recursive algorithms into lazy streams.
- + Iteration.Continuation
Encapsulates recursive iteration or a lazy block of code with side-effect.
- + Joiner
A joiner (and Collector) that joins strings.
+ +MapFrom3<T,​R> + +
A 3-arg function of the signature of (T, T, T) -> R.
+ + + +MapFrom4<T,​R> + +
A 4-arg function of the signature of (T, T, T, T) -> R.
+ + +MapFrom5<T,​R> + +
A 5-arg function of the signature of (T, T, T, T, T) -> R.
+ + + +MapFrom6<T,​R> + +
A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
+ + + +MapFrom7<T,​R> + +
A 6-arg function of the signature of (T, T, T, T, T, T, T) -> R.
+ + + +MapFrom8<T,​R> + +
A 6-arg function of the signature of (T, T, T, T, T, T, T, T) -> R.
+ + + Maybe<T,​E extends java.lang.Throwable>
Class that wraps checked exceptions and tunnels them through stream operations or future graphs.
- + MoreCollections
Utilities pertaining to Collection.
- + MoreCollectors
Static utilities pertaining to Collector in addition to relevant utilities in JDK and Guava.
- + MoreIterables
Some additional utilities pertaining to Iterable.
- + MoreStreams
Static utilities pertaining to Stream in addition to relevant utilities in JDK and Guava.
- + Optionals
Utilities pertaining to Optional.
- + Ordinal
This class provides type-safe transition between 1-based Ordinal and 0-based indexes that are commonly used to index arrays and lists.
- + Parallelizer
Utility to support structured @@ -362,110 +375,92 @@

All Classes

concurrency.
- + PrefixSearchTable<K,​V>
A lookup table that stores prefix (a list of keys of type K) -> value mappings.
- + PrefixSearchTable.Builder<K,​V>
Builder of PrefixSearchTable.
- + Premise
Result of a previously evaluated condition.
- -Quarternary<T,​R> - -
A 4-arg function of the signature of (T, T, T, T) -> R.
- - - -Quinary<T,​R> - -
A 5-arg function of the signature of (T, T, T, T, T) -> R.
- - - + Retryer
Immutable object that retries actions upon exceptions.
- + Retryer.Delay<E>
Represents a delay upon an event of type E prior to the retry attempt.
- + Retryer.ForReturnValue<T>
Retries based on return values.
- + Selection<T>
An immutable selection of choices supporting both limited and unlimited selections.
- + Selection.Parser
Parser for Selection.
- -Senary<T,​R> - -
A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
- - - + ShortestPath<N>
The Dijkstra shortest path algorithm implemented as a lazy, incrementally-computed stream.
- + StringFormat
A string parser to extract placeholder values from input strings according to a format string.
- + StringFormat.Interpolator<T>
A functional SPI interface for custom interpolation.
- + StringFormat.To<T>
A view of the StringFormat that returns an instance of T, after filling the format with the given variadic parameters.
- + Substring
Utilities for creating patterns that attempt to match a substring in an input string.
- + Substring.BoundStyle
The style of the bounds of a match.
- + Substring.Match
The result of successfully matching a Substring.Pattern against a string, providing access to the @@ -474,37 +469,31 @@

All Classes

replaced.
- + Substring.Pattern
A pattern that can be matched against a string, finding a single substring from it.
- + Substring.Prefix
An immutable string prefix Pattern with extra utilities such as Substring.Prefix.addToIfAbsent(String), Substring.Prefix.removeFrom(StringBuilder), Substring.Prefix.isIn(CharSequence) etc.
- + Substring.RepeatingPattern
A substring pattern to be applied repeatedly on the input string, each time over the remaining substring after the previous match.
- + Substring.Suffix
An immutable string suffix Pattern with extra utilities such as Substring.Suffix.addToIfAbsent(String), Substring.Suffix.removeFrom(StringBuilder), Substring.Suffix.isIn(CharSequence) etc.
- -Ternary<T,​R> - -
A 3-arg function of the signature of (T, T, T) -> R.
- - Walker<N> diff --git a/apidocs/allpackages-index.html b/apidocs/allpackages-index.html index c4d8dd3d3a..79d9f77b59 100644 --- a/apidocs/allpackages-index.html +++ b/apidocs/allpackages-index.html @@ -2,10 +2,10 @@ - + All Packages (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/PrefixSearchTable.Builder.html b/apidocs/com/google/mu/collect/PrefixSearchTable.Builder.html index a14983a927..a16ebc7a5e 100644 --- a/apidocs/com/google/mu/collect/PrefixSearchTable.Builder.html +++ b/apidocs/com/google/mu/collect/PrefixSearchTable.Builder.html @@ -2,10 +2,10 @@ - + PrefixSearchTable.Builder (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/PrefixSearchTable.html b/apidocs/com/google/mu/collect/PrefixSearchTable.html index 48053f888e..0acc17200f 100644 --- a/apidocs/com/google/mu/collect/PrefixSearchTable.html +++ b/apidocs/com/google/mu/collect/PrefixSearchTable.html @@ -2,10 +2,10 @@ - + PrefixSearchTable (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.Builder.html b/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.Builder.html index 5adce6420f..d398140577 100644 --- a/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.Builder.html +++ b/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.Builder.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.collect.PrefixSearchTable.Builder (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.html b/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.html index 0b18902e15..bad1dfa10e 100644 --- a/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.html +++ b/apidocs/com/google/mu/collect/class-use/PrefixSearchTable.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.collect.PrefixSearchTable (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/package-summary.html b/apidocs/com/google/mu/collect/package-summary.html index 8a7e023fde..4ff497afe3 100644 --- a/apidocs/com/google/mu/collect/package-summary.html +++ b/apidocs/com/google/mu/collect/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.collect (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/package-tree.html b/apidocs/com/google/mu/collect/package-tree.html index 03326d29f0..f31e660af1 100644 --- a/apidocs/com/google/mu/collect/package-tree.html +++ b/apidocs/com/google/mu/collect/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.collect Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/collect/package-use.html b/apidocs/com/google/mu/collect/package-use.html index a655951d20..239dbb8726 100644 --- a/apidocs/com/google/mu/collect/package-use.html +++ b/apidocs/com/google/mu/collect/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.collect (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedBiConsumer.html b/apidocs/com/google/mu/function/CheckedBiConsumer.html index 88dd97ea2e..f3166c1a31 100644 --- a/apidocs/com/google/mu/function/CheckedBiConsumer.html +++ b/apidocs/com/google/mu/function/CheckedBiConsumer.html @@ -2,10 +2,10 @@ - + CheckedBiConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedBiFunction.html b/apidocs/com/google/mu/function/CheckedBiFunction.html index 7cc263b5b6..45a3d3e53e 100644 --- a/apidocs/com/google/mu/function/CheckedBiFunction.html +++ b/apidocs/com/google/mu/function/CheckedBiFunction.html @@ -2,10 +2,10 @@ - + CheckedBiFunction (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedBiPredicate.html b/apidocs/com/google/mu/function/CheckedBiPredicate.html index 819f81aeb9..b8677303d1 100644 --- a/apidocs/com/google/mu/function/CheckedBiPredicate.html +++ b/apidocs/com/google/mu/function/CheckedBiPredicate.html @@ -2,10 +2,10 @@ - + CheckedBiPredicate (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedConsumer.html b/apidocs/com/google/mu/function/CheckedConsumer.html index 670aadb1f7..33cd357eaf 100644 --- a/apidocs/com/google/mu/function/CheckedConsumer.html +++ b/apidocs/com/google/mu/function/CheckedConsumer.html @@ -2,10 +2,10 @@ - + CheckedConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedDoubleConsumer.html b/apidocs/com/google/mu/function/CheckedDoubleConsumer.html index 5fcfe21286..bf548d0914 100644 --- a/apidocs/com/google/mu/function/CheckedDoubleConsumer.html +++ b/apidocs/com/google/mu/function/CheckedDoubleConsumer.html @@ -2,10 +2,10 @@ - + CheckedDoubleConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedFunction.html b/apidocs/com/google/mu/function/CheckedFunction.html index 7f8e9d5412..0ed6d34ebd 100644 --- a/apidocs/com/google/mu/function/CheckedFunction.html +++ b/apidocs/com/google/mu/function/CheckedFunction.html @@ -2,10 +2,10 @@ - + CheckedFunction (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedIntConsumer.html b/apidocs/com/google/mu/function/CheckedIntConsumer.html index 775580fb6a..b847785962 100644 --- a/apidocs/com/google/mu/function/CheckedIntConsumer.html +++ b/apidocs/com/google/mu/function/CheckedIntConsumer.html @@ -2,10 +2,10 @@ - + CheckedIntConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedLongConsumer.html b/apidocs/com/google/mu/function/CheckedLongConsumer.html index 79c05f9d64..b8e297b070 100644 --- a/apidocs/com/google/mu/function/CheckedLongConsumer.html +++ b/apidocs/com/google/mu/function/CheckedLongConsumer.html @@ -2,10 +2,10 @@ - + CheckedLongConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedRunnable.html b/apidocs/com/google/mu/function/CheckedRunnable.html index 265b9d23d7..e8600d1c42 100644 --- a/apidocs/com/google/mu/function/CheckedRunnable.html +++ b/apidocs/com/google/mu/function/CheckedRunnable.html @@ -2,10 +2,10 @@ - + CheckedRunnable (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/CheckedSupplier.html b/apidocs/com/google/mu/function/CheckedSupplier.html index 7adea3f776..64b97d0b99 100644 --- a/apidocs/com/google/mu/function/CheckedSupplier.html +++ b/apidocs/com/google/mu/function/CheckedSupplier.html @@ -2,10 +2,10 @@ - + CheckedSupplier (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedBiConsumer.html b/apidocs/com/google/mu/function/class-use/CheckedBiConsumer.html index 1a82d8b657..3611eb7f84 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedBiConsumer.html +++ b/apidocs/com/google/mu/function/class-use/CheckedBiConsumer.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedBiConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedBiFunction.html b/apidocs/com/google/mu/function/class-use/CheckedBiFunction.html index 80423e0f76..08416deeab 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedBiFunction.html +++ b/apidocs/com/google/mu/function/class-use/CheckedBiFunction.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedBiFunction (core 7.2-SNAPSHOT API) - + @@ -150,28 +150,6 @@

Uses of -static <A,​B,​R,​E extends java.lang.Throwable>
java.util.Optional<R>
-Optionals.
flatMapBoth​(java.util.Optional<A> left, - java.util.Optional<B> right, - CheckedBiFunction<? super A,​? super B,​? extends java.util.Optional<R>,​E> mapper) - -
Deprecated. - -
- - - -static <A,​B,​R,​E extends java.lang.Throwable>
java.util.Optional<R>
-Optionals.mapBoth​(java.util.Optional<A> left, - java.util.Optional<B> right, - CheckedBiFunction<? super A,​? super B,​? extends R,​E> mapper) - -
Deprecated. - -
- - - static <A,​B,​T,​E extends java.lang.Throwable>
java.util.function.BiFunction<A,​B,​Maybe<T,​E>>
Maybe.maybe​(CheckedBiFunction<? super A,​? super B,​? extends T,​? extends E> function) diff --git a/apidocs/com/google/mu/function/class-use/CheckedBiPredicate.html b/apidocs/com/google/mu/function/class-use/CheckedBiPredicate.html index e9ae2d2687..e6c5e37ff2 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedBiPredicate.html +++ b/apidocs/com/google/mu/function/class-use/CheckedBiPredicate.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedBiPredicate (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedConsumer.html b/apidocs/com/google/mu/function/class-use/CheckedConsumer.html index b43d23205c..23412a1a2d 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedConsumer.html +++ b/apidocs/com/google/mu/function/class-use/CheckedConsumer.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedDoubleConsumer.html b/apidocs/com/google/mu/function/class-use/CheckedDoubleConsumer.html index 5c354d8e68..9919d74d39 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedDoubleConsumer.html +++ b/apidocs/com/google/mu/function/class-use/CheckedDoubleConsumer.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedDoubleConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedFunction.html b/apidocs/com/google/mu/function/class-use/CheckedFunction.html index 0cbb5d7464..fcde1689c3 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedFunction.html +++ b/apidocs/com/google/mu/function/class-use/CheckedFunction.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedFunction (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedIntConsumer.html b/apidocs/com/google/mu/function/class-use/CheckedIntConsumer.html index 8ea7949f46..840e4d8610 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedIntConsumer.html +++ b/apidocs/com/google/mu/function/class-use/CheckedIntConsumer.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedIntConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedLongConsumer.html b/apidocs/com/google/mu/function/class-use/CheckedLongConsumer.html index db6786f60e..7d9c778bb9 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedLongConsumer.html +++ b/apidocs/com/google/mu/function/class-use/CheckedLongConsumer.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedLongConsumer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedRunnable.html b/apidocs/com/google/mu/function/class-use/CheckedRunnable.html index 4c3bdd429b..327cddc6d3 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedRunnable.html +++ b/apidocs/com/google/mu/function/class-use/CheckedRunnable.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedRunnable (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/class-use/CheckedSupplier.html b/apidocs/com/google/mu/function/class-use/CheckedSupplier.html index c3a6ceafbc..b19b5ef2d6 100644 --- a/apidocs/com/google/mu/function/class-use/CheckedSupplier.html +++ b/apidocs/com/google/mu/function/class-use/CheckedSupplier.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.function.CheckedSupplier (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/function/package-summary.html b/apidocs/com/google/mu/function/package-summary.html index b57c9065c4..99dc149259 100644 --- a/apidocs/com/google/mu/function/package-summary.html +++ b/apidocs/com/google/mu/function/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.function (core 7.2-SNAPSHOT API) - + @@ -102,100 +102,97 @@

Package Specification

-BiComparator<K,​V> -Deprecated. -
Use one of: - BiStream.sorted(com.google.mu.function.BiComparator<? super K, ? super V>, com.google.mu.function.BiComparator<? super K, ? super V>...), - BiStream.sortedByKeys(java.util.Comparator<? super K>), - BiStream.sortedByValues(java.util.Comparator<? super V>), - BiCollectors.minBy(com.google.mu.function.BiComparator<? super K, ? super V>), - BiCollectors.minByKey(java.util.Comparator<? super K>), - BiCollectors.minByValue(java.util.Comparator<? super V>), - BiCollectors.maxBy(com.google.mu.function.BiComparator<? super K, ? super V>), - BiCollectors.maxByKey(java.util.Comparator<? super K>), - BiCollectors.maxByValue(java.util.Comparator<? super V>).
- - - CheckedBiConsumer<A,​B,​E extends java.lang.Throwable>
A binary consumer that can throw checked exceptions.
- + CheckedBiFunction<A,​B,​T,​E extends java.lang.Throwable>
A binary function that can throw checked exceptions.
- + CheckedBiPredicate<A,​B,​E extends java.lang.Throwable>
A binary predicate that can throw checked exceptions.
- + CheckedConsumer<T,​E extends java.lang.Throwable>
A consumer that can throw checked exceptions.
- + CheckedDoubleConsumer<E extends java.lang.Throwable>
A double-value consumer that can throw checked exceptions.
- + CheckedFunction<F,​T,​E extends java.lang.Throwable>
A function that can throw checked exceptions.
- + CheckedIntConsumer<E extends java.lang.Throwable>
An int consumer that can throw checked exceptions.
- + CheckedLongConsumer<E extends java.lang.Throwable>
A 64-bit long consumer that can throw checked exceptions.
- + CheckedRunnable<E extends java.lang.Throwable>   - + CheckedSupplier<T,​E extends java.lang.Throwable>
A supplier that can throw checked exceptions.
+ +MapFrom3<T,​R> + +
A 3-arg function of the signature of (T, T, T) -> R.
+ + -Quarternary<T,​R> +MapFrom4<T,​R>
A 4-arg function of the signature of (T, T, T, T) -> R.
-Quinary<T,​R> +MapFrom5<T,​R>
A 5-arg function of the signature of (T, T, T, T, T) -> R.
-Senary<T,​R> +MapFrom6<T,​R>
A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
-Ternary<T,​R> +MapFrom7<T,​R> -
A 3-arg function of the signature of (T, T, T) -> R.
+
A 6-arg function of the signature of (T, T, T, T, T, T, T) -> R.
+ + + +MapFrom8<T,​R> + +
A 6-arg function of the signature of (T, T, T, T, T, T, T, T) -> R.
diff --git a/apidocs/com/google/mu/function/package-tree.html b/apidocs/com/google/mu/function/package-tree.html index d92650cf9c..eeb52d384f 100644 --- a/apidocs/com/google/mu/function/package-tree.html +++ b/apidocs/com/google/mu/function/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.function Class Hierarchy (core 7.2-SNAPSHOT API) - + @@ -88,7 +88,6 @@

Hierarchy For Package com.google.mu.function

Interface Hierarchy

diff --git a/apidocs/com/google/mu/function/package-use.html b/apidocs/com/google/mu/function/package-use.html index fe001c69af..ed0afaec1a 100644 --- a/apidocs/com/google/mu/function/package-use.html +++ b/apidocs/com/google/mu/function/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.function (core 7.2-SNAPSHOT API) - + @@ -131,65 +131,48 @@

Uses of Package -BiComparator - -
Deprecated. - -
- - - CheckedBiConsumer
A binary consumer that can throw checked exceptions.
- + CheckedBiFunction
A binary function that can throw checked exceptions.
- + CheckedConsumer
A consumer that can throw checked exceptions.
- + CheckedDoubleConsumer
A double-value consumer that can throw checked exceptions.
- + CheckedFunction
A function that can throw checked exceptions.
- + CheckedIntConsumer
An int consumer that can throw checked exceptions.
- + CheckedLongConsumer
A 64-bit long consumer that can throw checked exceptions.
- + CheckedSupplier
A supplier that can throw checked exceptions.
@@ -263,27 +246,39 @@

Uses of Package -Quarternary +MapFrom3 -
A 4-arg function of the signature of (T, T, T, T) -> R.
+
A 3-arg function of the signature of (T, T, T) -> R.
-Quinary +MapFrom4 -
A 5-arg function of the signature of (T, T, T, T, T) -> R.
+
A 4-arg function of the signature of (T, T, T, T) -> R.
-Senary +MapFrom5 + +
A 5-arg function of the signature of (T, T, T, T, T) -> R.
+ + + +MapFrom6
A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
+ +MapFrom7 + +
A 6-arg function of the signature of (T, T, T, T, T, T, T) -> R.
+ + -Ternary +MapFrom8 -
A 3-arg function of the signature of (T, T, T) -> R.
+
A 6-arg function of the signature of (T, T, T, T, T, T, T, T) -> R.
@@ -323,50 +318,45 @@

Uses of Package -BiComparator - -
Deprecated. - -
+CheckedConsumer + +
A consumer that can throw checked exceptions.
-CheckedConsumer +MapFrom3 -
A consumer that can throw checked exceptions.
+
A 3-arg function of the signature of (T, T, T) -> R.
-Quarternary +MapFrom4
A 4-arg function of the signature of (T, T, T, T) -> R.
-Quinary +MapFrom5
A 5-arg function of the signature of (T, T, T, T, T) -> R.
-Senary +MapFrom6
A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
-Ternary +MapFrom7 -
A 3-arg function of the signature of (T, T, T) -> R.
+
A 6-arg function of the signature of (T, T, T, T, T, T, T) -> R.
+ + + +MapFrom8 + +
A 6-arg function of the signature of (T, T, T, T, T, T, T, T) -> R.
diff --git a/apidocs/com/google/mu/time/DateTimeFormats.html b/apidocs/com/google/mu/time/DateTimeFormats.html index 946d0996ef..1c85d7d063 100644 --- a/apidocs/com/google/mu/time/DateTimeFormats.html +++ b/apidocs/com/google/mu/time/DateTimeFormats.html @@ -2,10 +2,10 @@ - + DateTimeFormats (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/time/class-use/DateTimeFormats.html b/apidocs/com/google/mu/time/class-use/DateTimeFormats.html index bc9f5d8e82..30da433d1c 100644 --- a/apidocs/com/google/mu/time/class-use/DateTimeFormats.html +++ b/apidocs/com/google/mu/time/class-use/DateTimeFormats.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.time.DateTimeFormats (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/time/package-summary.html b/apidocs/com/google/mu/time/package-summary.html index bafe92ce1a..38d085ebef 100644 --- a/apidocs/com/google/mu/time/package-summary.html +++ b/apidocs/com/google/mu/time/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.time (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/time/package-tree.html b/apidocs/com/google/mu/time/package-tree.html index c66c87578d..9c9a6a04b1 100644 --- a/apidocs/com/google/mu/time/package-tree.html +++ b/apidocs/com/google/mu/time/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.time Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/time/package-use.html b/apidocs/com/google/mu/time/package-use.html index 43320c90d4..c3fc1f118e 100644 --- a/apidocs/com/google/mu/time/package-use.html +++ b/apidocs/com/google/mu/time/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.time (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/BiOptional.html b/apidocs/com/google/mu/util/BiOptional.html index 1bd33e3502..cf2d9b08af 100644 --- a/apidocs/com/google/mu/util/BiOptional.html +++ b/apidocs/com/google/mu/util/BiOptional.html @@ -2,10 +2,10 @@ - + BiOptional (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Both.html b/apidocs/com/google/mu/util/Both.html index 6c28129b28..b5f0879f8f 100644 --- a/apidocs/com/google/mu/util/Both.html +++ b/apidocs/com/google/mu/util/Both.html @@ -2,10 +2,10 @@ - + Both (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/CharPredicate.html b/apidocs/com/google/mu/util/CharPredicate.html index 4d38ca30ac..44e51e919b 100644 --- a/apidocs/com/google/mu/util/CharPredicate.html +++ b/apidocs/com/google/mu/util/CharPredicate.html @@ -2,10 +2,10 @@ - + CharPredicate (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Funnel.Batch.html b/apidocs/com/google/mu/util/Funnel.Batch.html index 13cd04361f..2e6a39830d 100644 --- a/apidocs/com/google/mu/util/Funnel.Batch.html +++ b/apidocs/com/google/mu/util/Funnel.Batch.html @@ -2,10 +2,10 @@ - + Funnel.Batch (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Funnel.html b/apidocs/com/google/mu/util/Funnel.html index f2a415b6c7..bf17ac2aa7 100644 --- a/apidocs/com/google/mu/util/Funnel.html +++ b/apidocs/com/google/mu/util/Funnel.html @@ -2,10 +2,10 @@ - + Funnel (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Maybe.html b/apidocs/com/google/mu/util/Maybe.html index 2f7988b956..d49f91beb9 100644 --- a/apidocs/com/google/mu/util/Maybe.html +++ b/apidocs/com/google/mu/util/Maybe.html @@ -2,10 +2,10 @@ - + Maybe (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/MoreCollections.html b/apidocs/com/google/mu/util/MoreCollections.html index 3bc10f705e..d54d1b103c 100644 --- a/apidocs/com/google/mu/util/MoreCollections.html +++ b/apidocs/com/google/mu/util/MoreCollections.html @@ -2,10 +2,10 @@ - + MoreCollections (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -148,46 +148,66 @@

Method Summary

static <T,​R>
java.util.Optional<R>
-findFirstElements​(java.util.Collection<T> collection, - Quarternary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom3<? super T,​? extends R> found) -
If collection has at least 4 elements, passes the first 4 elements to found function +
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().
static <T,​R>
java.util.Optional<R>
-findFirstElements​(java.util.Collection<T> collection, - Quinary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom4<? super T,​? extends R> found) -
If collection has at least 5 elements, passes the first 5 elements to found function +
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().
static <T,​R>
java.util.Optional<R>
-findFirstElements​(java.util.Collection<T> collection, - Senary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom5<? super T,​? extends R> found) -
If collection has at least 6 elements, passes the first 6 elements to found function +
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().
static <T,​R>
java.util.Optional<R>
-findFirstElements​(java.util.Collection<T> collection, - Ternary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom6<? super T,​? extends R> found) -
If collection has at least 3 elements, passes the first 3 elements to found function +
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().
static <T,​R>
java.util.Optional<R>
+findFirstElements​(java.util.Collection<T> collection, + MapFrom7<? super T,​? extends R> found) + +
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().
+ + + +static <T,​R>
java.util.Optional<R>
+findFirstElements​(java.util.Collection<T> collection, + MapFrom8<? super T,​? extends R> found) + +
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().
+ + + +static <T,​R>
java.util.Optional<R>
findFirstElements​(java.util.Collection<T> collection, java.util.function.BiFunction<? super T,​? super T,​? extends R> found) @@ -196,53 +216,73 @@

Method Summary

Optional.empty().
- + +static <T,​R>
java.util.Optional<R>
+findOnlyElements​(java.util.Collection<T> collection, + MapFrom3<? super T,​? extends R> found) + +
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().
+ + + static <T,​R>
java.util.Optional<R>
-findOnlyElements​(java.util.Collection<T> collection, - Quarternary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom4<? super T,​? extends R> found)
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().
- + static <T,​R>
java.util.Optional<R>
-findOnlyElements​(java.util.Collection<T> collection, - Quinary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom5<? super T,​? extends R> found)
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().
- + static <T,​R>
java.util.Optional<R>
-findOnlyElements​(java.util.Collection<T> collection, - Senary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom6<? super T,​? extends R> found)
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().
- + static <T,​R>
java.util.Optional<R>
-findOnlyElements​(java.util.Collection<T> collection, - Ternary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom7<? super T,​? extends R> found) -
If collection has exactly 3 elements, passes the 3 elements to found function +
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().
- + +static <T,​R>
java.util.Optional<R>
+findOnlyElements​(java.util.Collection<T> collection, + MapFrom8<? super T,​? extends R> found) + +
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().
+ + + static <T,​R>
java.util.Optional<R>
findOnlyElements​(java.util.Collection<T> collection, java.util.function.BiFunction<? super T,​? super T,​? extends R> found) -
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 +
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().
@@ -291,14 +331,14 @@

findFirstElements

- +
  • findFirstElements

    public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
    -                                                                  Ternary<? super T,​? extends R> found)
    + MapFrom3<? super T,​? extends R> found)
    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().
    @@ -309,14 +349,14 @@

    findFirstElements

- +
  • findFirstElements

    public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
    -                                                                  Quarternary<? super T,​? extends R> found)
    + MapFrom4<? super T,​? extends R> found)
    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().
    @@ -327,14 +367,14 @@

    findFirstElements

- +
  • findFirstElements

    public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
    -                                                                  Quinary<? super T,​? extends R> found)
    + MapFrom5<? super T,​? extends R> found)
    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().
    @@ -345,14 +385,14 @@

    findFirstElements

- +
  • findFirstElements

    public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
    -                                                                  Senary<? super T,​? extends R> found)
    + MapFrom6<? super T,​? extends R> found)
    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().
    @@ -363,6 +403,46 @@

    findFirstElements

+ + + +
    +
  • +

    findFirstElements

    +
    public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
    +                                                                  MapFrom7<? super T,​? extends R> found)
    +
    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().
    +
    +
    Throws:
    +
    java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
    +
    Since:
    +
    7.2
    +
    +
  • +
+ + + +
    +
  • +

    findFirstElements

    +
    public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
    +                                                                  MapFrom8<? super T,​? extends R> found)
    +
    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().
    +
    +
    Throws:
    +
    java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
    +
    Since:
    +
    7.2
    +
    +
  • +
@@ -371,8 +451,8 @@

findFirstElements

findOnlyElements

public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
                                                                  java.util.function.BiFunction<? super T,​? super T,​? extends R> found)
-
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 +
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().
Throws:
@@ -381,14 +461,14 @@

findOnlyElements

- +
  • findOnlyElements

    public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
    -                                                                 Ternary<? super T,​? extends R> found)
    + MapFrom3<? super T,​? extends R> found)
    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().
    @@ -399,14 +479,14 @@

    findOnlyElements

- +
  • findOnlyElements

    public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
    -                                                                 Quarternary<? super T,​? extends R> found)
    + MapFrom4<? super T,​? extends R> found)
    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().
    @@ -417,14 +497,14 @@

    findOnlyElements

- +
  • findOnlyElements

    public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
    -                                                                 Quinary<? super T,​? extends R> found)
    + MapFrom5<? super T,​? extends R> found)
    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().
    @@ -435,14 +515,14 @@

    findOnlyElements

- + -
    +
    • findOnlyElements

      public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
      -                                                                 Senary<? super T,​? extends R> found)
      + MapFrom6<? super T,​? extends R> found)
      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().
      @@ -453,6 +533,46 @@

      findOnlyElements

    + + + +
      +
    • +

      findOnlyElements

      +
      public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
      +                                                                 MapFrom7<? super T,​? extends R> found)
      +
      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().
      +
      +
      Throws:
      +
      java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      findOnlyElements

      +
      public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
      +                                                                 MapFrom8<? super T,​? extends R> found)
      +
      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().
      +
      +
      Throws:
      +
      java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
      +
      Since:
      +
      7.2
      +
      +
    • +
diff --git a/apidocs/com/google/mu/util/MoreIterables.html b/apidocs/com/google/mu/util/MoreIterables.html index 92361fff8a..60b2f13573 100644 --- a/apidocs/com/google/mu/util/MoreIterables.html +++ b/apidocs/com/google/mu/util/MoreIterables.html @@ -2,10 +2,10 @@ - + MoreIterables (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Optionals.html b/apidocs/com/google/mu/util/Optionals.html index 8556c5e0ed..f6a284a6ec 100644 --- a/apidocs/com/google/mu/util/Optionals.html +++ b/apidocs/com/google/mu/util/Optionals.html @@ -2,10 +2,10 @@ - + Optionals (core 7.2-SNAPSHOT API) - + @@ -28,8 +28,8 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":41,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":41,"i10":9,"i11":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -137,7 +137,7 @@

Class Optionals

Method Summary

-
+
@@ -164,17 +164,6 @@

Method Summary

- - - - - @@ -182,7 +171,7 @@

Method Summary

Runs action if the pair is present.
- + - + @@ -199,7 +188,7 @@

Method Summary

Invokes consumer if optional is present.
- + @@ -207,7 +196,7 @@

Method Summary

Invokes consumer if optional is present.
- + @@ -215,7 +204,7 @@

Method Summary

Invokes consumer if optional is present.
- + @@ -223,18 +212,7 @@

Method Summary

Invokes consumer if optional is present.
- - - - - - + @@ -243,7 +221,7 @@

Method Summary

not null, or else empty(). - + @@ -535,7 +513,7 @@

ifPresent

-
    +
    • ifPresent

      public static <A,​B,​E extends java.lang.Throwable> Premise ifPresent​(BiOptional<A,​B> optional,
      @@ -557,57 +535,6 @@ 

      ifPresent

    - - - -
      -
    • -

      mapBoth

      -
      @Deprecated
      -public static <A,​B,​R,​E extends java.lang.Throwable> java.util.Optional<R> mapBoth​(java.util.Optional<A> left,
      -                                                                                                    java.util.Optional<B> right,
      -                                                                                                    CheckedBiFunction<? super A,​? super B,​? extends R,​E> mapper)
      -                                                                                             throws E extends java.lang.Throwable
      - -
      Maps left and right using mapper if both are present. - Returns an Optional wrapping the result of mapper if non-null, or else returns - Optional.empty().
      -
      -
      Throws:
      -
      E extends java.lang.Throwable
      -
      Since:
      -
      3.8
      -
      -
    • -
    - - - -
      -
    • -

      flatMapBoth

      -
      @Deprecated
      -public static <A,​B,​R,​E extends java.lang.Throwable> java.util.Optional<R> flatMapBoth​(java.util.Optional<A> left,
      -                                                                                                        java.util.Optional<B> right,
      -                                                                                                        CheckedBiFunction<? super A,​? super B,​? extends java.util.Optional<R>,​E> mapper)
      -                                                                                                 throws E extends java.lang.Throwable
      - -
      Maps left and right using mapper if both are present. - Returns the result of mapper or Optional.empty() if either left or right - is empty.
      -
      -
      Throws:
      -
      java.lang.NullPointerException - if mapper returns null
      -
      E extends java.lang.Throwable
      -
      Since:
      -
      3.8
      -
      -
    • -
diff --git a/apidocs/com/google/mu/util/Ordinal.html b/apidocs/com/google/mu/util/Ordinal.html index 41813744fb..3237cad83d 100644 --- a/apidocs/com/google/mu/util/Ordinal.html +++ b/apidocs/com/google/mu/util/Ordinal.html @@ -2,10 +2,10 @@ - +Ordinal (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Premise.html b/apidocs/com/google/mu/util/Premise.html index caa1e81264..4ae9e3fe8e 100644 --- a/apidocs/com/google/mu/util/Premise.html +++ b/apidocs/com/google/mu/util/Premise.html @@ -2,10 +2,10 @@ - +Premise (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Selection.Parser.html b/apidocs/com/google/mu/util/Selection.Parser.html index 98ad18338a..4ec8b5f9d0 100644 --- a/apidocs/com/google/mu/util/Selection.Parser.html +++ b/apidocs/com/google/mu/util/Selection.Parser.html @@ -2,10 +2,10 @@ - +Selection.Parser (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Selection.html b/apidocs/com/google/mu/util/Selection.html index 8de0aeaa95..b5bb9ea191 100644 --- a/apidocs/com/google/mu/util/Selection.html +++ b/apidocs/com/google/mu/util/Selection.html @@ -2,10 +2,10 @@ - +Selection (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/StringFormat.Interpolator.html b/apidocs/com/google/mu/util/StringFormat.Interpolator.html index ec137e7760..65fa64e3ea 100644 --- a/apidocs/com/google/mu/util/StringFormat.Interpolator.html +++ b/apidocs/com/google/mu/util/StringFormat.Interpolator.html @@ -2,10 +2,10 @@ - +StringFormat.Interpolator (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/StringFormat.To.html b/apidocs/com/google/mu/util/StringFormat.To.html index b1c81ba0cb..d9c768d784 100644 --- a/apidocs/com/google/mu/util/StringFormat.To.html +++ b/apidocs/com/google/mu/util/StringFormat.To.html @@ -2,10 +2,10 @@ - +StringFormat.To (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/StringFormat.html b/apidocs/com/google/mu/util/StringFormat.html index 9a99fbff88..1c07d0bb8e 100644 --- a/apidocs/com/google/mu/util/StringFormat.html +++ b/apidocs/com/google/mu/util/StringFormat.html @@ -2,10 +2,10 @@ - +StringFormat (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":9,"i34":9,"i35":9,"i36":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":9,"i42":9,"i43":9,"i44":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -281,42 +281,60 @@

Method Summary

- + - + - + - + + + + + + + + + + + - + @@ -333,37 +351,37 @@

Method Summary

in this string format. - + - + - + - + - + - + - + @@ -373,7 +391,7 @@

Method Summary

from the end to the beginning of the input string. - + @@ -383,43 +401,61 @@

Method Summary

from the end to the beginning of the input string. - + + + + + + - + - + - + - + - + - + - + - + + + + + + @@ -428,7 +464,7 @@

Method Summary

string. - + @@ -437,39 +473,55 @@

Method Summary

format string. - + - + - + - + - + - + - + - + - + + + + + + + + + + + @@ -477,7 +529,7 @@

Method Summary

Scans input and replaces all matches using the replacement function.
- + @@ -485,46 +537,62 @@

Method Summary

Scans input and replaces all matches using the replacement function.
- + - + - + - + - + - + - + - + - + - + + + + + + + + + + + @@ -532,7 +600,7 @@

Method Summary

Scans the input string and extracts all matches of this string format.
- + @@ -540,14 +608,14 @@

Method Summary

Scans the input string and extracts all matches of this string format.
- + - + @@ -556,7 +624,7 @@

Method Summary

template string, using the given interpolator function. - + @@ -566,7 +634,7 @@

Method Summary

creator function to create the T instances. - + - - - - - - - - - -
static <A,​B,​R,​E extends java.lang.Throwable>
java.util.Optional<R>
flatMapBoth​(java.util.Optional<A> left, - java.util.Optional<B> right, - CheckedBiFunction<? super A,​? super B,​? extends java.util.Optional<R>,​E> mapper) - -
static <A,​B,​E extends java.lang.Throwable>
Premise
ifPresent​(BiOptional<A,​B> optional, CheckedBiConsumer<? super A,​? super B,​E> consumer)
static <A,​B,​E extends java.lang.Throwable>
Premise
ifPresent​(java.util.Optional<A> left, java.util.Optional<B> right, @@ -191,7 +180,7 @@

Method Summary

Invokes consumer if both left and right are present.
static <T,​E extends java.lang.Throwable>
Premise
ifPresent​(java.util.Optional<T> optional, CheckedConsumer<? super T,​E> consumer)
static <E extends java.lang.Throwable>
Premise
ifPresent​(java.util.OptionalDouble optional, CheckedDoubleConsumer<E> consumer)
static <E extends java.lang.Throwable>
Premise
ifPresent​(java.util.OptionalInt optional, CheckedIntConsumer<E> consumer)
static <E extends java.lang.Throwable>
Premise
ifPresent​(java.util.OptionalLong optional, CheckedLongConsumer<E> consumer)
static <A,​B,​R,​E extends java.lang.Throwable>
java.util.Optional<R>
mapBoth​(java.util.Optional<A> left, - java.util.Optional<B> right, - CheckedBiFunction<? super A,​? super B,​? extends R,​E> mapper) - -
static <T> java.util.Optional<T> optional​(boolean condition, T value)
static <T,​E extends java.lang.Throwable>
java.util.Optional<T>
optionally​(boolean condition, CheckedSupplier<? extends T,​E> supplier)
<R> java.util.Optional<R>parse​(java.lang.String input, - Quarternary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom3<? super java.lang.String,​? extends R> mapper)
Similar to parse(String, BiFunction), but parses input and applies - mapper with the 4 placeholder values in this string format.
+ mapper with the 3 placeholder values in this string format.
<R> java.util.Optional<R>parse​(java.lang.String input, - Quinary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom4<? super java.lang.String,​? extends R> mapper)
Similar to parse(String, BiFunction), but parses input and applies - mapper with the 5 placeholder values in this string format.
+ mapper with the 4 placeholder values in this string format.
<R> java.util.Optional<R>parse​(java.lang.String input, - Senary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom5<? super java.lang.String,​? extends R> mapper)
Similar to parse(String, BiFunction), but parses input and applies - mapper with the 6 placeholder values in this string format.
+ mapper with the 5 placeholder values in this string format.
<R> java.util.Optional<R>parse​(java.lang.String input, - Ternary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom6<? super java.lang.String,​? extends R> mapper)
Similar to parse(String, BiFunction), but parses input and applies - mapper with the 3 placeholder values in this string format.
+ mapper with the 6 placeholder values in this string format.
<R> java.util.Optional<R>parse​(java.lang.String input, + MapFrom7<? super java.lang.String,​? extends R> mapper) +
Similar to parse(String, BiFunction), but parses input and applies + mapper with the 7 placeholder values in this string format.
+
<R> java.util.Optional<R>parse​(java.lang.String input, + MapFrom8<? super java.lang.String,​? extends R> mapper) +
Similar to parse(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format.
+
<R> java.util.Optional<R> parse​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​? extends R> mapper) @@ -324,7 +342,7 @@

Method Summary

format.
<R> java.util.Optional<R> parse​(java.lang.String input, java.util.function.Function<? super java.lang.String,​? extends R> mapper)
<R> java.util.Optional<R>parseGreedy​(java.lang.String input, - Quarternary<? super java.lang.String,​? extends R> mapper)parseGreedy​(java.lang.String input, + MapFrom3<? super java.lang.String,​? extends R> mapper) -
Similar to parse(String, Quarternary), parses input and applies mapper +
Similar to 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.
<R> java.util.Optional<R>parseGreedy​(java.lang.String input, - Quinary<? super java.lang.String,​? extends R> mapper)parseGreedy​(java.lang.String input, + MapFrom4<? super java.lang.String,​? extends R> mapper) -
Similar to parse(String, Quinary), parses input and applies mapper - with the 5 placeholder values in this format string, but matches the placeholders backwards +
Similar to 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.
<R> java.util.Optional<R>parseGreedy​(java.lang.String input, - Ternary<? super java.lang.String,​? extends R> mapper)parseGreedy​(java.lang.String input, + MapFrom5<? super java.lang.String,​? extends R> mapper) -
Similar to parse(String, Ternary), parses input and applies mapper - with the 3 placeholder values in this format string, but matches the placeholders backwards +
Similar to 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.
<R> java.util.Optional<R> parseGreedy​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​? extends R> mapper)
<R> java.util.Optional<R> parseGreedy​(java.lang.String input, java.util.function.Function<? super java.lang.String,​? extends R> mapper)
<R> RparseOrThrow​(java.lang.String input, + MapFrom3<? super java.lang.String,​R> mapper) +
Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 3 placeholder values in this format string.
+
<R> RparseOrThrow​(java.lang.String input, - Quarternary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom4<? super java.lang.String,​R> mapper)
Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 4 placeholder values in this string format.
<R> RparseOrThrow​(java.lang.String input, - Quinary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom5<? super java.lang.String,​R> mapper)
Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 5 placeholder values in this string format.
<R> RparseOrThrow​(java.lang.String input, - Senary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom6<? super java.lang.String,​R> mapper)
Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 6 placeholder values in this string format.
<R> RparseOrThrow​(java.lang.String input, - Ternary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom7<? super java.lang.String,​R> mapper)
Similar to parseOrThrow(String, BiFunction), but parses input and applies - mapper with the 3 placeholder values in this format string.
+ mapper with the 7 placeholder values in this string format.
<R> RparseOrThrow​(java.lang.String input, + MapFrom8<? super java.lang.String,​R> mapper) +
Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format.
+
<R> R parseOrThrow​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​R> mapper)
<R> R parseOrThrow​(java.lang.String input, java.util.function.Function<? super java.lang.String,​R> mapper)
java.lang.StringreplaceAllFrom​(java.lang.String input, - Quarternary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom3<? super Substring.Match,​?> replacement)
Scans input and replaces all matches using the replacement function.
java.lang.StringreplaceAllFrom​(java.lang.String input, - Quinary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom4<? super Substring.Match,​?> replacement)
Scans input and replaces all matches using the replacement function.
java.lang.StringreplaceAllFrom​(java.lang.String input, - Senary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom5<? super Substring.Match,​?> replacement)
Scans input and replaces all matches using the replacement function.
java.lang.StringreplaceAllFrom​(java.lang.String input, - Ternary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom6<? super Substring.Match,​?> replacement)
Scans input and replaces all matches using the replacement function.
java.lang.StringreplaceAllFrom​(java.lang.String input, + MapFrom7<? super Substring.Match,​?> replacement) +
Scans input and replaces all matches using the replacement function.
+
java.lang.StringreplaceAllFrom​(java.lang.String input, + MapFrom8<? super Substring.Match,​?> replacement) +
Scans input and replaces all matches using the replacement function.
+
java.lang.String replaceAllFrom​(java.lang.String input, java.util.function.BiFunction<? super Substring.Match,​? super Substring.Match,​?> replacement)
java.lang.String replaceAllFrom​(java.lang.String input, java.util.function.Function<? super Substring.Match,​?> replacement)
java.util.stream.Stream<java.util.List<Substring.Match>> scan​(java.lang.String input)
Scans the input string and extracts all matched placeholders in this string format.
<R> java.util.stream.Stream<R>scan​(java.lang.String input, - Quarternary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom3<? super java.lang.String,​? extends R> mapper)
Scans the input string and extracts all matches of this string format.
<R> java.util.stream.Stream<R>scan​(java.lang.String input, - Quinary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom4<? super java.lang.String,​? extends R> mapper)
Scans the input string and extracts all matches of this string format.
<R> java.util.stream.Stream<R>scan​(java.lang.String input, - Senary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom5<? super java.lang.String,​? extends R> mapper)
Scans the input string and extracts all matches of this string format.
<R> java.util.stream.Stream<R>scan​(java.lang.String input, - Ternary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom6<? super java.lang.String,​? extends R> mapper)
Scans the input string and extracts all matches of this string format.
<R> java.util.stream.Stream<R>scan​(java.lang.String input, + MapFrom7<? super java.lang.String,​? extends R> mapper) +
Scans the input string and extracts all matches of this string format.
+
<R> java.util.stream.Stream<R>scan​(java.lang.String input, + MapFrom8<? super java.lang.String,​? extends R> mapper) +
Scans the input string and extracts all matches of this string format.
+
<R> java.util.stream.Stream<R> scan​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​? extends R> mapper)
<R> java.util.stream.Stream<R> scan​(java.lang.String input, java.util.function.Function<? super java.lang.String,​? extends R> mapper)
static Substring.Pattern span​(java.lang.String format)
Returns a Substring.Pattern spanning the substring matching format.
static <T> StringFormat.To<T> template​(java.lang.String template, StringFormat.Interpolator<? extends T> interpolator)
static <T> StringFormat.To<T> to​(java.util.function.Function<? super java.lang.String,​? extends T> creator, java.lang.String format)
java.lang.String toString() @@ -777,14 +845,14 @@

parse

- +
  • parse

    public final <R> java.util.Optional<R> parse​(java.lang.String input,
    -                                             Ternary<? super java.lang.String,​? extends R> mapper)
    + MapFrom3<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies mapper with the 3 placeholder values in this string format. @@ -803,14 +871,14 @@

    parse

- +
  • parse

    public final <R> java.util.Optional<R> parse​(java.lang.String input,
    -                                             Quarternary<? super java.lang.String,​? extends R> mapper)
    + MapFrom4<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies mapper with the 4 placeholder values in this string format.
    @@ -822,14 +890,14 @@

    parse

- +
  • parse

    public final <R> java.util.Optional<R> parse​(java.lang.String input,
    -                                             Quinary<? super java.lang.String,​? extends R> mapper)
    + MapFrom5<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies mapper with the 5 placeholder values in this string format.
    @@ -841,14 +909,14 @@

    parse

- +
  • parse

    public final <R> java.util.Optional<R> parse​(java.lang.String input,
    -                                             Senary<? super java.lang.String,​? extends R> mapper)
    + MapFrom6<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies mapper with the 6 placeholder values in this string format.
    @@ -860,6 +928,48 @@

    parse

+ + + +
    +
  • +

    parse

    +
    public final <R> java.util.Optional<R> parse​(java.lang.String input,
    +                                             MapFrom7<? super java.lang.String,​? extends R> mapper)
    +
    Similar to parse(String, BiFunction), but parses input and applies + mapper with the 7 placeholder values in this string format.
    +
    +
    Returns:
    +
    the return value of the mapper function if not null. Returns empty if + input doesn't match the format, or mapper returns null.
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if or the format string doesn't have exactly 7 placeholders.
    +
    Since:
    +
    7.2
    +
    +
  • +
+ + + +
    +
  • +

    parse

    +
    public final <R> java.util.Optional<R> parse​(java.lang.String input,
    +                                             MapFrom8<? super java.lang.String,​? extends R> mapper)
    +
    Similar to parse(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format.
    +
    +
    Returns:
    +
    the return value of the mapper function if not null. Returns empty if + input doesn't match the format, or mapper returns null.
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if or the format string doesn't have exactly 8 placeholders.
    +
    Since:
    +
    7.2
    +
    +
  • +
@@ -945,14 +1055,14 @@

parseOrThrow

- +
  • parseOrThrow

    public final <R> R parseOrThrow​(java.lang.String input,
    -                                Ternary<? super java.lang.String,​R> mapper)
    + MapFrom3<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 3 placeholder values in this format string. @@ -963,10 +1073,10 @@

    parseOrThrow

    .parseOrThrow(input, (jobId, errorCode, errorDetails) -> ...); -

    Unlike parse(String, Ternary), IllegalArgumentException is thrown if the +

    Unlike parse(String, MapFrom3), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.Ternary<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

    + different exception type, or need to customize the error message, consider using parse(String, Ternary) instead and call Optional.orElseThrow() explicitly.
    Returns:
    the return value of the mapper function applied on the extracted placeholder @@ -980,21 +1090,21 @@

    parseOrThrow

- +
  • parseOrThrow

    public final <R> R parseOrThrow​(java.lang.String input,
    -                                Quarternary<? super java.lang.String,​R> mapper)
    + MapFrom4<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 4 placeholder values in this string format. -

    Unlike parse(String, Quarternary), IllegalArgumentException is thrown if +

    Unlike parse(String, MapFrom4), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.Quarternary<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

    + different exception type, or need to customize the error message, consider using parse(String, Quarternary) instead and call Optional.orElseThrow() explicitly.
    Returns:
    the return value of the mapper function applied on the extracted placeholder @@ -1008,21 +1118,21 @@

    parseOrThrow

- +
  • parseOrThrow

    public final <R> R parseOrThrow​(java.lang.String input,
    -                                Quinary<? super java.lang.String,​R> mapper)
    + MapFrom5<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 5 placeholder values in this string format. -

    Unlike parse(String, Quinary), IllegalArgumentException is thrown if the +

    Unlike parse(String, MapFrom5), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.Quinary<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

    + different exception type, or need to customize the error message, consider using parse(String, Quinary) instead and call Optional.orElseThrow() explicitly.
    Returns:
    the return value of the mapper function applied on the extracted placeholder @@ -1036,21 +1146,21 @@

    parseOrThrow

- +
  • parseOrThrow

    public final <R> R parseOrThrow​(java.lang.String input,
    -                                Senary<? super java.lang.String,​R> mapper)
    + MapFrom6<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 6 placeholder values in this string format. -

    Unlike #parse(String, MapFrom6), IllegalArgumentException is thrown if the +

    Unlike parse(String, MapFrom6), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using parse(String, MapFrom6) instead and call Optional.orElseThrow() explicitly.

    + different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.MapFrom6<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.
    Returns:
    the return value of the mapper function applied on the extracted placeholder @@ -1064,6 +1174,62 @@

    parseOrThrow

+ + + +
    +
  • +

    parseOrThrow

    +
    public final <R> R parseOrThrow​(java.lang.String input,
    +                                MapFrom7<? super java.lang.String,​R> mapper)
    +
    Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 7 placeholder values in this string format. + +

    Unlike parse(String, MapFrom6), IllegalArgumentException is thrown if the + input string doesn't match the string format. The error message will include both the input + string and the format string for ease of debugging, but is otherwise generic. If you need a + different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.MapFrom6<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

    +
    +
    Returns:
    +
    the return value of the mapper function applied on the extracted placeholder + values.
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if the input string doesn't match the string format, or if the + format string doesn't have exactly 7 placeholders
    +
    java.lang.NullPointerException - if any of the parameter is null or mapper returns null.
    +
    Since:
    +
    7.2
    +
    +
  • +
+ + + +
    +
  • +

    parseOrThrow

    +
    public final <R> R parseOrThrow​(java.lang.String input,
    +                                MapFrom8<? super java.lang.String,​R> mapper)
    +
    Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format. + +

    Unlike parse(String, MapFrom6), IllegalArgumentException is thrown if the + input string doesn't match the string format. The error message will include both the input + string and the format string for ease of debugging, but is otherwise generic. If you need a + different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.MapFrom6<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

    +
    +
    Returns:
    +
    the return value of the mapper function applied on the extracted placeholder + values.
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if the input string doesn't match the string format, or if the + format string doesn't have exactly 8 placeholders
    +
    java.lang.NullPointerException - if any of the parameter is null or mapper returns null.
    +
    Since:
    +
    7.2
    +
    +
  • +
@@ -1124,15 +1290,15 @@

parseGreedy

- +
  • parseGreedy

    public final <R> java.util.Optional<R> parseGreedy​(java.lang.String input,
    -                                                   Ternary<? super java.lang.String,​? extends R> mapper)
    -
    Similar to parse(String, Ternary), parses input and applies mapper + MapFrom3<? super java.lang.String,​? extends R> mapper) +
    Similar to 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. @@ -1149,15 +1315,15 @@

    parseGreedy

- +
  • parseGreedy

    public final <R> java.util.Optional<R> parseGreedy​(java.lang.String input,
    -                                                   Quarternary<? super java.lang.String,​? extends R> mapper)
    -
    Similar to parse(String, Quarternary), parses input and applies mapper + MapFrom4<? super java.lang.String,​? extends R> mapper) +
    Similar to 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. @@ -1174,15 +1340,15 @@

    parseGreedy

- +
  • parseGreedy

    public final <R> java.util.Optional<R> parseGreedy​(java.lang.String input,
    -                                                   Quinary<? super java.lang.String,​? extends R> mapper)
    -
    Similar to parse(String, Quinary), parses input and applies mapper + MapFrom5<? super java.lang.String,​? extends R> mapper) +
    Similar to 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. @@ -1292,14 +1458,14 @@

    replaceAllFrom

- +
  • replaceAllFrom

    public final java.lang.String replaceAllFrom​(java.lang.String input,
    -                                             Ternary<? super Substring.Match,​?> replacement)
    + MapFrom3<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.

    If no match is found, the input string is returned. @@ -1319,14 +1485,14 @@

    replaceAllFrom

- +
  • replaceAllFrom

    public final java.lang.String replaceAllFrom​(java.lang.String input,
    -                                             Quarternary<? super Substring.Match,​?> replacement)
    + MapFrom4<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.

    If no match is found, the input string is returned. @@ -1346,14 +1512,14 @@

    replaceAllFrom

- +
  • replaceAllFrom

    public final java.lang.String replaceAllFrom​(java.lang.String input,
    -                                             Quinary<? super Substring.Match,​?> replacement)
    + MapFrom5<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.

    If no match is found, the input string is returned. @@ -1373,14 +1539,14 @@

    replaceAllFrom

- +
  • replaceAllFrom

    public final java.lang.String replaceAllFrom​(java.lang.String input,
    -                                             Senary<? super Substring.Match,​?> replacement)
    + MapFrom6<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.

    If no match is found, the input string is returned. @@ -1400,6 +1566,60 @@

    replaceAllFrom

+ + + +
    +
  • +

    replaceAllFrom

    +
    public final java.lang.String replaceAllFrom​(java.lang.String input,
    +                                             MapFrom7<? super Substring.Match,​?> replacement)
    +
    Scans input and replaces all matches using the replacement function. + +

    If no match is found, the input string is returned. + +

    If replacement returns null, the match is ignored as if it didn't match the format. + This can be used to post-filter the match with custom predicates (e.g. a placeholder value must + be digits only). + +

    The replacement function accepts Substring.Match instead of String to avoid + unnecessary copying of the characters. If you are passing in a method reference, it can also + take CharSequence or Object as the parameter types.

    +
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if the format string doesn't have exactly 7 named placeholder
    +
    Since:
    +
    7.2
    +
    +
  • +
+ + + +
    +
  • +

    replaceAllFrom

    +
    public final java.lang.String replaceAllFrom​(java.lang.String input,
    +                                             MapFrom8<? super Substring.Match,​?> replacement)
    +
    Scans input and replaces all matches using the replacement function. + +

    If no match is found, the input string is returned. + +

    If replacement returns null, the match is ignored as if it didn't match the format. + This can be used to post-filter the match with custom predicates (e.g. a placeholder value must + be digits only). + +

    The replacement function accepts Substring.Match instead of String to avoid + unnecessary copying of the characters. If you are passing in a method reference, it can also + take CharSequence or Object as the parameter types.

    +
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if the format string doesn't have exactly 8 named placeholder
    +
    Since:
    +
    7.2
    +
    +
  • +
@@ -1474,14 +1694,14 @@

scan

mapper function, which will then be ignored in the result stream. - +
  • scan

    public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
    -                                                 Ternary<? super java.lang.String,​? extends R> mapper)
    + MapFrom3<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 3 placeholder values to the mapper function for each iteration, with null results skipped. @@ -1494,7 +1714,7 @@

    scan

    .parse(input, (lhs, rhs, result) -> ...); -

    unlike parse(String, Ternary), the input string isn't matched entirely: the pattern +

    unlike parse(String, MapFrom3), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1504,19 +1724,19 @@

    scan

    mapper function, which will then be ignored in the result stream.
- +
  • scan

    public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
    -                                                 Quarternary<? super java.lang.String,​? extends R> mapper)
    + MapFrom4<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 4 placeholder values to the mapper function for each iteration, with null results skipped. -

    unlike parse(String, Quarternary), the input string isn't matched entirely: the +

    unlike parse(String, MapFrom4), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1526,19 +1746,19 @@

    scan

    mapper function, which will then be ignored in the result stream.
- +
  • scan

    public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
    -                                                 Quinary<? super java.lang.String,​? extends R> mapper)
    + MapFrom5<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 5 placeholder values to the mapper function for each iteration, with null results skipped. -

    unlike parse(String, Quinary), the input string isn't matched entirely: the pattern +

    unlike parse(String, MapFrom5), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1548,19 +1768,41 @@

    scan

    mapper function, which will then be ignored in the result stream.
- +
  • scan

    public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
    -                                                 Senary<? super java.lang.String,​? extends R> mapper)
    + MapFrom6<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 6 placeholder values to the mapper function for each iteration, with null results skipped. -

    unlike parse(String, Senary), the input string isn't matched entirely: the pattern +

    unlike parse(String, MapFrom6), the input string isn't matched entirely: the pattern + doesn't have to start from the beginning, and if there are some remaining characters that don't + match the pattern any more, the stream stops. In particular, if there is no match, empty stream + is returned. + +

    By default, placeholders are allowed to be matched against an empty string. If a certain + placeholder isn't expected to be empty, consider filtering it out by returning null from the + mapper function, which will then be ignored in the result stream.

    +
  • +
+ + + +
    +
  • +

    scan

    +
    public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
    +                                                 MapFrom7<? super java.lang.String,​? extends R> mapper)
    +
    Scans the input string and extracts all matches of this string format. Returns the lazy + stream of non-null results from passing the 7 placeholder values to the mapper function + for each iteration, with null results skipped. + +

    unlike parse(String, MapFrom6), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1568,6 +1810,36 @@

    scan

    By default, placeholders are allowed to be matched against an empty string. If a certain placeholder isn't expected to be empty, consider filtering it out by returning null from the mapper function, which will then be ignored in the result stream.

    +
    +
    Since:
    +
    7.2
    +
    +
  • +
+ + + +
    +
  • +

    scan

    +
    public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
    +                                                 MapFrom8<? super java.lang.String,​? extends R> mapper)
    +
    Scans the input string and extracts all matches of this string format. Returns the lazy + stream of non-null results from passing the 8 placeholder values to the mapper function + for each iteration, with null results skipped. + +

    unlike parse(String, MapFrom6), the input string isn't matched entirely: the pattern + doesn't have to start from the beginning, and if there are some remaining characters that don't + match the pattern any more, the stream stops. In particular, if there is no match, empty stream + is returned. + +

    By default, placeholders are allowed to be matched against an empty string. If a certain + placeholder isn't expected to be empty, consider filtering it out by returning null from the + mapper function, which will then be ignored in the result stream.

    +
    +
    Since:
    +
    7.2
    +
diff --git a/apidocs/com/google/mu/util/Substring.BoundStyle.html b/apidocs/com/google/mu/util/Substring.BoundStyle.html index a09d4f148f..abdd5f275d 100644 --- a/apidocs/com/google/mu/util/Substring.BoundStyle.html +++ b/apidocs/com/google/mu/util/Substring.BoundStyle.html @@ -2,10 +2,10 @@ - + Substring.BoundStyle (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Substring.Match.html b/apidocs/com/google/mu/util/Substring.Match.html index 59d59dbad0..efecb0671a 100644 --- a/apidocs/com/google/mu/util/Substring.Match.html +++ b/apidocs/com/google/mu/util/Substring.Match.html @@ -2,10 +2,10 @@ - + Substring.Match (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/Substring.Pattern.html b/apidocs/com/google/mu/util/Substring.Pattern.html index 5f35b87d74..e11b5b5b87 100644 --- a/apidocs/com/google/mu/util/Substring.Pattern.html +++ b/apidocs/com/google/mu/util/Substring.Pattern.html @@ -2,10 +2,10 @@ - + Substring.Pattern (core 7.2-SNAPSHOT API) - + @@ -28,8 +28,8 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":42,"i28":42}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -166,7 +166,7 @@

Constructor Summary

Method Summary

-
+
@@ -239,23 +239,13 @@

Method Summary

- - - - - - + @@ -265,7 +255,7 @@

Method Summary

after string. - + - + - + - - - - - - + - + - + - + @@ -331,7 +312,7 @@

Method Summary

replacement. - + @@ -340,7 +321,7 @@

Method Summary

the return value of replacementFunction. - + - + @@ -360,7 +341,7 @@

Method Summary

separatorAfter character. - + @@ -370,14 +351,14 @@

Method Summary

from the end of the match. - + - + - + - + - + - - - - - - - - - -
Substring.Patternnot() -
Deprecated. - -
-
Substring.Pattern notFollowedBy​(java.lang.String lookahead)
Returns an otherwise equivalent pattern except it requires the matched substring not be immediately followed by the lookahead string.
Substring.Pattern notImmediatelyBetween​(java.lang.String lookbehind, java.lang.String lookahead)
Substring.Pattern notPrecededBy​(java.lang.String lookbehind) @@ -273,7 +263,7 @@

Method Summary

immediately preceded by the lookbehind string.
Substring.Pattern or​(Substring.Pattern that) @@ -281,7 +271,7 @@

Method Summary

match.
Substring.Pattern peek​(Substring.Pattern following) @@ -289,16 +279,7 @@

Method Summary

if the following pattern can't find a match in the substring after the current match.
Substring.Patternpeek​(java.lang.String following) -
Deprecated. - -
-
Substring.Pattern precededBy​(java.lang.String lookbehind) @@ -306,7 +287,7 @@

Method Summary

immediately preceded by the lookahead string.
java.lang.String removeFrom​(java.lang.String string) @@ -314,7 +295,7 @@

Method Summary

removed if successful.
Substring.RepeatingPattern repeatedly() @@ -322,7 +303,7 @@

Method Summary

string.
java.lang.String replaceFrom​(java.lang.String string, java.lang.CharSequence replacement)
java.lang.String replaceFrom​(java.lang.String string, java.util.function.Function<? super Substring.Match,​? extends java.lang.CharSequence> replacementFunction)
Substring.Pattern separatedBy​(CharPredicate separator) @@ -348,7 +329,7 @@

Method Summary

to the beginning of the string, the end of the string, or the separator character(s).
Substring.Pattern separatedBy​(CharPredicate separatorBefore, CharPredicate separatorAfter)
Substring.Pattern skip​(int fromBeginning, int fromEnd)
BiOptional<java.lang.String,​java.lang.String> split​(java.lang.CharSequence string)
Splits string into two parts that are separated by this separator pattern.
BiOptional<java.lang.String,​java.lang.String> splitThenTrim​(java.lang.CharSequence string) @@ -385,7 +366,7 @@

Method Summary

leading and trailing whitespaces trimmed.
Substring.Pattern then​(Substring.Pattern following) @@ -393,7 +374,7 @@

Method Summary

pattern after it has matched this pattern.
Substring.Pattern toEnd() @@ -401,7 +382,7 @@

Method Summary

end of the input string.
java.lang.String toString() @@ -409,25 +390,6 @@

Method Summary

and Substring.Suffix that have an explicitly defined representation.
Substring.PatternwithBoundary​(CharPredicate boundary) -
Deprecated. - -
-
Substring.PatternwithBoundary​(CharPredicate boundaryBefore, - CharPredicate boundaryAfter) -
Deprecated. - -
-
@@ -653,38 +615,6 @@

then

- - - -
    -
  • -

    peek

    -
    @Deprecated
    -public final Substring.Pattern peek​(java.lang.String following)
    -
    Deprecated. - -
    -
    Return a Pattern equivalent to this Pattern, except it will fail to match - if it's not followed by the following string. - -

    Useful in asserting that the current match is followed by the expected keyword. For example: - SCHEME_NAME.peek(":") returns the URI scheme name. - -

    Note that unlike regex lookahead, no backtracking is attempted. So - first("foo").peek("bar") will match "bafoobar" but won't match "foofoobar". - -

    If look-ahead is needed, you can use followedBy(java.lang.String) as in - first("foo").followedBy("bar"). - -

    If you are trying to define a boundary around or after your pattern similar to regex - anchor '\b', consider using separatedBy(com.google.mu.util.CharPredicate) if the boundary can be detected by - a character.

    -
    -
    Since:
    -
    6.0
    -
    -
  • -
@@ -714,41 +644,6 @@

peek

- - - - - - - - @@ -965,31 +860,6 @@

notPrecededBy

- - - - diff --git a/apidocs/com/google/mu/util/Substring.Prefix.html b/apidocs/com/google/mu/util/Substring.Prefix.html index 0ea12ea6b1..481b55e582 100644 --- a/apidocs/com/google/mu/util/Substring.Prefix.html +++ b/apidocs/com/google/mu/util/Substring.Prefix.html @@ -2,10 +2,10 @@ - + Substring.Prefix (core 7.2-SNAPSHOT API) - + @@ -261,7 +261,7 @@

Method Summary

Methods inherited from class com.google.mu.util.Substring.Pattern

-followedBy, from, immediatelyBetween, immediatelyBetween, in, in, limit, not, notFollowedBy, notImmediatelyBetween, notPrecededBy, or, peek, peek, precededBy, removeFrom, repeatedly, replaceFrom, replaceFrom, separatedBy, separatedBy, skip, split, splitThenTrim, then, toEnd, withBoundary, withBoundary +followedBy, from, immediatelyBetween, immediatelyBetween, in, in, limit, notFollowedBy, notImmediatelyBetween, notPrecededBy, or, peek, precededBy, removeFrom, repeatedly, replaceFrom, replaceFrom, separatedBy, separatedBy, skip, split, splitThenTrim, then, toEnd
BiOptional<K,​V>BiStream.max​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
BiOptional<K,​V>BiStream.min​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
@@ -367,15 +347,6 @@

Uses of BiO static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>> -BiCollectors.maxBy​(BiComparator<? super K,​? super V> comparator) - - - - - -static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.maxBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator) @@ -383,7 +354,7 @@

Uses of BiO and then valueComparator for equal keys.

- + static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>> BiCollectors.maxByKey​(java.util.Comparator<? super K> comparator) @@ -391,7 +362,7 @@

Uses of BiO comparator.

- + static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>> BiCollectors.maxByValue​(java.util.Comparator<? super V> comparator) @@ -399,15 +370,6 @@

Uses of BiO comparator.

- -static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>> -BiCollectors.minBy​(BiComparator<? super K,​? super V> comparator) - - - - static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.minBy​(java.util.Comparator<? super K> keyComparator, diff --git a/apidocs/com/google/mu/util/class-use/Both.html b/apidocs/com/google/mu/util/class-use/Both.html index b4a222c558..e8d4f7bd7f 100644 --- a/apidocs/com/google/mu/util/class-use/Both.html +++ b/apidocs/com/google/mu/util/class-use/Both.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.Both (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/CharPredicate.html b/apidocs/com/google/mu/util/class-use/CharPredicate.html index 83c9ba5215..5dd7415075 100644 --- a/apidocs/com/google/mu/util/class-use/CharPredicate.html +++ b/apidocs/com/google/mu/util/class-use/CharPredicate.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.CharPredicate (core 7.2-SNAPSHOT API) - + @@ -319,25 +319,6 @@

Uses of -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundary) - - - - - -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundaryBefore, - CharPredicate boundaryAfter) - - - -

diff --git a/apidocs/com/google/mu/util/class-use/Funnel.Batch.html b/apidocs/com/google/mu/util/class-use/Funnel.Batch.html index f2c8d7c923..cc5d06a512 100644 --- a/apidocs/com/google/mu/util/class-use/Funnel.Batch.html +++ b/apidocs/com/google/mu/util/class-use/Funnel.Batch.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Funnel.Batch (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Funnel.html b/apidocs/com/google/mu/util/class-use/Funnel.html index e1318a31ea..d902155686 100644 --- a/apidocs/com/google/mu/util/class-use/Funnel.html +++ b/apidocs/com/google/mu/util/class-use/Funnel.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Funnel (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Maybe.html b/apidocs/com/google/mu/util/class-use/Maybe.html index 91c116ca17..c7cf916096 100644 --- a/apidocs/com/google/mu/util/class-use/Maybe.html +++ b/apidocs/com/google/mu/util/class-use/Maybe.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Maybe (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/MoreCollections.html b/apidocs/com/google/mu/util/class-use/MoreCollections.html index 5473d4affc..b652d59166 100644 --- a/apidocs/com/google/mu/util/class-use/MoreCollections.html +++ b/apidocs/com/google/mu/util/class-use/MoreCollections.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.MoreCollections (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/MoreIterables.html b/apidocs/com/google/mu/util/class-use/MoreIterables.html index 2dc1d76920..b6a58afd0d 100644 --- a/apidocs/com/google/mu/util/class-use/MoreIterables.html +++ b/apidocs/com/google/mu/util/class-use/MoreIterables.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.MoreIterables (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Optionals.html b/apidocs/com/google/mu/util/class-use/Optionals.html index 2c4daca74a..0e14ee80fd 100644 --- a/apidocs/com/google/mu/util/class-use/Optionals.html +++ b/apidocs/com/google/mu/util/class-use/Optionals.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Optionals (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Ordinal.html b/apidocs/com/google/mu/util/class-use/Ordinal.html index 7cca0b766e..be25029de2 100644 --- a/apidocs/com/google/mu/util/class-use/Ordinal.html +++ b/apidocs/com/google/mu/util/class-use/Ordinal.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Ordinal (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Premise.html b/apidocs/com/google/mu/util/class-use/Premise.html index ba6b40b7e2..c2bb94f578 100644 --- a/apidocs/com/google/mu/util/class-use/Premise.html +++ b/apidocs/com/google/mu/util/class-use/Premise.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.Premise (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Selection.Parser.html b/apidocs/com/google/mu/util/class-use/Selection.Parser.html index ad428b4b57..a417c9f20d 100644 --- a/apidocs/com/google/mu/util/class-use/Selection.Parser.html +++ b/apidocs/com/google/mu/util/class-use/Selection.Parser.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Selection.Parser (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Selection.html b/apidocs/com/google/mu/util/class-use/Selection.html index 3d4ac0b204..ca4f5328c7 100644 --- a/apidocs/com/google/mu/util/class-use/Selection.html +++ b/apidocs/com/google/mu/util/class-use/Selection.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.Selection (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html b/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html index 1bf621ce06..483c60e18c 100644 --- a/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html +++ b/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.StringFormat.Interpolator (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/StringFormat.To.html b/apidocs/com/google/mu/util/class-use/StringFormat.To.html index 23f6e92445..91ac74532f 100644 --- a/apidocs/com/google/mu/util/class-use/StringFormat.To.html +++ b/apidocs/com/google/mu/util/class-use/StringFormat.To.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.StringFormat.To (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/StringFormat.html b/apidocs/com/google/mu/util/class-use/StringFormat.html index 209848154e..3e4f792642 100644 --- a/apidocs/com/google/mu/util/class-use/StringFormat.html +++ b/apidocs/com/google/mu/util/class-use/StringFormat.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.StringFormat (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html b/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html index e30c286061..5a758895dc 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html +++ b/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.BoundStyle (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Substring.Match.html b/apidocs/com/google/mu/util/class-use/Substring.Match.html index 5ae6828c60..bfcade5b34 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.Match.html +++ b/apidocs/com/google/mu/util/class-use/Substring.Match.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Match (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Substring.Pattern.html b/apidocs/com/google/mu/util/class-use/Substring.Pattern.html index a0ae9c7919..4c071375d2 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.Pattern.html +++ b/apidocs/com/google/mu/util/class-use/Substring.Pattern.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Pattern (core 7.2-SNAPSHOT API) - + @@ -362,23 +362,13 @@

Uses of Substring.Pattern -Substring.Pattern.not() - -
Deprecated. - -
- - - -Substring.Pattern Substring.Pattern.notFollowedBy​(java.lang.String lookahead)
Returns an otherwise equivalent pattern except it requires the matched substring not be immediately followed by the lookahead string.
- + Substring.Pattern Substring.Pattern.notImmediatelyBetween​(java.lang.String lookbehind, java.lang.String lookahead) @@ -388,7 +378,7 @@

Uses of + Substring.Pattern Substring.Pattern.notPrecededBy​(java.lang.String lookbehind) @@ -396,7 +386,7 @@

Uses of + Substring.Pattern Substring.Pattern.or​(Substring.Pattern that) @@ -404,7 +394,7 @@

Uses of + Substring.Pattern Substring.Pattern.peek​(Substring.Pattern following) @@ -412,15 +402,6 @@

Uses of -Substring.Pattern -Substring.Pattern.peek​(java.lang.String following) - -
Deprecated. - -
- - Substring.Pattern Substring.Pattern.precededBy​(java.lang.String lookbehind) @@ -510,25 +491,6 @@

Uses of -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundary) - -
Deprecated. - -
- - - -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundaryBefore, - CharPredicate boundaryAfter) - -
Deprecated. - -
- - - static Substring.Pattern Substring.word() diff --git a/apidocs/com/google/mu/util/class-use/Substring.Prefix.html b/apidocs/com/google/mu/util/class-use/Substring.Prefix.html index 2c4d1073c3..4fc71691fd 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.Prefix.html +++ b/apidocs/com/google/mu/util/class-use/Substring.Prefix.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Prefix (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html b/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html index 041c5f7c5a..e1d7f65d90 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html +++ b/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.RepeatingPattern (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Substring.Suffix.html b/apidocs/com/google/mu/util/class-use/Substring.Suffix.html index 886ec463d8..42974fc6d0 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.Suffix.html +++ b/apidocs/com/google/mu/util/class-use/Substring.Suffix.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Suffix (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/class-use/Substring.html b/apidocs/com/google/mu/util/class-use/Substring.html index 4e7c31f322..a110ab8deb 100644 --- a/apidocs/com/google/mu/util/class-use/Substring.html +++ b/apidocs/com/google/mu/util/class-use/Substring.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/Parallelizer.html b/apidocs/com/google/mu/util/concurrent/Parallelizer.html index 95d498b08f..da2f9227a9 100644 --- a/apidocs/com/google/mu/util/concurrent/Parallelizer.html +++ b/apidocs/com/google/mu/util/concurrent/Parallelizer.html @@ -2,10 +2,10 @@ - + Parallelizer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html b/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html index 9c9556a1c9..92107d62f2 100644 --- a/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html +++ b/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html @@ -2,10 +2,10 @@ - + Retryer.Delay (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html b/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html index 47fb461fae..19fd33a3c2 100644 --- a/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html +++ b/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html @@ -2,10 +2,10 @@ - + Retryer.ForReturnValue (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/Retryer.html b/apidocs/com/google/mu/util/concurrent/Retryer.html index 93f86f18e5..f2e6c2a53d 100644 --- a/apidocs/com/google/mu/util/concurrent/Retryer.html +++ b/apidocs/com/google/mu/util/concurrent/Retryer.html @@ -2,10 +2,10 @@ - + Retryer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html b/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html index 2bdf0852ee..08ac53b8b5 100644 --- a/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html +++ b/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Parallelizer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html b/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html index 4b3b981428..6170c573a1 100644 --- a/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html +++ b/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Retryer.Delay (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html b/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html index a6c67ddc44..1b52949164 100644 --- a/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html +++ b/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Retryer.ForReturnValue (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html b/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html index 4674785689..a3a3e262aa 100644 --- a/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html +++ b/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Retryer (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/package-summary.html b/apidocs/com/google/mu/util/concurrent/package-summary.html index 28c70e4c4a..fd9aabeb85 100644 --- a/apidocs/com/google/mu/util/concurrent/package-summary.html +++ b/apidocs/com/google/mu/util/concurrent/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.util.concurrent (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/package-tree.html b/apidocs/com/google/mu/util/concurrent/package-tree.html index 8b46d31ef2..c6e8baa288 100644 --- a/apidocs/com/google/mu/util/concurrent/package-tree.html +++ b/apidocs/com/google/mu/util/concurrent/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util.concurrent Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/concurrent/package-use.html b/apidocs/com/google/mu/util/concurrent/package-use.html index 1d87e48701..7b2960523d 100644 --- a/apidocs/com/google/mu/util/concurrent/package-use.html +++ b/apidocs/com/google/mu/util/concurrent/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util.concurrent (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html b/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html index 7c4b4af88b..ada47b78d9 100644 --- a/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html +++ b/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html @@ -2,10 +2,10 @@ - + BinaryTreeWalker (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/CyclicGraphException.html b/apidocs/com/google/mu/util/graph/CyclicGraphException.html index 4467394799..fea545e56c 100644 --- a/apidocs/com/google/mu/util/graph/CyclicGraphException.html +++ b/apidocs/com/google/mu/util/graph/CyclicGraphException.html @@ -2,10 +2,10 @@ - + CyclicGraphException (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/GraphWalker.html b/apidocs/com/google/mu/util/graph/GraphWalker.html index 59c2fefb66..d8c249019f 100644 --- a/apidocs/com/google/mu/util/graph/GraphWalker.html +++ b/apidocs/com/google/mu/util/graph/GraphWalker.html @@ -2,10 +2,10 @@ - + GraphWalker (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/ShortestPath.html b/apidocs/com/google/mu/util/graph/ShortestPath.html index 8af1e9c77e..b81b3f91c1 100644 --- a/apidocs/com/google/mu/util/graph/ShortestPath.html +++ b/apidocs/com/google/mu/util/graph/ShortestPath.html @@ -2,10 +2,10 @@ - + ShortestPath (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/Walker.html b/apidocs/com/google/mu/util/graph/Walker.html index 6d42700877..0b6613dbb7 100644 --- a/apidocs/com/google/mu/util/graph/Walker.html +++ b/apidocs/com/google/mu/util/graph/Walker.html @@ -2,10 +2,10 @@ - + Walker (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html b/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html index 5bb31d2180..94a7b7bef5 100644 --- a/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html +++ b/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.BinaryTreeWalker (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html b/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html index ef5358a49d..19c2e2d731 100644 --- a/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html +++ b/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.CyclicGraphException (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html b/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html index c86be3cbf9..c4bafb1fd3 100644 --- a/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html +++ b/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.GraphWalker (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html b/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html index 009a113401..94d943024f 100644 --- a/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html +++ b/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.ShortestPath (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/class-use/Walker.html b/apidocs/com/google/mu/util/graph/class-use/Walker.html index fe7c5728cb..fa35222302 100644 --- a/apidocs/com/google/mu/util/graph/class-use/Walker.html +++ b/apidocs/com/google/mu/util/graph/class-use/Walker.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.Walker (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/package-summary.html b/apidocs/com/google/mu/util/graph/package-summary.html index 75da0712de..0406e23c8c 100644 --- a/apidocs/com/google/mu/util/graph/package-summary.html +++ b/apidocs/com/google/mu/util/graph/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.util.graph (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/package-tree.html b/apidocs/com/google/mu/util/graph/package-tree.html index 352f006a77..00e02e98aa 100644 --- a/apidocs/com/google/mu/util/graph/package-tree.html +++ b/apidocs/com/google/mu/util/graph/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util.graph Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/graph/package-use.html b/apidocs/com/google/mu/util/graph/package-use.html index f9fa93c542..7d5f88ad54 100644 --- a/apidocs/com/google/mu/util/graph/package-use.html +++ b/apidocs/com/google/mu/util/graph/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util.graph (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/package-summary.html b/apidocs/com/google/mu/util/package-summary.html index c26855abf4..ad2d4edbe4 100644 --- a/apidocs/com/google/mu/util/package-summary.html +++ b/apidocs/com/google/mu/util/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.util (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/package-tree.html b/apidocs/com/google/mu/util/package-tree.html index e7d12e1a82..71ab3b8f18 100644 --- a/apidocs/com/google/mu/util/package-tree.html +++ b/apidocs/com/google/mu/util/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/package-use.html b/apidocs/com/google/mu/util/package-use.html index 8e4c8ed307..94fb037a1f 100644 --- a/apidocs/com/google/mu/util/package-use.html +++ b/apidocs/com/google/mu/util/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiAccumulator.html b/apidocs/com/google/mu/util/stream/BiAccumulator.html index 11502d7e9a..7512b83dd2 100644 --- a/apidocs/com/google/mu/util/stream/BiAccumulator.html +++ b/apidocs/com/google/mu/util/stream/BiAccumulator.html @@ -2,10 +2,10 @@ - + BiAccumulator (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiCollection.html b/apidocs/com/google/mu/util/stream/BiCollection.html index 41d6be6730..5133543a20 100644 --- a/apidocs/com/google/mu/util/stream/BiCollection.html +++ b/apidocs/com/google/mu/util/stream/BiCollection.html @@ -2,10 +2,10 @@ - + BiCollection (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiCollector.html b/apidocs/com/google/mu/util/stream/BiCollector.html index 0c8f599053..b08c2da0f9 100644 --- a/apidocs/com/google/mu/util/stream/BiCollector.html +++ b/apidocs/com/google/mu/util/stream/BiCollector.html @@ -2,10 +2,10 @@ - + BiCollector (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiCollectors.html b/apidocs/com/google/mu/util/stream/BiCollectors.html index cae06fb5d7..77110cf7a3 100644 --- a/apidocs/com/google/mu/util/stream/BiCollectors.html +++ b/apidocs/com/google/mu/util/stream/BiCollectors.html @@ -2,10 +2,10 @@ - + BiCollectors (core 7.2-SNAPSHOT API) - + @@ -28,8 +28,8 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":9,"i18":9,"i19":9,"i20":41,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -148,7 +148,7 @@

Class BiCollectors

Method Summary

-
+
@@ -295,15 +295,6 @@

Method Summary

- - - - - - + - + - - - - - - + @@ -345,7 +327,7 @@

Method Summary

and then valueComparator for equal keys. - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - + @@ -873,7 +853,7 @@

Method Summary

Returns a BiStream of a single pair containing key and value.
- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + @@ -1102,7 +1072,7 @@

Method Summary

comparator on the values of pairs with equal keys. - + @@ -1111,7 +1081,7 @@

Method Summary

applying comparator on the result of applying the sortKeyFunction. - + - + - + - + - + - + @@ -1160,21 +1130,21 @@

Method Summary

BiStream. - + - + - + @@ -1184,7 +1154,7 @@

Method Summary

the corresponding third etc. - + @@ -2995,25 +2965,6 @@

sortedBy

- - - - @@ -3029,48 +2980,6 @@

sorted

To sort by value then by key, consider using inverse() first. - - - -

- - - - diff --git a/apidocs/com/google/mu/util/stream/FixedSizeCollector.html b/apidocs/com/google/mu/util/stream/FixedSizeCollector.html index 88def7e0dc..ca6b655169 100644 --- a/apidocs/com/google/mu/util/stream/FixedSizeCollector.html +++ b/apidocs/com/google/mu/util/stream/FixedSizeCollector.html @@ -2,10 +2,10 @@ - +FixedSizeCollector (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/Iteration.Continuation.html b/apidocs/com/google/mu/util/stream/Iteration.Continuation.html index 6dcd9f1d8d..cd75bc6571 100644 --- a/apidocs/com/google/mu/util/stream/Iteration.Continuation.html +++ b/apidocs/com/google/mu/util/stream/Iteration.Continuation.html @@ -2,10 +2,10 @@ - +Iteration.Continuation (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/Iteration.html b/apidocs/com/google/mu/util/stream/Iteration.html index bcf207317c..459457b7e0 100644 --- a/apidocs/com/google/mu/util/stream/Iteration.html +++ b/apidocs/com/google/mu/util/stream/Iteration.html @@ -2,10 +2,10 @@ - +Iteration (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/Joiner.html b/apidocs/com/google/mu/util/stream/Joiner.html index 2dc39f4e1c..db8f92d2af 100644 --- a/apidocs/com/google/mu/util/stream/Joiner.html +++ b/apidocs/com/google/mu/util/stream/Joiner.html @@ -2,10 +2,10 @@ - +Joiner (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/MoreCollectors.html b/apidocs/com/google/mu/util/stream/MoreCollectors.html index 352114fb93..75a721ad31 100644 --- a/apidocs/com/google/mu/util/stream/MoreCollectors.html +++ b/apidocs/com/google/mu/util/stream/MoreCollectors.html @@ -2,10 +2,10 @@ - +MoreCollectors (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -166,45 +166,61 @@

Method Summary

- + - + - + - + + + + + + + + + + + - + @@ -214,7 +230,7 @@

Method Summary

collects the flattened pairs with the downstream BiCollector. - + - + - + @@ -242,56 +258,70 @@

Method Summary

pair of elements, which are then accumulated by a BiCollector. - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + - + @@ -300,7 +330,7 @@

Method Summary

predicate, and those that don't. - + - + - + - + - - - - - - - - - - - - - @@ -936,7 +926,7 @@

Uses of +

- + @@ -969,7 +959,7 @@

Uses of +

diff --git a/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html b/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html index b400c28795..3e1a3a3a44 100644 --- a/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html +++ b/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.FixedSizeCollector (core 7.2-SNAPSHOT API) - + @@ -119,33 +119,49 @@

Uses of

- + - + - + + + + + + + + + + + - + @@ -166,30 +182,44 @@

Uses of

- + + + + + + + + + + + - + - + - + @@ -216,8 +246,8 @@

Uses of MoreCollectors.switching​(FixedSizeCollector<T,​?,​R> firstCase, FixedSizeCollector<T,​?,​R>... moreCases)

diff --git a/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html b/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html index 8b3ab6a8d9..3abc20835c 100644 --- a/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html +++ b/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html @@ -2,10 +2,10 @@ - +Uses of Interface com.google.mu.util.stream.Iteration.Continuation (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/Iteration.html b/apidocs/com/google/mu/util/stream/class-use/Iteration.html index 0e4b4c60e9..d8501263a8 100644 --- a/apidocs/com/google/mu/util/stream/class-use/Iteration.html +++ b/apidocs/com/google/mu/util/stream/class-use/Iteration.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.Iteration (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/Joiner.html b/apidocs/com/google/mu/util/stream/class-use/Joiner.html index 6ffb9b2cbd..4fe890b9d1 100644 --- a/apidocs/com/google/mu/util/stream/class-use/Joiner.html +++ b/apidocs/com/google/mu/util/stream/class-use/Joiner.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.Joiner (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html b/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html index 6cae648986..2b4e1a3258 100644 --- a/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html +++ b/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.MoreCollectors (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html b/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html index 9e3a01339d..ae2af3964a 100644 --- a/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html +++ b/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.MoreStreams (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/package-summary.html b/apidocs/com/google/mu/util/stream/package-summary.html index 993853d1c1..70276684d9 100644 --- a/apidocs/com/google/mu/util/stream/package-summary.html +++ b/apidocs/com/google/mu/util/stream/package-summary.html @@ -2,10 +2,10 @@ - +com.google.mu.util.stream (core 7.2-SNAPSHOT API) - + @@ -172,38 +172,30 @@

Package Specification

- - - - - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
maxBy​(BiComparator<? super K,​? super V> comparator) - -
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
maxBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator) @@ -311,7 +302,7 @@

Method Summary

and then valueComparator for equal keys.
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
maxByKey​(java.util.Comparator<? super K> comparator) @@ -319,7 +310,7 @@

Method Summary

comparator.
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
maxByValue​(java.util.Comparator<? super V> comparator) @@ -327,16 +318,7 @@

Method Summary

comparator.
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
minBy​(BiComparator<? super K,​? super V> comparator) -
Deprecated. - -
-
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
minBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator)
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
minByKey​(java.util.Comparator<? super K> comparator) @@ -353,7 +335,7 @@

Method Summary

comparator.
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
minByValue​(java.util.Comparator<? super V> comparator) @@ -361,7 +343,7 @@

Method Summary

comparator.
static <K,​V>
BiCollector<K,​V,​java.util.DoubleSummaryStatistics>
summarizingDouble​(java.util.function.ToDoubleBiFunction<? super K,​? super V> mapper) @@ -370,7 +352,7 @@

Method Summary

for the resulting values.
static <K,​V>
BiCollector<K,​V,​java.util.IntSummaryStatistics>
summarizingInt​(java.util.function.ToIntBiFunction<? super K,​? super V> mapper) @@ -379,7 +361,7 @@

Method Summary

for the resulting values.
static <K,​V>
BiCollector<K,​V,​java.util.LongSummaryStatistics>
summarizingLong​(java.util.function.ToLongBiFunction<? super K,​? super V> mapper) @@ -388,7 +370,7 @@

Method Summary

for the resulting values.
static <K,​V>
BiCollector<K,​V,​java.lang.Double>
summingDouble​(java.util.function.ToDoubleBiFunction<? super K,​? super V> mapper) @@ -396,7 +378,7 @@

Method Summary

function applied to the input pair.
static <K,​V>
BiCollector<K,​V,​java.lang.Integer>
summingInt​(java.util.function.ToIntBiFunction<? super K,​? super V> mapper) @@ -404,7 +386,7 @@

Method Summary

function applied to the input pair.
static <K,​V>
BiCollector<K,​V,​java.lang.Long>
summingLong​(java.util.function.ToLongBiFunction<? super K,​? super V> mapper) @@ -412,14 +394,14 @@

Method Summary

function applied to the input pair.
static <K,​V>
BiCollector<K,​V,​java.util.Map<K,​V>>
toMap()
Returns a BiCollector that collects the key-value pairs into an immutable Map.
static <K,​V>
BiCollector<K,​V,​java.util.Map<K,​V>>
toMap​(java.util.function.BinaryOperator<V> valueMerger) @@ -427,7 +409,7 @@

Method Summary

using valueMerger to merge values of duplicate keys.
static <K,​V,​M extends java.util.Map<K,​V>>
BiCollector<K,​V,​M>
toMap​(java.util.function.Supplier<? extends M> mapSupplier) @@ -435,7 +417,7 @@

Method Summary

created by mapSupplier.
static <K,​V1,​V>
BiCollector<K,​V1,​java.util.Map<K,​V>>
toMap​(java.util.stream.Collector<V1,​?,​V> valueCollector) @@ -1002,40 +984,6 @@

flatMapping

- - - - - - - - diff --git a/apidocs/com/google/mu/util/stream/BiIteration.html b/apidocs/com/google/mu/util/stream/BiIteration.html index d730028965..ca8152e42d 100644 --- a/apidocs/com/google/mu/util/stream/BiIteration.html +++ b/apidocs/com/google/mu/util/stream/BiIteration.html @@ -2,10 +2,10 @@ - + BiIteration (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiStream.Builder.html b/apidocs/com/google/mu/util/stream/BiStream.Builder.html index 21a5bbba8e..7df8deeb30 100644 --- a/apidocs/com/google/mu/util/stream/BiStream.Builder.html +++ b/apidocs/com/google/mu/util/stream/BiStream.Builder.html @@ -2,10 +2,10 @@ - + BiStream.Builder (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html b/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html index 94cb01a3cf..3027948a0f 100644 --- a/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html +++ b/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html @@ -2,10 +2,10 @@ - + BiStream.Partitioner (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/BiStream.html b/apidocs/com/google/mu/util/stream/BiStream.html index a4bbfc11bb..54d148bbd9 100644 --- a/apidocs/com/google/mu/util/stream/BiStream.html +++ b/apidocs/com/google/mu/util/stream/BiStream.html @@ -2,10 +2,10 @@ - + BiStream (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":6,"i12":6,"i13":6,"i14":10,"i15":9,"i16":9,"i17":9,"i18":9,"i19":10,"i20":9,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":6,"i38":6,"i39":9,"i40":41,"i41":9,"i42":9,"i43":41,"i44":9,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":6,"i59":10,"i60":6,"i61":10,"i62":10,"i63":10,"i64":10,"i65":6,"i66":10,"i67":10,"i68":10,"i69":6,"i70":6,"i71":6,"i72":6,"i73":10,"i74":10,"i75":6,"i76":10,"i77":10,"i78":10,"i79":42,"i80":42,"i81":10,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":10,"i93":9,"i94":6,"i95":10,"i96":10,"i97":10,"i98":42,"i99":10,"i100":10,"i101":10,"i102":10,"i103":9,"i104":9,"i105":9,"i106":9,"i107":10,"i108":10,"i109":9,"i110":9}; +var data = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":6,"i12":6,"i13":6,"i14":10,"i15":9,"i16":9,"i17":9,"i18":9,"i19":10,"i20":9,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":6,"i38":6,"i39":9,"i40":41,"i41":9,"i42":9,"i43":41,"i44":9,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":6,"i59":10,"i60":6,"i61":10,"i62":10,"i63":10,"i64":10,"i65":6,"i66":10,"i67":10,"i68":10,"i69":6,"i70":6,"i71":6,"i72":6,"i73":10,"i74":10,"i75":6,"i76":10,"i77":10,"i78":10,"i79":10,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":10,"i91":9,"i92":6,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":9,"i101":9,"i102":9,"i103":9,"i104":10,"i105":10,"i106":9,"i107":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -839,33 +839,13 @@

Method Summary

BiOptional<K,​V>max​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
BiOptional<K,​V>min​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
boolean noneMatch​(java.util.function.BiPredicate<? super K,​? super V> predicate)
Returns true if no pairs in this stream match predicate.
static <K,​V>
BiStream<K,​V>
of​(K key, V value)
static <K,​V>
BiStream<K,​V>
of​(K key1, V value1, @@ -883,7 +863,7 @@

Method Summary

Returns a BiStream of two pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K key1, V value1, @@ -895,7 +875,7 @@

Method Summary

Returns a BiStream of three pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -909,7 +889,7 @@

Method Summary

Returns a BiStream of 4 pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -925,7 +905,7 @@

Method Summary

Returns a BiStream of 5 pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -943,7 +923,7 @@

Method Summary

Returns a BiStream of 6 pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -963,7 +943,7 @@

Method Summary

Returns a BiStream of 7 pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -985,7 +965,7 @@

Method Summary

Returns a BiStream of 8 pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -1009,7 +989,7 @@

Method Summary

Returns a BiStream of 9 pairs, containing the supplied keys and values.
static <K,​V>
BiStream<K,​V>
of​(K k1, V v1, @@ -1035,7 +1015,7 @@

Method Summary

Returns a BiStream of 10 pairs, containing the supplied keys and values.
BiStream<K,​V> peek​(java.util.function.BiConsumer<? super K,​? super V> action) @@ -1043,7 +1023,7 @@

Method Summary

action on each pair as pairs are consumed from the resulting stream.
static <I,​O>
BiStream<I,​O>
repeat​(java.util.function.Function<? super I,​? extends O> work, I initial, @@ -1053,7 +1033,7 @@

Method Summary

function.
abstract BiStream<K,​V> skip​(int n) @@ -1061,38 +1041,28 @@

Method Summary

the first n pairs.
BiStream<K,​V> skipIf​(java.util.function.BiPredicate<? super K,​? super V> predicate)
Filter this stream to exclude pairs matching predicate.
BiStream<K,​V> skipKeysIf​(java.util.function.Predicate<? super K> predicate)
Filter this stream to exclude pairs whose key matches predicate.
BiStream<K,​V> skipValuesIf​(java.util.function.Predicate<? super V> predicate)
Filter this stream to exclude pairs whose value matches predicate.
BiStream<K,​V>sorted​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) -
Deprecated. - -
-
BiStream<K,​V> sorted​(java.util.Comparator<? super K> byKey, java.util.Comparator<? super V> byValue)
<T> BiStream<K,​V> sortedBy​(java.util.function.BiFunction<? super K,​? super V,​T> sortKeyFunction, java.util.Comparator<? super T> comparator)
BiStream<K,​V> sortedByKeys​(java.util.Comparator<? super K> comparator) @@ -1119,7 +1089,7 @@

Method Summary

applying comparator on the keys of each pair.
BiStream<K,​V> sortedByValues​(java.util.Comparator<? super V> comparator) @@ -1127,7 +1097,7 @@

Method Summary

applying comparator on the values of each pair.
static <T> java.util.stream.Collector<T,​?,​BiStream<T,​T>> toAdjacentPairs() @@ -1135,7 +1105,7 @@

Method Summary

BiStream.
static <T> java.util.stream.Collector<T,​?,​BiStream<T,​T>> toBiStream() @@ -1143,7 +1113,7 @@

Method Summary

BiStream.
static <E,​K,​V>
java.util.stream.Collector<E,​?,​BiStream<K,​V>>
toBiStream​(java.util.function.Function<? super E,​? extends Both<? extends K,​? extends V>> toPair) @@ -1151,7 +1121,7 @@

Method Summary

BiStream.
static <E,​K,​V>
java.util.stream.Collector<E,​?,​BiStream<K,​V>>
toBiStream​(java.util.function.Function<? super E,​? extends K> toKey, java.util.function.Function<? super E,​? extends V> toValue)
java.util.Map<K,​V> toMap()
Returns an immutable Map that is the result of collecting the pairs in this stream.
java.util.stream.Stream<V> values()
Returns a Stream consisting of only the values from each pair in this stream.
static <L,​R>
BiStream<L,​R>
zip​(java.util.Collection<L> left, java.util.Collection<R> right)
static <L,​R>
BiStream<L,​R>
zip​(java.util.stream.Stream<L> left, java.util.stream.Stream<R> right)
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(Quarternary<? super T,​? extends R> mapper)combining​(MapFrom3<? super T,​? extends R> mapper) -
Returns a collector that collects the only four elements from the input and transforms them +
Returns a collector that collects the only three elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(Quinary<? super T,​? extends R> mapper)combining​(MapFrom4<? super T,​? extends R> mapper) -
Returns a collector that collects the only five elements from the input and transforms them +
Returns a collector that collects the only four elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(Senary<? super T,​? extends R> mapper)combining​(MapFrom5<? super T,​? extends R> mapper) -
Returns a collector that collects the only six elements from the input and transforms them +
Returns a collector that collects the only five elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(Ternary<? super T,​? extends R> mapper)combining​(MapFrom6<? super T,​? extends R> mapper) -
Returns a collector that collects the only three elements from the input and transforms them +
Returns a collector that collects the only six elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(MapFrom7<? super T,​? extends R> mapper) +
Returns a collector that collects the only seven elements from the input and transforms them + using the mapper function.
+
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(MapFrom8<? super T,​? extends R> mapper) +
Returns a collector that collects the only eight elements from the input and transforms them + using the mapper function.
+
static <T,​R>
FixedSizeCollector<T,​?,​R>
combining​(java.util.function.BiFunction<? super T,​? super T,​? extends R> mapper)
Returns a collector that collects the only two elements from the input and transforms them using the mapper function.
static <T,​K,​V,​R>
java.util.stream.Collector<T,​?,​R>
flatMapping​(java.util.function.Function<? super T,​? extends BiStream<? extends K,​? extends V>> flattener, BiCollector<K,​V,​R> downstream)
static <K,​V,​R>
java.util.stream.Collector<java.util.Map<K,​V>,​?,​R>
flatteningMaps​(BiCollector<K,​V,​R> downstream) @@ -222,7 +238,7 @@

Method Summary

the downstream BiCollector.
static <F,​T,​T1,​R>
java.util.stream.Collector<F,​?,​R>
mapping​(java.util.function.Function<? super F,​? extends T> inputMapper, java.util.stream.Collector<T,​?,​T1> collector, @@ -232,7 +248,7 @@

Method Summary

uses outputMapper to transform the output of the given collector.
static <T,​A,​B,​R>
java.util.stream.Collector<T,​?,​R>
mapping​(java.util.function.Function<? super T,​? extends Both<? extends A,​? extends B>> mapper, BiCollector<A,​B,​R> downstream)
static <T> java.util.stream.Collector<T,​?,​BiOptional<T,​T>> minMax​(java.util.Comparator<? super T> comparator)
Returns a collector that collects the minimum and maximum elements from the input elements.
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElement​(java.util.function.Function<? super T,​? extends R> mapper)
Same as #asIn(Function).
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(Quarternary<? super T,​? extends R> mapper)onlyElements​(MapFrom3<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(Quinary<? super T,​? extends R> mapper)onlyElements​(MapFrom4<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(Senary<? super T,​? extends R> mapper)onlyElements​(MapFrom5<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(Ternary<? super T,​? extends R> mapper)onlyElements​(MapFrom6<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(MapFrom7<? super T,​? extends R> mapper) + +
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(MapFrom8<? super T,​? extends R> mapper) + +
static <T,​R>
FixedSizeCollector<T,​?,​R>
onlyElements​(java.util.function.BiFunction<? super T,​? super T,​? extends R> mapper)
static <E,​R>
java.util.stream.Collector<E,​?,​Both<R,​R>>
partitioningBy​(java.util.function.Predicate<? super E> predicate, java.util.stream.Collector<E,​?,​R> downstream)
static <E,​A1,​A2,​T,​F>
java.util.stream.Collector<E,​?,​Both<T,​F>>
partitioningBy​(java.util.function.Predicate<? super E> predicate, java.util.stream.Collector<E,​A1,​T> downstreamIfTrue, @@ -311,16 +341,16 @@

Method Summary

downstreamIfFalse
respectively to collect the elements.
static <T,​R>
java.util.stream.Collector<T,​?,​R>
switching​(FixedSizeCollector<T,​?,​R> firstCase, FixedSizeCollector<T,​?,​R>... moreCases) -
Returns a Collector that will collect the input elements using the first of - [firstCase, moreCases...] that matches the input elements.
+
Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.
static <T> java.util.stream.Collector<T,​?,​java.util.List<T>> toListAndThen​(java.util.function.Consumer<? super java.util.List<T>> arranger) @@ -328,7 +358,7 @@

Method Summary

arranger function before being wrapped as immutable list result.
static <T,​K,​V,​M extends java.util.Map<K,​V>>
java.util.stream.Collector<T,​?,​M>
toMap​(java.util.function.Function<? super T,​? extends K> keyFunction, java.util.function.Function<? super T,​? extends V> valueFunction, @@ -502,18 +532,18 @@

combining

- +
  • combining

    -
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Ternary<? super T,​? extends R> mapper)
    +
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom3<? super T,​? extends R> mapper)
    Returns a collector that collects the only three elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

    To handle the size() != 3 case, consider to use the MoreCollections.findOnlyElements() method, +

    To handle the size() != 3 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

    Since:
    @@ -521,18 +551,18 @@

    combining

- +
  • combining

    -
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Quarternary<? super T,​? extends R> mapper)
    +
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom4<? super T,​? extends R> mapper)
    Returns a collector that collects the only four elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

    To handle the size() != 4 case, consider to use the MoreCollections.findOnlyElements() method, +

    To handle the size() != 4 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

    Since:
    @@ -540,18 +570,18 @@

    combining

- +
  • combining

    -
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Quinary<? super T,​? extends R> mapper)
    +
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom5<? super T,​? extends R> mapper)
    Returns a collector that collects the only five elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

    To handle the size() != 5 case, consider to use the MoreCollections.findOnlyElements() method, +

    To handle the size() != 5 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

    Since:
    @@ -559,18 +589,18 @@

    combining

- +
  • combining

    -
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Senary<? super T,​? extends R> mapper)
    +
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom6<? super T,​? extends R> mapper)
    Returns a collector that collects the only six elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

    To handle the size() != 6 case, consider to use the MoreCollections.findOnlyElements() method, +

    To handle the size() != 6 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

    Since:
    @@ -578,6 +608,42 @@

    combining

+ + + +
    +
  • +

    combining

    +
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom7<? super T,​? extends R> mapper)
    +
    Returns a collector that collects the only seven elements from the input and transforms them + using the mapper function. If there are fewer or more elements in the input, + IllegalArgumentExceptioin is thrown. + +

    To handle the size() != 7 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

    +
    +
    Since:
    +
    7.2
    +
    +
  • +
+ + + +
    +
  • +

    combining

    +
    public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom8<? super T,​? extends R> mapper)
    +
    Returns a collector that collects the only eight elements from the input and transforms them + using the mapper function. If there are fewer or more elements in the input, + IllegalArgumentExceptioin is thrown. + +

    To handle the size() != 8 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

    +
    +
    Since:
    +
    7.2
    +
    +
  • +
@@ -606,62 +672,90 @@

onlyElements

- + - + - + - + + + + + + + + + @@ -671,24 +765,26 @@

switching

@SafeVarargs
 public static <T,​R> java.util.stream.Collector<T,​?,​R> switching​(FixedSizeCollector<T,​?,​R> firstCase,
                                                                                   FixedSizeCollector<T,​?,​R>... moreCases)
-
Returns a Collector that will collect the input elements using the first of - [firstCase, moreCases...] that matches the input elements. +
Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.

For example, you may have a table name that could be in one of several formats: +

    -
  • database.schema.table; -
  • schema.table in the current database; -
  • table in the current database and current schema; +
  • database.schema.table; +
  • schema.table in the current database; +
  • table in the current database and current schema;
To handle these different cases, you can do: +

-   Substring.first('.').repeatedly().split(tableName)
-       .collect(
-           switching(
-               asIn((db, schema, table) -> ...),
-               asIn((schema, table) -> ...),
-               asIn(table -> ...)));
+ Substring.first('.').repeatedly().split(tableName)
+     .collect(
+         switching(
+             asIn((db, schema, table) -> ...),
+             asIn((schema, table) -> ...),
+             asIn(table -> ...)));
  
Since:
diff --git a/apidocs/com/google/mu/util/stream/MoreStreams.html b/apidocs/com/google/mu/util/stream/MoreStreams.html index fa90237b07..6eaa7839ea 100644 --- a/apidocs/com/google/mu/util/stream/MoreStreams.html +++ b/apidocs/com/google/mu/util/stream/MoreStreams.html @@ -2,10 +2,10 @@ - + MoreStreams (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html b/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html index 3ba63b0575..5986d4c1e9 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.stream.BiAccumulator (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiCollection.html b/apidocs/com/google/mu/util/stream/class-use/BiCollection.html index 36b95fd494..9b40f8b6b4 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiCollection.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiCollection.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiCollection (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiCollector.html b/apidocs/com/google/mu/util/stream/class-use/BiCollector.html index 4226b58057..00513d1573 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiCollector.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiCollector.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.stream.BiCollector (core 7.2-SNAPSHOT API) - + @@ -255,15 +255,6 @@

Uses of

static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.maxBy​(BiComparator<? super K,​? super V> comparator) - -
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.maxBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator) @@ -271,7 +262,7 @@

Uses of +

static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.maxByKey​(java.util.Comparator<? super K> comparator) @@ -279,7 +270,7 @@

Uses of +

static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.maxByValue​(java.util.Comparator<? super V> comparator) @@ -287,15 +278,6 @@

Uses of -

static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.minBy​(BiComparator<? super K,​? super V> comparator) - -
static <K,​V>
BiCollector<K,​V,​BiOptional<K,​V>>
BiCollectors.minBy​(java.util.Comparator<? super K> keyComparator, diff --git a/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html b/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html index a7b577ed03..28f9bca32b 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiCollectors (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiIteration.html b/apidocs/com/google/mu/util/stream/class-use/BiIteration.html index 0998c19f44..1191b61e4a 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiIteration.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiIteration.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiIteration (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html b/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html index f3a91ffcef..3eaa27a890 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiStream.Builder (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html b/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html index 6cff213071..54b38af56a 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.stream.BiStream.Partitioner (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/com/google/mu/util/stream/class-use/BiStream.html b/apidocs/com/google/mu/util/stream/class-use/BiStream.html index a35aaa935a..956f6527e0 100644 --- a/apidocs/com/google/mu/util/stream/class-use/BiStream.html +++ b/apidocs/com/google/mu/util/stream/class-use/BiStream.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiStream (core 7.2-SNAPSHOT API) - + @@ -909,16 +909,6 @@

Uses of

BiStream<K,​V>BiStream.sorted​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) -
Deprecated. - -
-
BiStream<K,​V> BiStream.sorted​(java.util.Comparator<? super K> byKey, java.util.Comparator<? super V> byValue) @@ -927,7 +917,7 @@

Uses of +

<T> BiStream<K,​V> BiStream.sortedBy​(java.util.function.BiFunction<? super K,​? super V,​T> sortKeyFunction, java.util.Comparator<? super T> comparator)
BiStream<K,​V> BiStream.sortedByKeys​(java.util.Comparator<? super K> comparator) @@ -944,7 +934,7 @@

Uses of +

BiStream<K,​V> BiStream.sortedByValues​(java.util.Comparator<? super V> comparator) @@ -952,14 +942,14 @@

Uses of +

BiStream<L,​R> BiCollection.stream()
Streams over this BiCollection.
static <L,​R>
BiStream<L,​R>
BiStream.zip​(java.util.Collection<L> left, java.util.Collection<R> right)
static <L,​R>
BiStream<L,​R>
BiStream.zip​(java.util.stream.Stream<L> left, java.util.stream.Stream<R> right)static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.combining​(Quarternary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom3<? super T,​? extends R> mapper) -
Returns a collector that collects the only four elements from the input and transforms them +
Returns a collector that collects the only three elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.combining​(Quinary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom4<? super T,​? extends R> mapper) -
Returns a collector that collects the only five elements from the input and transforms them +
Returns a collector that collects the only four elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.combining​(Senary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom5<? super T,​? extends R> mapper) +
Returns a collector that collects the only five elements from the input and transforms them + using the mapper function.
+
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.combining​(MapFrom6<? super T,​? extends R> mapper)
Returns a collector that collects the only six elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.combining​(MapFrom7<? super T,​? extends R> mapper) +
Returns a collector that collects the only seven elements from the input and transforms them + using the mapper function.
+
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.combining​(Ternary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom8<? super T,​? extends R> mapper) -
Returns a collector that collects the only three elements from the input and transforms them +
Returns a collector that collects the only eight elements from the input and transforms them using the mapper function.
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.onlyElements​(Quarternary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom3<? super T,​? extends R> mapper) + +
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.onlyElements​(MapFrom4<? super T,​? extends R> mapper) + +
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.onlyElements​(MapFrom5<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.onlyElements​(Quinary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom6<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.onlyElements​(Senary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom7<? super T,​? extends R> mapper) - +
static <T,​R>
FixedSizeCollector<T,​?,​R>
MoreCollectors.onlyElements​(Ternary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom8<? super T,​? extends R> mapper) - +
-
Returns a Collector that will collect the input elements using the first of - [firstCase, moreCases...] that matches the input elements.
+
Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.
CasesDeprecated. -
Use findFirstElements() - and/or findOnlyElements() methods - together with Optional.or(java.util.function.Supplier<? extends java.util.Optional<? extends T>>) instead.
-
FixedSizeCollector<T,​A,​R>
A collector that expects a fixed number of input elements.
Iteration<T>
Transforms eager, recursive algorithms into lazy streams.
Joiner
A joiner (and Collector) that joins strings.
MoreCollectors
Static utilities pertaining to Collector in addition to relevant utilities in JDK and Guava.
MoreStreams
Static utilities pertaining to Stream in addition to relevant utilities in JDK and Guava.
diff --git a/apidocs/com/google/mu/util/stream/package-tree.html b/apidocs/com/google/mu/util/stream/package-tree.html index b2cdaa5509..d371ef4825 100644 --- a/apidocs/com/google/mu/util/stream/package-tree.html +++ b/apidocs/com/google/mu/util/stream/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util.stream Class Hierarchy (core 7.2-SNAPSHOT API) - + @@ -95,7 +95,6 @@

Class Hierarchy

  • com.google.mu.util.stream.BiIteration<L,​R>
  • com.google.mu.util.stream.BiStream<K,​V> (implements java.lang.AutoCloseable)
  • com.google.mu.util.stream.BiStream.Builder<K,​V>
  • -
  • com.google.mu.util.stream.Cases
  • com.google.mu.util.stream.FixedSizeCollector<T,​A,​R> (implements java.util.stream.Collector<T,​A,​R>)
  • com.google.mu.util.stream.Iteration<T>
  • com.google.mu.util.stream.Joiner (implements java.util.stream.Collector<T,​A,​R>)
  • diff --git a/apidocs/com/google/mu/util/stream/package-use.html b/apidocs/com/google/mu/util/stream/package-use.html index 6e68053f39..973601be35 100644 --- a/apidocs/com/google/mu/util/stream/package-use.html +++ b/apidocs/com/google/mu/util/stream/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util.stream (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/constant-values.html b/apidocs/constant-values.html index 844e09cf2b..38f02d3f4c 100644 --- a/apidocs/constant-values.html +++ b/apidocs/constant-values.html @@ -2,10 +2,10 @@ - + Constant Field Values (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html index 306b2ba576..b524445f11 100644 --- a/apidocs/deprecated-list.html +++ b/apidocs/deprecated-list.html @@ -2,10 +2,10 @@ - + Deprecated List (core 7.2-SNAPSHOT API) - + @@ -81,71 +81,10 @@

    Deprecated API

    Contents

    -
    com.google.mu.util.Optionals.flatMapBoth​(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends Optional<R>, E>) - -
    com.google.mu.util.Optionals.mapBoth​(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends R, E>) - -
    com.google.mu.util.stream.BiCollectors.maxBy​(BiComparator<? super K, ? super V>) - -
    com.google.mu.util.stream.BiCollectors.minBy​(BiComparator<? super K, ? super V>) - -
    com.google.mu.util.stream.BiStream.from​(Collection<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>)
    Use biStream(User::id, users) to create BiStream<UserId, User>, @@ -196,49 +111,6 @@

    Contents

    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.
    com.google.mu.util.stream.BiStream.max​(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - -
    com.google.mu.util.stream.BiStream.min​(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - -
    com.google.mu.util.stream.BiStream.sorted​(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - -
    com.google.mu.util.stream.Cases.switching​(Collector<? super T, ?, ? extends Optional<? extends R>>...) - -
    com.google.mu.util.Substring.Pattern.not() - -
    com.google.mu.util.Substring.Pattern.peek​(String) - -
    com.google.mu.util.Substring.Pattern.withBoundary​(CharPredicate) - -
    diff --git a/apidocs/help-doc.html b/apidocs/help-doc.html index ed24cd40fd..a3a27df6cf 100644 --- a/apidocs/help-doc.html +++ b/apidocs/help-doc.html @@ -2,10 +2,10 @@ - + API Help (core 7.2-SNAPSHOT API) - + diff --git a/apidocs/index-all.html b/apidocs/index-all.html index 451e4cff3d..efc7909419 100644 --- a/apidocs/index-all.html +++ b/apidocs/index-all.html @@ -2,10 +2,10 @@ - + Index (core 7.2-SNAPSHOT API) - + @@ -77,7 +77,7 @@
    -
    A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
    All Classes All Packages +
    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 All Packages

    A

    @@ -242,24 +242,22 @@

    A

     
    apply(F) - Method in interface com.google.mu.function.CheckedFunction
     
    -
    apply(T, T, T) - Method in interface com.google.mu.function.Ternary
    +
    apply(T, T, T) - Method in interface com.google.mu.function.MapFrom3
     
    -
    apply(T, T, T, T) - Method in interface com.google.mu.function.Quarternary
    +
    apply(T, T, T, T) - Method in interface com.google.mu.function.MapFrom4
     
    -
    apply(T, T, T, T, T) - Method in interface com.google.mu.function.Quinary
    +
    apply(T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom5
     
    -
    apply(T, T, T, T, T, T) - Method in interface com.google.mu.function.Senary
    +
    apply(T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom6
    +
     
    +
    apply(T, T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom7
    +
     
    +
    apply(T, T, T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom8
     
    ASCII - Static variable in interface com.google.mu.util.CharPredicate
    Corresponds to the ASCII characters.
    -
    asComparator(Function<? super E, ? extends K>, Function<? super E, ? extends V>) - Method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a Comparator for type E that can be converted into a pair - using the given toKey and toValue functions.
    -
    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 @@ -360,21 +358,6 @@

    B

    Common utilities pertaining to BiCollector.
    -
    BiComparator<K,​V> - Interface in com.google.mu.function
    -
    - -
    BiIteration<L,​R> - Class in com.google.mu.util.stream
    Similar to Iteration, but is used to iteratively yield() pairs into a @@ -482,20 +465,6 @@

    B

    C

    -
    cases(Collector<? super T, ?, ? extends Optional<? extends R>>...) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    Combines multiple Optional-returning collector cases, to collect to the first non-empty - result.
    -
    -
    Cases - Class in com.google.mu.util.stream
    -
    -
    Deprecated. -
    Use findFirstElements() - and/or findOnlyElements() methods - together with Optional.or(java.util.function.Supplier<? extends java.util.Optional<? extends T>>) instead.
    -
    -
    catchException(Class<E>, CompletionStage<? extends T>) - Static method in class com.google.mu.util.Maybe
    Returns a wrapper of stage that if stage failed with exception of @@ -618,36 +587,40 @@

    C

    combiner() - Method in class com.google.mu.util.stream.Joiner
     
    -
    combining(Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Quinary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Senary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Ternary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    combining(MapFrom7<? 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 +
    Returns a collector that collects the only seven 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
    +
    combining(MapFrom8<? 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 +
    Returns a collector that collects the only eight elements from the input and transforms them using the mapper function.
    -
    compare(K, V, K, V) - Method in interface com.google.mu.function.BiComparator
    +
    combining(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    -
    Deprecated.
    -
    Returns negative if (k1, v1) < (k2, v2); positive if (k1, v1) > (k2, v2); - otherwise 0.
    +
    Returns a collector that collects the only two elements from the input and transforms them + using the mapper function.
    compareTo(Retryer.Delay<E>) - Method in class com.google.mu.util.concurrent.Retryer.Delay
     
    @@ -655,75 +628,6 @@

    C

    Compares to that according to natural order.
    -
    comparing(BiFunction<? super K, ? super V, ? extends T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the pairs using function and then - compares the result of function.
    -
    -
    comparing(BiFunction<? super K, ? super V, ? extends T>, Comparator<? super T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the pairs using function and then - compares the result of function using the given ordering comparator.
    -
    -
    comparingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares by the double return value of function.
    -
    -
    comparingInOrder(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares the input pairs using the primary - comparator, and then secondaries in the given order until tie is broken.
    -
    -
    comparingInt(ToIntBiFunction<? super K, ? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares by the int return value of function.
    -
    -
    comparingKey(Comparator<? super K>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares the pairs by the key element of type K.
    -
    -
    comparingKey(Function<? super K, ? extends T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the key element of type K using - function and then compares the result of function.
    -
    -
    comparingKey(Function<? super K, ? extends T>, Comparator<? super T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the key element of type K using - function and then compares the result of function using the given - ordering comparator.
    -
    -
    comparingLong(ToLongBiFunction<? super K, ? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares by the long return value of function.
    -
    -
    comparingValue(Comparator<? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares the pairs by the value element of type V.
    -
    -
    comparingValue(Function<? super V, ? extends T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the value element of type V using - function and then compares the result of function.
    -
    -
    comparingValue(Function<? super V, ? extends T>, Comparator<? super T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the value element of type V using - function and then compares the result of function using the given - ordering comparator.
    -
    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 @@ -928,28 +832,40 @@

    F

    Returns the first pair from this stream, or BiOptional.empty() if the stream is empty.
    -
    findFirstElements(Collection<T>, Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.util.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.util.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>, Quinary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Senary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Ternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.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 +
    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.util.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.util.MoreCollections
    @@ -958,36 +874,48 @@

    F

    and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
    -
    findOnlyElements(Collection<T>, Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.util.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.util.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>, Quinary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Senary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Ternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    -
    If collection has exactly 3 elements, passes the 3 elements to found function +
    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>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    -
    If collection has exactly two elements, passes the two elements to found function +
    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.util.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
    @@ -1044,12 +972,6 @@

    F

    Maps the value contained in optional to a BiOptional using mapper, or else returns empty.
    -
    flatMapBoth(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends Optional<R>, E>) - Static method in class com.google.mu.util.Optionals
    -
    - -
    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.
    @@ -1673,11 +1595,29 @@

    M

    Maps this using function unless it wraps exception.
    -
    mapBoth(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends R, E>) - Static method in class com.google.mu.util.Optionals
    +
    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
    @@ -1805,22 +1745,10 @@

    M

    Returns true if a character sequence contains no matching BMP characters.
    -
    max(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Method in class com.google.mu.util.stream.BiStream
    -
    - -
    MAX_VALUE - Static variable in class com.google.mu.util.Ordinal
    The maximum ordinal.
    -
    maxBy(BiComparator<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
    -
    - -
    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 @@ -1905,18 +1833,6 @@

    M

    Collects a stream of Maybe to an immutable Maybe<Set<T>, E>, which will wrap the exception if any input Maybe is exceptional.
    -
    min(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Method in class com.google.mu.util.stream.BiStream
    -
    - -
    -
    minBy(BiComparator<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
    -
    - -
    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 @@ -2007,13 +1923,6 @@

    N

    Returns the negation of this CharPredicate.
    -
    not() - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    notFollowedBy(String) - Method in class com.google.mu.util.Substring.Pattern
    Returns an otherwise equivalent pattern except it requires the matched substring not @@ -2140,37 +2049,33 @@

    O

    Returns a selection of choices.
    -
    onlyElement() - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that collects the only element from the input, - or else throws IllegalArgumentException.
    -
    onlyElement(Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    Same as #asIn(Function).
    -
    onlyElements(Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Quinary<? 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(Senary<? 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(Ternary<? 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(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    +
    onlyElements(MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    -
    Deprecated.
    -
    A collector that collects the only two elements from the input and returns the result of - applying the given twoElements function.
    +
    onlyElements(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    @@ -2388,12 +2293,6 @@

    P

    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(String) - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    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.
    @@ -2467,20 +2366,6 @@

    P

    Returns the previous ordinal.
    - - - -

    Q

    -
    -
    Quarternary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 4-arg function of the signature of (T, T, T, T) -> R.
    -
    -
    Quinary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 5-arg function of the signature of (T, T, T, T, T) -> R.
    -
    -
    @@ -2601,11 +2486,6 @@

    R

    Retries based on return values.
    -
    reversed() - Method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that reverses the order specified by this comparator.
    -
    run() - Method in interface com.google.mu.function.CheckedRunnable
     
    run() - Method in class com.google.mu.util.Funnel
    @@ -2639,10 +2519,6 @@

    S

    Parser for Selection.
    -
    Senary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
    -
    separatedBy(CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
    Returns an otherwise equivalent Pattern, except it only matches if it's next @@ -2713,12 +2589,6 @@

    S

    Filter this stream to exclude pairs whose value matches predicate.
    -
    sorted(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Method in class com.google.mu.util.stream.BiStream
    -
    -
    Deprecated. - -
    -
    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 @@ -2906,14 +2776,8 @@

    S

     
    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.
    -
    -
    switching(Collector<? super T, ?, ? extends Optional<? extends R>>...) - Static method in class com.google.mu.util.stream.Cases
    -
    - +
    Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.
    @@ -2926,22 +2790,12 @@

    T

    Returns a go/jep-430 style template of T produced by interpolating arguments into the template string, using the given interpolator function.
    -
    Ternary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 3-arg function of the signature of (T, T, T) -> R.
    -
    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(BiComparator<? super K2, ? super V2>) - Method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that upon comparing two pairs, if this BiComparator - returns 0 (tie), delegates to the secondary BiComparator for tie-break.
    -
    then(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
    Similar to regex lookahead, returns a pattern that matches the following @@ -3206,38 +3060,6 @@

    W

    post-order and breadth-first) as lazily evaluated streams, allowing infinite-size graphs.
    -
    when(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyTwo function in an - Optional when the input has only two elements; or else returns Optional.empty().
    -
    -
    when(BiPredicate<? super T, ? super T>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyTwo function in an - Optional when the input has only two elements and the two elements satify condition in - terms of BiPredicate.test(T, U); or else returns Optional.empty().
    -
    -
    when(Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyOne function in an - Optional when the input has only one element; or else returns Optional.empty().
    -
    -
    when(Predicate<? super T>, Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyOne function in an - Optional when the input has only one element and it satisfies condition in terms of - Predicate.test(T); or else returns Optional.empty().
    -
    -
    when(Supplier<? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of noElement.get() in an Optional when the - input is empty; or else returns Optional.empty().
    -
    whileNotNull(Supplier<? extends T>) - Static method in class com.google.mu.util.stream.MoreStreams
    Similar to Stream.generate(java.util.function.Supplier<? extends T>), returns an infinite, sequential, ordered, and non-null @@ -3247,18 +3069,6 @@

    W

    Returns an instance of T from the string format filled with params.
    -
    withBoundary(CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    -
    withBoundary(CharPredicate, CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    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.
    @@ -3328,7 +3138,7 @@

    Z

    the corresponding third etc.
    -A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
    All Classes All Packages
    +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 All Packages
    diff --git a/mug/apidocs/com/google/mu/function/package-use.html b/mug/apidocs/com/google/mu/function/package-use.html index fe001c69af..ed0afaec1a 100644 --- a/mug/apidocs/com/google/mu/function/package-use.html +++ b/mug/apidocs/com/google/mu/function/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.function (core 7.2-SNAPSHOT API) - + @@ -131,65 +131,48 @@

    Uses of Package -BiComparator - - - - - CheckedBiConsumer
    A binary consumer that can throw checked exceptions.
    - + CheckedBiFunction
    A binary function that can throw checked exceptions.
    - + CheckedConsumer
    A consumer that can throw checked exceptions.
    - + CheckedDoubleConsumer
    A double-value consumer that can throw checked exceptions.
    - + CheckedFunction
    A function that can throw checked exceptions.
    - + CheckedIntConsumer
    An int consumer that can throw checked exceptions.
    - + CheckedLongConsumer
    A 64-bit long consumer that can throw checked exceptions.
    - + CheckedSupplier
    A supplier that can throw checked exceptions.
    @@ -263,27 +246,39 @@

    Uses of Package -Quarternary +MapFrom3 -
    A 4-arg function of the signature of (T, T, T, T) -> R.
    +
    A 3-arg function of the signature of (T, T, T) -> R.
    -Quinary +MapFrom4 -
    A 5-arg function of the signature of (T, T, T, T, T) -> R.
    +
    A 4-arg function of the signature of (T, T, T, T) -> R.
    -Senary +MapFrom5 + +
    A 5-arg function of the signature of (T, T, T, T, T) -> R.
    + + + +MapFrom6
    A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
    + +MapFrom7 + +
    A 6-arg function of the signature of (T, T, T, T, T, T, T) -> R.
    + + -Ternary +MapFrom8 -
    A 3-arg function of the signature of (T, T, T) -> R.
    +
    A 6-arg function of the signature of (T, T, T, T, T, T, T, T) -> R.
    @@ -323,50 +318,45 @@

    Uses of Package -BiComparator - - +CheckedConsumer + +
    A consumer that can throw checked exceptions.
    -CheckedConsumer +MapFrom3 -
    A consumer that can throw checked exceptions.
    +
    A 3-arg function of the signature of (T, T, T) -> R.
    -Quarternary +MapFrom4
    A 4-arg function of the signature of (T, T, T, T) -> R.
    -Quinary +MapFrom5
    A 5-arg function of the signature of (T, T, T, T, T) -> R.
    -Senary +MapFrom6
    A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
    -Ternary +MapFrom7 -
    A 3-arg function of the signature of (T, T, T) -> R.
    +
    A 6-arg function of the signature of (T, T, T, T, T, T, T) -> R.
    + + + +MapFrom8 + +
    A 6-arg function of the signature of (T, T, T, T, T, T, T, T) -> R.
    diff --git a/mug/apidocs/com/google/mu/time/DateTimeFormats.html b/mug/apidocs/com/google/mu/time/DateTimeFormats.html index 946d0996ef..1c85d7d063 100644 --- a/mug/apidocs/com/google/mu/time/DateTimeFormats.html +++ b/mug/apidocs/com/google/mu/time/DateTimeFormats.html @@ -2,10 +2,10 @@ - + DateTimeFormats (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/time/class-use/DateTimeFormats.html b/mug/apidocs/com/google/mu/time/class-use/DateTimeFormats.html index bc9f5d8e82..30da433d1c 100644 --- a/mug/apidocs/com/google/mu/time/class-use/DateTimeFormats.html +++ b/mug/apidocs/com/google/mu/time/class-use/DateTimeFormats.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.time.DateTimeFormats (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/time/package-summary.html b/mug/apidocs/com/google/mu/time/package-summary.html index bafe92ce1a..38d085ebef 100644 --- a/mug/apidocs/com/google/mu/time/package-summary.html +++ b/mug/apidocs/com/google/mu/time/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.time (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/time/package-tree.html b/mug/apidocs/com/google/mu/time/package-tree.html index c66c87578d..9c9a6a04b1 100644 --- a/mug/apidocs/com/google/mu/time/package-tree.html +++ b/mug/apidocs/com/google/mu/time/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.time Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/time/package-use.html b/mug/apidocs/com/google/mu/time/package-use.html index 43320c90d4..c3fc1f118e 100644 --- a/mug/apidocs/com/google/mu/time/package-use.html +++ b/mug/apidocs/com/google/mu/time/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.time (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/BiOptional.html b/mug/apidocs/com/google/mu/util/BiOptional.html index 1bd33e3502..cf2d9b08af 100644 --- a/mug/apidocs/com/google/mu/util/BiOptional.html +++ b/mug/apidocs/com/google/mu/util/BiOptional.html @@ -2,10 +2,10 @@ - + BiOptional (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Both.html b/mug/apidocs/com/google/mu/util/Both.html index 6c28129b28..b5f0879f8f 100644 --- a/mug/apidocs/com/google/mu/util/Both.html +++ b/mug/apidocs/com/google/mu/util/Both.html @@ -2,10 +2,10 @@ - + Both (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/CharPredicate.html b/mug/apidocs/com/google/mu/util/CharPredicate.html index 4d38ca30ac..44e51e919b 100644 --- a/mug/apidocs/com/google/mu/util/CharPredicate.html +++ b/mug/apidocs/com/google/mu/util/CharPredicate.html @@ -2,10 +2,10 @@ - + CharPredicate (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Funnel.Batch.html b/mug/apidocs/com/google/mu/util/Funnel.Batch.html index 13cd04361f..2e6a39830d 100644 --- a/mug/apidocs/com/google/mu/util/Funnel.Batch.html +++ b/mug/apidocs/com/google/mu/util/Funnel.Batch.html @@ -2,10 +2,10 @@ - + Funnel.Batch (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Funnel.html b/mug/apidocs/com/google/mu/util/Funnel.html index f2a415b6c7..bf17ac2aa7 100644 --- a/mug/apidocs/com/google/mu/util/Funnel.html +++ b/mug/apidocs/com/google/mu/util/Funnel.html @@ -2,10 +2,10 @@ - + Funnel (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Maybe.html b/mug/apidocs/com/google/mu/util/Maybe.html index 2f7988b956..d49f91beb9 100644 --- a/mug/apidocs/com/google/mu/util/Maybe.html +++ b/mug/apidocs/com/google/mu/util/Maybe.html @@ -2,10 +2,10 @@ - + Maybe (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/MoreCollections.html b/mug/apidocs/com/google/mu/util/MoreCollections.html index 3bc10f705e..d54d1b103c 100644 --- a/mug/apidocs/com/google/mu/util/MoreCollections.html +++ b/mug/apidocs/com/google/mu/util/MoreCollections.html @@ -2,10 +2,10 @@ - + MoreCollections (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -148,46 +148,66 @@

    Method Summary

    static <T,​R>
    java.util.Optional<R>
    -findFirstElements​(java.util.Collection<T> collection, - Quarternary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom3<? super T,​? extends R> found) -
    If collection has at least 4 elements, passes the first 4 elements to found function +
    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().
    static <T,​R>
    java.util.Optional<R>
    -findFirstElements​(java.util.Collection<T> collection, - Quinary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom4<? super T,​? extends R> found) -
    If collection has at least 5 elements, passes the first 5 elements to found function +
    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().
    static <T,​R>
    java.util.Optional<R>
    -findFirstElements​(java.util.Collection<T> collection, - Senary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom5<? super T,​? extends R> found) -
    If collection has at least 6 elements, passes the first 6 elements to found function +
    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().
    static <T,​R>
    java.util.Optional<R>
    -findFirstElements​(java.util.Collection<T> collection, - Ternary<? super T,​? extends R> found) +findFirstElements​(java.util.Collection<T> collection, + MapFrom6<? super T,​? extends R> found) -
    If collection has at least 3 elements, passes the first 3 elements to found function +
    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().
    static <T,​R>
    java.util.Optional<R>
    +findFirstElements​(java.util.Collection<T> collection, + MapFrom7<? super T,​? extends R> found) + +
    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().
    + + + +static <T,​R>
    java.util.Optional<R>
    +findFirstElements​(java.util.Collection<T> collection, + MapFrom8<? super T,​? extends R> found) + +
    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().
    + + + +static <T,​R>
    java.util.Optional<R>
    findFirstElements​(java.util.Collection<T> collection, java.util.function.BiFunction<? super T,​? super T,​? extends R> found) @@ -196,53 +216,73 @@

    Method Summary

    Optional.empty()
    .
    - + +static <T,​R>
    java.util.Optional<R>
    +findOnlyElements​(java.util.Collection<T> collection, + MapFrom3<? super T,​? extends R> found) + +
    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().
    + + + static <T,​R>
    java.util.Optional<R>
    -findOnlyElements​(java.util.Collection<T> collection, - Quarternary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom4<? super T,​? extends R> found)
    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().
    - + static <T,​R>
    java.util.Optional<R>
    -findOnlyElements​(java.util.Collection<T> collection, - Quinary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom5<? super T,​? extends R> found)
    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().
    - + static <T,​R>
    java.util.Optional<R>
    -findOnlyElements​(java.util.Collection<T> collection, - Senary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom6<? super T,​? extends R> found)
    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().
    - + static <T,​R>
    java.util.Optional<R>
    -findOnlyElements​(java.util.Collection<T> collection, - Ternary<? super T,​? extends R> found) +findOnlyElements​(java.util.Collection<T> collection, + MapFrom7<? super T,​? extends R> found) -
    If collection has exactly 3 elements, passes the 3 elements to found function +
    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().
    - + +static <T,​R>
    java.util.Optional<R>
    +findOnlyElements​(java.util.Collection<T> collection, + MapFrom8<? super T,​? extends R> found) + +
    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().
    + + + static <T,​R>
    java.util.Optional<R>
    findOnlyElements​(java.util.Collection<T> collection, java.util.function.BiFunction<? super T,​? super T,​? extends R> found) -
    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 +
    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().
    @@ -291,14 +331,14 @@

    findFirstElements

    - +
    • findFirstElements

      public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
      -                                                                  Ternary<? super T,​? extends R> found)
      + MapFrom3<? super T,​? extends R> found)
      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().
      @@ -309,14 +349,14 @@

      findFirstElements

    - +
    • findFirstElements

      public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
      -                                                                  Quarternary<? super T,​? extends R> found)
      + MapFrom4<? super T,​? extends R> found)
      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().
      @@ -327,14 +367,14 @@

      findFirstElements

    - +
    • findFirstElements

      public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
      -                                                                  Quinary<? super T,​? extends R> found)
      + MapFrom5<? super T,​? extends R> found)
      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().
      @@ -345,14 +385,14 @@

      findFirstElements

    - +
    • findFirstElements

      public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
      -                                                                  Senary<? super T,​? extends R> found)
      + MapFrom6<? super T,​? extends R> found)
      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().
      @@ -363,6 +403,46 @@

      findFirstElements

    + + + +
      +
    • +

      findFirstElements

      +
      public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
      +                                                                  MapFrom7<? super T,​? extends R> found)
      +
      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().
      +
      +
      Throws:
      +
      java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      findFirstElements

      +
      public static <T,​R> java.util.Optional<R> findFirstElements​(java.util.Collection<T> collection,
      +                                                                  MapFrom8<? super T,​? extends R> found)
      +
      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().
      +
      +
      Throws:
      +
      java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
      +
      Since:
      +
      7.2
      +
      +
    • +
    @@ -371,8 +451,8 @@

    findFirstElements

    findOnlyElements

    public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
                                                                      java.util.function.BiFunction<? super T,​? super T,​? extends R> found)
    -
    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 +
    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().
    Throws:
    @@ -381,14 +461,14 @@

    findOnlyElements

    - +
    • findOnlyElements

      public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
      -                                                                 Ternary<? super T,​? extends R> found)
      + MapFrom3<? super T,​? extends R> found)
      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().
      @@ -399,14 +479,14 @@

      findOnlyElements

    - +
    • findOnlyElements

      public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
      -                                                                 Quarternary<? super T,​? extends R> found)
      + MapFrom4<? super T,​? extends R> found)
      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().
      @@ -417,14 +497,14 @@

      findOnlyElements

    - +
    • findOnlyElements

      public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
      -                                                                 Quinary<? super T,​? extends R> found)
      + MapFrom5<? super T,​? extends R> found)
      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().
      @@ -435,14 +515,14 @@

      findOnlyElements

    - + -
      +
      • findOnlyElements

        public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
        -                                                                 Senary<? super T,​? extends R> found)
        + MapFrom6<? super T,​? extends R> found)
        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().
        @@ -453,6 +533,46 @@

        findOnlyElements

      + + + +
        +
      • +

        findOnlyElements

        +
        public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
        +                                                                 MapFrom7<? super T,​? extends R> found)
        +
        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().
        +
        +
        Throws:
        +
        java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
        +
        Since:
        +
        7.2
        +
        +
      • +
      + + + +
        +
      • +

        findOnlyElements

        +
        public static <T,​R> java.util.Optional<R> findOnlyElements​(java.util.Collection<T> collection,
        +                                                                 MapFrom8<? super T,​? extends R> found)
        +
        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().
        +
        +
        Throws:
        +
        java.lang.NullPointerException - if collection or found function is null, or if + found function returns null.
        +
        Since:
        +
        7.2
        +
        +
      • +
    diff --git a/mug/apidocs/com/google/mu/util/MoreIterables.html b/mug/apidocs/com/google/mu/util/MoreIterables.html index 92361fff8a..60b2f13573 100644 --- a/mug/apidocs/com/google/mu/util/MoreIterables.html +++ b/mug/apidocs/com/google/mu/util/MoreIterables.html @@ -2,10 +2,10 @@ - + MoreIterables (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Optionals.html b/mug/apidocs/com/google/mu/util/Optionals.html index 8556c5e0ed..f6a284a6ec 100644 --- a/mug/apidocs/com/google/mu/util/Optionals.html +++ b/mug/apidocs/com/google/mu/util/Optionals.html @@ -2,10 +2,10 @@ - + Optionals (core 7.2-SNAPSHOT API) - + @@ -28,8 +28,8 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":41,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":41,"i10":9,"i11":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -137,7 +137,7 @@

    Class Optionals

    Method Summary

    -
    +
    @@ -164,17 +164,6 @@

    Method Summary

    - - - - - @@ -182,7 +171,7 @@

    Method Summary

    Runs action if the pair is present.
    - + - + @@ -199,7 +188,7 @@

    Method Summary

    Invokes consumer if optional is present.
    - + @@ -207,7 +196,7 @@

    Method Summary

    Invokes consumer if optional is present.
    - + @@ -215,7 +204,7 @@

    Method Summary

    Invokes consumer if optional is present.
    - + @@ -223,18 +212,7 @@

    Method Summary

    Invokes consumer if optional is present.
    - - - - - - + @@ -243,7 +221,7 @@

    Method Summary

    not null, or else empty(). - + @@ -535,7 +513,7 @@

    ifPresent

    -
      +
      • ifPresent

        public static <A,​B,​E extends java.lang.Throwable> Premise ifPresent​(BiOptional<A,​B> optional,
        @@ -557,57 +535,6 @@ 

        ifPresent

      - - - -
        -
      • -

        mapBoth

        -
        @Deprecated
        -public static <A,​B,​R,​E extends java.lang.Throwable> java.util.Optional<R> mapBoth​(java.util.Optional<A> left,
        -                                                                                                    java.util.Optional<B> right,
        -                                                                                                    CheckedBiFunction<? super A,​? super B,​? extends R,​E> mapper)
        -                                                                                             throws E extends java.lang.Throwable
        - -
        Maps left and right using mapper if both are present. - Returns an Optional wrapping the result of mapper if non-null, or else returns - Optional.empty().
        -
        -
        Throws:
        -
        E extends java.lang.Throwable
        -
        Since:
        -
        3.8
        -
        -
      • -
      - - - -
        -
      • -

        flatMapBoth

        -
        @Deprecated
        -public static <A,​B,​R,​E extends java.lang.Throwable> java.util.Optional<R> flatMapBoth​(java.util.Optional<A> left,
        -                                                                                                        java.util.Optional<B> right,
        -                                                                                                        CheckedBiFunction<? super A,​? super B,​? extends java.util.Optional<R>,​E> mapper)
        -                                                                                                 throws E extends java.lang.Throwable
        - -
        Maps left and right using mapper if both are present. - Returns the result of mapper or Optional.empty() if either left or right - is empty.
        -
        -
        Throws:
        -
        java.lang.NullPointerException - if mapper returns null
        -
        E extends java.lang.Throwable
        -
        Since:
        -
        3.8
        -
        -
      • -
    diff --git a/mug/apidocs/com/google/mu/util/Ordinal.html b/mug/apidocs/com/google/mu/util/Ordinal.html index 41813744fb..3237cad83d 100644 --- a/mug/apidocs/com/google/mu/util/Ordinal.html +++ b/mug/apidocs/com/google/mu/util/Ordinal.html @@ -2,10 +2,10 @@ - +Ordinal (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Premise.html b/mug/apidocs/com/google/mu/util/Premise.html index caa1e81264..4ae9e3fe8e 100644 --- a/mug/apidocs/com/google/mu/util/Premise.html +++ b/mug/apidocs/com/google/mu/util/Premise.html @@ -2,10 +2,10 @@ - +Premise (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Selection.Parser.html b/mug/apidocs/com/google/mu/util/Selection.Parser.html index 98ad18338a..4ec8b5f9d0 100644 --- a/mug/apidocs/com/google/mu/util/Selection.Parser.html +++ b/mug/apidocs/com/google/mu/util/Selection.Parser.html @@ -2,10 +2,10 @@ - +Selection.Parser (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Selection.html b/mug/apidocs/com/google/mu/util/Selection.html index 8de0aeaa95..b5bb9ea191 100644 --- a/mug/apidocs/com/google/mu/util/Selection.html +++ b/mug/apidocs/com/google/mu/util/Selection.html @@ -2,10 +2,10 @@ - +Selection (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/StringFormat.Interpolator.html b/mug/apidocs/com/google/mu/util/StringFormat.Interpolator.html index ec137e7760..65fa64e3ea 100644 --- a/mug/apidocs/com/google/mu/util/StringFormat.Interpolator.html +++ b/mug/apidocs/com/google/mu/util/StringFormat.Interpolator.html @@ -2,10 +2,10 @@ - +StringFormat.Interpolator (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/StringFormat.To.html b/mug/apidocs/com/google/mu/util/StringFormat.To.html index b1c81ba0cb..d9c768d784 100644 --- a/mug/apidocs/com/google/mu/util/StringFormat.To.html +++ b/mug/apidocs/com/google/mu/util/StringFormat.To.html @@ -2,10 +2,10 @@ - +StringFormat.To (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/StringFormat.html b/mug/apidocs/com/google/mu/util/StringFormat.html index 9a99fbff88..1c07d0bb8e 100644 --- a/mug/apidocs/com/google/mu/util/StringFormat.html +++ b/mug/apidocs/com/google/mu/util/StringFormat.html @@ -2,10 +2,10 @@ - +StringFormat (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":9,"i34":9,"i35":9,"i36":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":9,"i42":9,"i43":9,"i44":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -281,42 +281,60 @@

    Method Summary

    - + - + - + - + + + + + + + + + + + - + @@ -333,37 +351,37 @@

    Method Summary

    in this string format. - + - + - + - + - + - + - + @@ -373,7 +391,7 @@

    Method Summary

    from the end to the beginning of the input string. - + @@ -383,43 +401,61 @@

    Method Summary

    from the end to the beginning of the input string. - + + + + + + - + - + - + - + - + - + - + - + + + + + + @@ -428,7 +464,7 @@

    Method Summary

    string. - + @@ -437,39 +473,55 @@

    Method Summary

    format string. - + - + - + - + - + - + - + - + - + + + + + + + + + + + @@ -477,7 +529,7 @@

    Method Summary

    Scans input and replaces all matches using the replacement function.
    - + @@ -485,46 +537,62 @@

    Method Summary

    Scans input and replaces all matches using the replacement function.
    - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + @@ -532,7 +600,7 @@

    Method Summary

    Scans the input string and extracts all matches of this string format.
    - + @@ -540,14 +608,14 @@

    Method Summary

    Scans the input string and extracts all matches of this string format.
    - + - + @@ -556,7 +624,7 @@

    Method Summary

    template string, using the given interpolator function. - + @@ -566,7 +634,7 @@

    Method Summary

    creator function to create the T instances. - + - - - - - - - - - -
    static <A,​B,​R,​E extends java.lang.Throwable>
    java.util.Optional<R>
    flatMapBoth​(java.util.Optional<A> left, - java.util.Optional<B> right, - CheckedBiFunction<? super A,​? super B,​? extends java.util.Optional<R>,​E> mapper) - -
    static <A,​B,​E extends java.lang.Throwable>
    Premise
    ifPresent​(BiOptional<A,​B> optional, CheckedBiConsumer<? super A,​? super B,​E> consumer)
    static <A,​B,​E extends java.lang.Throwable>
    Premise
    ifPresent​(java.util.Optional<A> left, java.util.Optional<B> right, @@ -191,7 +180,7 @@

    Method Summary

    Invokes consumer if both left and right are present.
    static <T,​E extends java.lang.Throwable>
    Premise
    ifPresent​(java.util.Optional<T> optional, CheckedConsumer<? super T,​E> consumer)
    static <E extends java.lang.Throwable>
    Premise
    ifPresent​(java.util.OptionalDouble optional, CheckedDoubleConsumer<E> consumer)
    static <E extends java.lang.Throwable>
    Premise
    ifPresent​(java.util.OptionalInt optional, CheckedIntConsumer<E> consumer)
    static <E extends java.lang.Throwable>
    Premise
    ifPresent​(java.util.OptionalLong optional, CheckedLongConsumer<E> consumer)
    static <A,​B,​R,​E extends java.lang.Throwable>
    java.util.Optional<R>
    mapBoth​(java.util.Optional<A> left, - java.util.Optional<B> right, - CheckedBiFunction<? super A,​? super B,​? extends R,​E> mapper) - -
    static <T> java.util.Optional<T> optional​(boolean condition, T value)
    static <T,​E extends java.lang.Throwable>
    java.util.Optional<T>
    optionally​(boolean condition, CheckedSupplier<? extends T,​E> supplier)
    <R> java.util.Optional<R>parse​(java.lang.String input, - Quarternary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom3<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies - mapper with the 4 placeholder values in this string format.
    + mapper with the 3 placeholder values in this string format.
    <R> java.util.Optional<R>parse​(java.lang.String input, - Quinary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom4<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies - mapper with the 5 placeholder values in this string format.
    + mapper with the 4 placeholder values in this string format.
    <R> java.util.Optional<R>parse​(java.lang.String input, - Senary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom5<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies - mapper with the 6 placeholder values in this string format.
    + mapper with the 5 placeholder values in this string format.
    <R> java.util.Optional<R>parse​(java.lang.String input, - Ternary<? super java.lang.String,​? extends R> mapper)parse​(java.lang.String input, + MapFrom6<? super java.lang.String,​? extends R> mapper)
    Similar to parse(String, BiFunction), but parses input and applies - mapper with the 3 placeholder values in this string format.
    + mapper with the 6 placeholder values in this string format.
    <R> java.util.Optional<R>parse​(java.lang.String input, + MapFrom7<? super java.lang.String,​? extends R> mapper) +
    Similar to parse(String, BiFunction), but parses input and applies + mapper with the 7 placeholder values in this string format.
    +
    <R> java.util.Optional<R>parse​(java.lang.String input, + MapFrom8<? super java.lang.String,​? extends R> mapper) +
    Similar to parse(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format.
    +
    <R> java.util.Optional<R> parse​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​? extends R> mapper) @@ -324,7 +342,7 @@

    Method Summary

    format.
    <R> java.util.Optional<R> parse​(java.lang.String input, java.util.function.Function<? super java.lang.String,​? extends R> mapper)
    <R> java.util.Optional<R>parseGreedy​(java.lang.String input, - Quarternary<? super java.lang.String,​? extends R> mapper)parseGreedy​(java.lang.String input, + MapFrom3<? super java.lang.String,​? extends R> mapper) -
    Similar to parse(String, Quarternary), parses input and applies mapper +
    Similar to 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.
    <R> java.util.Optional<R>parseGreedy​(java.lang.String input, - Quinary<? super java.lang.String,​? extends R> mapper)parseGreedy​(java.lang.String input, + MapFrom4<? super java.lang.String,​? extends R> mapper) -
    Similar to parse(String, Quinary), parses input and applies mapper - with the 5 placeholder values in this format string, but matches the placeholders backwards +
    Similar to 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.
    <R> java.util.Optional<R>parseGreedy​(java.lang.String input, - Ternary<? super java.lang.String,​? extends R> mapper)parseGreedy​(java.lang.String input, + MapFrom5<? super java.lang.String,​? extends R> mapper) -
    Similar to parse(String, Ternary), parses input and applies mapper - with the 3 placeholder values in this format string, but matches the placeholders backwards +
    Similar to 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.
    <R> java.util.Optional<R> parseGreedy​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​? extends R> mapper)
    <R> java.util.Optional<R> parseGreedy​(java.lang.String input, java.util.function.Function<? super java.lang.String,​? extends R> mapper)
    <R> RparseOrThrow​(java.lang.String input, + MapFrom3<? super java.lang.String,​R> mapper) +
    Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 3 placeholder values in this format string.
    +
    <R> RparseOrThrow​(java.lang.String input, - Quarternary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom4<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 4 placeholder values in this string format.
    <R> RparseOrThrow​(java.lang.String input, - Quinary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom5<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 5 placeholder values in this string format.
    <R> RparseOrThrow​(java.lang.String input, - Senary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom6<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 6 placeholder values in this string format.
    <R> RparseOrThrow​(java.lang.String input, - Ternary<? super java.lang.String,​R> mapper)parseOrThrow​(java.lang.String input, + MapFrom7<? super java.lang.String,​R> mapper)
    Similar to parseOrThrow(String, BiFunction), but parses input and applies - mapper with the 3 placeholder values in this format string.
    + mapper with the 7 placeholder values in this string format.
    <R> RparseOrThrow​(java.lang.String input, + MapFrom8<? super java.lang.String,​R> mapper) +
    Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format.
    +
    <R> R parseOrThrow​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​R> mapper)
    <R> R parseOrThrow​(java.lang.String input, java.util.function.Function<? super java.lang.String,​R> mapper)
    java.lang.StringreplaceAllFrom​(java.lang.String input, - Quarternary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom3<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.
    java.lang.StringreplaceAllFrom​(java.lang.String input, - Quinary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom4<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.
    java.lang.StringreplaceAllFrom​(java.lang.String input, - Senary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom5<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.
    java.lang.StringreplaceAllFrom​(java.lang.String input, - Ternary<? super Substring.Match,​?> replacement)replaceAllFrom​(java.lang.String input, + MapFrom6<? super Substring.Match,​?> replacement)
    Scans input and replaces all matches using the replacement function.
    java.lang.StringreplaceAllFrom​(java.lang.String input, + MapFrom7<? super Substring.Match,​?> replacement) +
    Scans input and replaces all matches using the replacement function.
    +
    java.lang.StringreplaceAllFrom​(java.lang.String input, + MapFrom8<? super Substring.Match,​?> replacement) +
    Scans input and replaces all matches using the replacement function.
    +
    java.lang.String replaceAllFrom​(java.lang.String input, java.util.function.BiFunction<? super Substring.Match,​? super Substring.Match,​?> replacement)
    java.lang.String replaceAllFrom​(java.lang.String input, java.util.function.Function<? super Substring.Match,​?> replacement)
    java.util.stream.Stream<java.util.List<Substring.Match>> scan​(java.lang.String input)
    Scans the input string and extracts all matched placeholders in this string format.
    <R> java.util.stream.Stream<R>scan​(java.lang.String input, - Quarternary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom3<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format.
    <R> java.util.stream.Stream<R>scan​(java.lang.String input, - Quinary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom4<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format.
    <R> java.util.stream.Stream<R>scan​(java.lang.String input, - Senary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom5<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format.
    <R> java.util.stream.Stream<R>scan​(java.lang.String input, - Ternary<? super java.lang.String,​? extends R> mapper)scan​(java.lang.String input, + MapFrom6<? super java.lang.String,​? extends R> mapper)
    Scans the input string and extracts all matches of this string format.
    <R> java.util.stream.Stream<R>scan​(java.lang.String input, + MapFrom7<? super java.lang.String,​? extends R> mapper) +
    Scans the input string and extracts all matches of this string format.
    +
    <R> java.util.stream.Stream<R>scan​(java.lang.String input, + MapFrom8<? super java.lang.String,​? extends R> mapper) +
    Scans the input string and extracts all matches of this string format.
    +
    <R> java.util.stream.Stream<R> scan​(java.lang.String input, java.util.function.BiFunction<? super java.lang.String,​? super java.lang.String,​? extends R> mapper)
    <R> java.util.stream.Stream<R> scan​(java.lang.String input, java.util.function.Function<? super java.lang.String,​? extends R> mapper)
    static Substring.Pattern span​(java.lang.String format)
    Returns a Substring.Pattern spanning the substring matching format.
    static <T> StringFormat.To<T> template​(java.lang.String template, StringFormat.Interpolator<? extends T> interpolator)
    static <T> StringFormat.To<T> to​(java.util.function.Function<? super java.lang.String,​? extends T> creator, java.lang.String format)
    java.lang.String toString() @@ -777,14 +845,14 @@

    parse

    - +
    • parse

      public final <R> java.util.Optional<R> parse​(java.lang.String input,
      -                                             Ternary<? super java.lang.String,​? extends R> mapper)
      + MapFrom3<? super java.lang.String,​? extends R> mapper)
      Similar to parse(String, BiFunction), but parses input and applies mapper with the 3 placeholder values in this string format. @@ -803,14 +871,14 @@

      parse

    - +
    • parse

      public final <R> java.util.Optional<R> parse​(java.lang.String input,
      -                                             Quarternary<? super java.lang.String,​? extends R> mapper)
      + MapFrom4<? super java.lang.String,​? extends R> mapper)
      Similar to parse(String, BiFunction), but parses input and applies mapper with the 4 placeholder values in this string format.
      @@ -822,14 +890,14 @@

      parse

    - +
    • parse

      public final <R> java.util.Optional<R> parse​(java.lang.String input,
      -                                             Quinary<? super java.lang.String,​? extends R> mapper)
      + MapFrom5<? super java.lang.String,​? extends R> mapper)
      Similar to parse(String, BiFunction), but parses input and applies mapper with the 5 placeholder values in this string format.
      @@ -841,14 +909,14 @@

      parse

    - +
    • parse

      public final <R> java.util.Optional<R> parse​(java.lang.String input,
      -                                             Senary<? super java.lang.String,​? extends R> mapper)
      + MapFrom6<? super java.lang.String,​? extends R> mapper)
      Similar to parse(String, BiFunction), but parses input and applies mapper with the 6 placeholder values in this string format.
      @@ -860,6 +928,48 @@

      parse

    + + + +
      +
    • +

      parse

      +
      public final <R> java.util.Optional<R> parse​(java.lang.String input,
      +                                             MapFrom7<? super java.lang.String,​? extends R> mapper)
      +
      Similar to parse(String, BiFunction), but parses input and applies + mapper with the 7 placeholder values in this string format.
      +
      +
      Returns:
      +
      the return value of the mapper function if not null. Returns empty if + input doesn't match the format, or mapper returns null.
      +
      Throws:
      +
      java.lang.IllegalArgumentException - if or the format string doesn't have exactly 7 placeholders.
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      parse

      +
      public final <R> java.util.Optional<R> parse​(java.lang.String input,
      +                                             MapFrom8<? super java.lang.String,​? extends R> mapper)
      +
      Similar to parse(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format.
      +
      +
      Returns:
      +
      the return value of the mapper function if not null. Returns empty if + input doesn't match the format, or mapper returns null.
      +
      Throws:
      +
      java.lang.IllegalArgumentException - if or the format string doesn't have exactly 8 placeholders.
      +
      Since:
      +
      7.2
      +
      +
    • +
    @@ -945,14 +1055,14 @@

    parseOrThrow

    - +
    • parseOrThrow

      public final <R> R parseOrThrow​(java.lang.String input,
      -                                Ternary<? super java.lang.String,​R> mapper)
      + MapFrom3<? super java.lang.String,​R> mapper)
      Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 3 placeholder values in this format string. @@ -963,10 +1073,10 @@

      parseOrThrow

      .parseOrThrow(input, (jobId, errorCode, errorDetails) -> ...); -

      Unlike parse(String, Ternary), IllegalArgumentException is thrown if the +

      Unlike parse(String, MapFrom3), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.Ternary<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

      + different exception type, or need to customize the error message, consider using parse(String, Ternary) instead and call Optional.orElseThrow() explicitly.
      Returns:
      the return value of the mapper function applied on the extracted placeholder @@ -980,21 +1090,21 @@

      parseOrThrow

    - +
    • parseOrThrow

      public final <R> R parseOrThrow​(java.lang.String input,
      -                                Quarternary<? super java.lang.String,​R> mapper)
      + MapFrom4<? super java.lang.String,​R> mapper)
      Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 4 placeholder values in this string format. -

      Unlike parse(String, Quarternary), IllegalArgumentException is thrown if +

      Unlike parse(String, MapFrom4), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.Quarternary<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

      + different exception type, or need to customize the error message, consider using parse(String, Quarternary) instead and call Optional.orElseThrow() explicitly.
      Returns:
      the return value of the mapper function applied on the extracted placeholder @@ -1008,21 +1118,21 @@

      parseOrThrow

    - +
    • parseOrThrow

      public final <R> R parseOrThrow​(java.lang.String input,
      -                                Quinary<? super java.lang.String,​R> mapper)
      + MapFrom5<? super java.lang.String,​R> mapper)
      Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 5 placeholder values in this string format. -

      Unlike parse(String, Quinary), IllegalArgumentException is thrown if the +

      Unlike parse(String, MapFrom5), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.Quinary<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

      + different exception type, or need to customize the error message, consider using parse(String, Quinary) instead and call Optional.orElseThrow() explicitly.
      Returns:
      the return value of the mapper function applied on the extracted placeholder @@ -1036,21 +1146,21 @@

      parseOrThrow

    - +
    • parseOrThrow

      public final <R> R parseOrThrow​(java.lang.String input,
      -                                Senary<? super java.lang.String,​R> mapper)
      + MapFrom6<? super java.lang.String,​R> mapper)
      Similar to parseOrThrow(String, BiFunction), but parses input and applies mapper with the 6 placeholder values in this string format. -

      Unlike #parse(String, MapFrom6), IllegalArgumentException is thrown if the +

      Unlike parse(String, MapFrom6), IllegalArgumentException is thrown if the input string doesn't match the string format. The error message will include both the input string and the format string for ease of debugging, but is otherwise generic. If you need a - different exception type, or need to customize the error message, consider using parse(String, MapFrom6) instead and call Optional.orElseThrow() explicitly.

      + different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.MapFrom6<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.
      Returns:
      the return value of the mapper function applied on the extracted placeholder @@ -1064,6 +1174,62 @@

      parseOrThrow

    + + + +
      +
    • +

      parseOrThrow

      +
      public final <R> R parseOrThrow​(java.lang.String input,
      +                                MapFrom7<? super java.lang.String,​R> mapper)
      +
      Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 7 placeholder values in this string format. + +

      Unlike parse(String, MapFrom6), IllegalArgumentException is thrown if the + input string doesn't match the string format. The error message will include both the input + string and the format string for ease of debugging, but is otherwise generic. If you need a + different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.MapFrom6<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

      +
      +
      Returns:
      +
      the return value of the mapper function applied on the extracted placeholder + values.
      +
      Throws:
      +
      java.lang.IllegalArgumentException - if the input string doesn't match the string format, or if the + format string doesn't have exactly 7 placeholders
      +
      java.lang.NullPointerException - if any of the parameter is null or mapper returns null.
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      parseOrThrow

      +
      public final <R> R parseOrThrow​(java.lang.String input,
      +                                MapFrom8<? super java.lang.String,​R> mapper)
      +
      Similar to parseOrThrow(String, BiFunction), but parses input and applies + mapper with the 8 placeholder values in this string format. + +

      Unlike parse(String, MapFrom6), IllegalArgumentException is thrown if the + input string doesn't match the string format. The error message will include both the input + string and the format string for ease of debugging, but is otherwise generic. If you need a + different exception type, or need to customize the error message, consider using AbstractStringFormat.<R>parse(java.lang.String,com.google.mu.function.MapFrom6<? super java.lang.String,? extends R>) instead and call Optional.orElseThrow() explicitly.

      +
      +
      Returns:
      +
      the return value of the mapper function applied on the extracted placeholder + values.
      +
      Throws:
      +
      java.lang.IllegalArgumentException - if the input string doesn't match the string format, or if the + format string doesn't have exactly 8 placeholders
      +
      java.lang.NullPointerException - if any of the parameter is null or mapper returns null.
      +
      Since:
      +
      7.2
      +
      +
    • +
    @@ -1124,15 +1290,15 @@

    parseGreedy

    - +
    • parseGreedy

      public final <R> java.util.Optional<R> parseGreedy​(java.lang.String input,
      -                                                   Ternary<? super java.lang.String,​? extends R> mapper)
      -
      Similar to parse(String, Ternary), parses input and applies mapper + MapFrom3<? super java.lang.String,​? extends R> mapper) +
      Similar to 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. @@ -1149,15 +1315,15 @@

      parseGreedy

    - +
    • parseGreedy

      public final <R> java.util.Optional<R> parseGreedy​(java.lang.String input,
      -                                                   Quarternary<? super java.lang.String,​? extends R> mapper)
      -
      Similar to parse(String, Quarternary), parses input and applies mapper + MapFrom4<? super java.lang.String,​? extends R> mapper) +
      Similar to 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. @@ -1174,15 +1340,15 @@

      parseGreedy

    - +
    • parseGreedy

      public final <R> java.util.Optional<R> parseGreedy​(java.lang.String input,
      -                                                   Quinary<? super java.lang.String,​? extends R> mapper)
      -
      Similar to parse(String, Quinary), parses input and applies mapper + MapFrom5<? super java.lang.String,​? extends R> mapper) +
      Similar to 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. @@ -1292,14 +1458,14 @@

      replaceAllFrom

    - +
    • replaceAllFrom

      public final java.lang.String replaceAllFrom​(java.lang.String input,
      -                                             Ternary<? super Substring.Match,​?> replacement)
      + MapFrom3<? super Substring.Match,​?> replacement)
      Scans input and replaces all matches using the replacement function.

      If no match is found, the input string is returned. @@ -1319,14 +1485,14 @@

      replaceAllFrom

    - +
    • replaceAllFrom

      public final java.lang.String replaceAllFrom​(java.lang.String input,
      -                                             Quarternary<? super Substring.Match,​?> replacement)
      + MapFrom4<? super Substring.Match,​?> replacement)
      Scans input and replaces all matches using the replacement function.

      If no match is found, the input string is returned. @@ -1346,14 +1512,14 @@

      replaceAllFrom

    - +
    • replaceAllFrom

      public final java.lang.String replaceAllFrom​(java.lang.String input,
      -                                             Quinary<? super Substring.Match,​?> replacement)
      + MapFrom5<? super Substring.Match,​?> replacement)
      Scans input and replaces all matches using the replacement function.

      If no match is found, the input string is returned. @@ -1373,14 +1539,14 @@

      replaceAllFrom

    - +
    • replaceAllFrom

      public final java.lang.String replaceAllFrom​(java.lang.String input,
      -                                             Senary<? super Substring.Match,​?> replacement)
      + MapFrom6<? super Substring.Match,​?> replacement)
      Scans input and replaces all matches using the replacement function.

      If no match is found, the input string is returned. @@ -1400,6 +1566,60 @@

      replaceAllFrom

    + + + +
      +
    • +

      replaceAllFrom

      +
      public final java.lang.String replaceAllFrom​(java.lang.String input,
      +                                             MapFrom7<? super Substring.Match,​?> replacement)
      +
      Scans input and replaces all matches using the replacement function. + +

      If no match is found, the input string is returned. + +

      If replacement returns null, the match is ignored as if it didn't match the format. + This can be used to post-filter the match with custom predicates (e.g. a placeholder value must + be digits only). + +

      The replacement function accepts Substring.Match instead of String to avoid + unnecessary copying of the characters. If you are passing in a method reference, it can also + take CharSequence or Object as the parameter types.

      +
      +
      Throws:
      +
      java.lang.IllegalArgumentException - if the format string doesn't have exactly 7 named placeholder
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      replaceAllFrom

      +
      public final java.lang.String replaceAllFrom​(java.lang.String input,
      +                                             MapFrom8<? super Substring.Match,​?> replacement)
      +
      Scans input and replaces all matches using the replacement function. + +

      If no match is found, the input string is returned. + +

      If replacement returns null, the match is ignored as if it didn't match the format. + This can be used to post-filter the match with custom predicates (e.g. a placeholder value must + be digits only). + +

      The replacement function accepts Substring.Match instead of String to avoid + unnecessary copying of the characters. If you are passing in a method reference, it can also + take CharSequence or Object as the parameter types.

      +
      +
      Throws:
      +
      java.lang.IllegalArgumentException - if the format string doesn't have exactly 8 named placeholder
      +
      Since:
      +
      7.2
      +
      +
    • +
    @@ -1474,14 +1694,14 @@

    scan

    mapper function, which will then be ignored in the result stream. - +
    • scan

      public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
      -                                                 Ternary<? super java.lang.String,​? extends R> mapper)
      + MapFrom3<? super java.lang.String,​? extends R> mapper)
      Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 3 placeholder values to the mapper function for each iteration, with null results skipped. @@ -1494,7 +1714,7 @@

      scan

      .parse(input, (lhs, rhs, result) -> ...); -

      unlike parse(String, Ternary), the input string isn't matched entirely: the pattern +

      unlike parse(String, MapFrom3), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1504,19 +1724,19 @@

      scan

      mapper function, which will then be ignored in the result stream.
    - +
    • scan

      public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
      -                                                 Quarternary<? super java.lang.String,​? extends R> mapper)
      + MapFrom4<? super java.lang.String,​? extends R> mapper)
      Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 4 placeholder values to the mapper function for each iteration, with null results skipped. -

      unlike parse(String, Quarternary), the input string isn't matched entirely: the +

      unlike parse(String, MapFrom4), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1526,19 +1746,19 @@

      scan

      mapper function, which will then be ignored in the result stream.
    - +
    • scan

      public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
      -                                                 Quinary<? super java.lang.String,​? extends R> mapper)
      + MapFrom5<? super java.lang.String,​? extends R> mapper)
      Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 5 placeholder values to the mapper function for each iteration, with null results skipped. -

      unlike parse(String, Quinary), the input string isn't matched entirely: the pattern +

      unlike parse(String, MapFrom5), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1548,19 +1768,41 @@

      scan

      mapper function, which will then be ignored in the result stream.
    - +
    • scan

      public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
      -                                                 Senary<? super java.lang.String,​? extends R> mapper)
      + MapFrom6<? super java.lang.String,​? extends R> mapper)
      Scans the input string and extracts all matches of this string format. Returns the lazy stream of non-null results from passing the 6 placeholder values to the mapper function for each iteration, with null results skipped. -

      unlike parse(String, Senary), the input string isn't matched entirely: the pattern +

      unlike parse(String, MapFrom6), the input string isn't matched entirely: the pattern + doesn't have to start from the beginning, and if there are some remaining characters that don't + match the pattern any more, the stream stops. In particular, if there is no match, empty stream + is returned. + +

      By default, placeholders are allowed to be matched against an empty string. If a certain + placeholder isn't expected to be empty, consider filtering it out by returning null from the + mapper function, which will then be ignored in the result stream.

      +
    • +
    + + + +
      +
    • +

      scan

      +
      public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
      +                                                 MapFrom7<? super java.lang.String,​? extends R> mapper)
      +
      Scans the input string and extracts all matches of this string format. Returns the lazy + stream of non-null results from passing the 7 placeholder values to the mapper function + for each iteration, with null results skipped. + +

      unlike parse(String, MapFrom6), the input string isn't matched entirely: the pattern doesn't have to start from the beginning, and if there are some remaining characters that don't match the pattern any more, the stream stops. In particular, if there is no match, empty stream is returned. @@ -1568,6 +1810,36 @@

      scan

      By default, placeholders are allowed to be matched against an empty string. If a certain placeholder isn't expected to be empty, consider filtering it out by returning null from the mapper function, which will then be ignored in the result stream.

      +
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      scan

      +
      public final <R> java.util.stream.Stream<R> scan​(java.lang.String input,
      +                                                 MapFrom8<? super java.lang.String,​? extends R> mapper)
      +
      Scans the input string and extracts all matches of this string format. Returns the lazy + stream of non-null results from passing the 8 placeholder values to the mapper function + for each iteration, with null results skipped. + +

      unlike parse(String, MapFrom6), the input string isn't matched entirely: the pattern + doesn't have to start from the beginning, and if there are some remaining characters that don't + match the pattern any more, the stream stops. In particular, if there is no match, empty stream + is returned. + +

      By default, placeholders are allowed to be matched against an empty string. If a certain + placeholder isn't expected to be empty, consider filtering it out by returning null from the + mapper function, which will then be ignored in the result stream.

      +
      +
      Since:
      +
      7.2
      +
    diff --git a/mug/apidocs/com/google/mu/util/Substring.BoundStyle.html b/mug/apidocs/com/google/mu/util/Substring.BoundStyle.html index a09d4f148f..abdd5f275d 100644 --- a/mug/apidocs/com/google/mu/util/Substring.BoundStyle.html +++ b/mug/apidocs/com/google/mu/util/Substring.BoundStyle.html @@ -2,10 +2,10 @@ - + Substring.BoundStyle (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Substring.Match.html b/mug/apidocs/com/google/mu/util/Substring.Match.html index 59d59dbad0..efecb0671a 100644 --- a/mug/apidocs/com/google/mu/util/Substring.Match.html +++ b/mug/apidocs/com/google/mu/util/Substring.Match.html @@ -2,10 +2,10 @@ - + Substring.Match (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/Substring.Pattern.html b/mug/apidocs/com/google/mu/util/Substring.Pattern.html index 5f35b87d74..e11b5b5b87 100644 --- a/mug/apidocs/com/google/mu/util/Substring.Pattern.html +++ b/mug/apidocs/com/google/mu/util/Substring.Pattern.html @@ -2,10 +2,10 @@ - + Substring.Pattern (core 7.2-SNAPSHOT API) - + @@ -28,8 +28,8 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":42,"i28":42}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -166,7 +166,7 @@

    Constructor Summary

    Method Summary

    -
    +
    @@ -239,23 +239,13 @@

    Method Summary

    - - - - - - + @@ -265,7 +255,7 @@

    Method Summary

    after string. - + - + - + - - - - - - + - + - + - + @@ -331,7 +312,7 @@

    Method Summary

    replacement. - + @@ -340,7 +321,7 @@

    Method Summary

    the return value of replacementFunction. - + - + @@ -360,7 +341,7 @@

    Method Summary

    separatorAfter character. - + @@ -370,14 +351,14 @@

    Method Summary

    from the end of the match. - + - + - + - + - + - - - - - - - - - -
    Substring.Patternnot() -
    Deprecated. - -
    -
    Substring.Pattern notFollowedBy​(java.lang.String lookahead)
    Returns an otherwise equivalent pattern except it requires the matched substring not be immediately followed by the lookahead string.
    Substring.Pattern notImmediatelyBetween​(java.lang.String lookbehind, java.lang.String lookahead)
    Substring.Pattern notPrecededBy​(java.lang.String lookbehind) @@ -273,7 +263,7 @@

    Method Summary

    immediately preceded by the lookbehind string.
    Substring.Pattern or​(Substring.Pattern that) @@ -281,7 +271,7 @@

    Method Summary

    match.
    Substring.Pattern peek​(Substring.Pattern following) @@ -289,16 +279,7 @@

    Method Summary

    if the following pattern can't find a match in the substring after the current match.
    Substring.Patternpeek​(java.lang.String following) -
    Deprecated. - -
    -
    Substring.Pattern precededBy​(java.lang.String lookbehind) @@ -306,7 +287,7 @@

    Method Summary

    immediately preceded by the lookahead string.
    java.lang.String removeFrom​(java.lang.String string) @@ -314,7 +295,7 @@

    Method Summary

    removed if successful.
    Substring.RepeatingPattern repeatedly() @@ -322,7 +303,7 @@

    Method Summary

    string.
    java.lang.String replaceFrom​(java.lang.String string, java.lang.CharSequence replacement)
    java.lang.String replaceFrom​(java.lang.String string, java.util.function.Function<? super Substring.Match,​? extends java.lang.CharSequence> replacementFunction)
    Substring.Pattern separatedBy​(CharPredicate separator) @@ -348,7 +329,7 @@

    Method Summary

    to the beginning of the string, the end of the string, or the separator character(s).
    Substring.Pattern separatedBy​(CharPredicate separatorBefore, CharPredicate separatorAfter)
    Substring.Pattern skip​(int fromBeginning, int fromEnd)
    BiOptional<java.lang.String,​java.lang.String> split​(java.lang.CharSequence string)
    Splits string into two parts that are separated by this separator pattern.
    BiOptional<java.lang.String,​java.lang.String> splitThenTrim​(java.lang.CharSequence string) @@ -385,7 +366,7 @@

    Method Summary

    leading and trailing whitespaces trimmed.
    Substring.Pattern then​(Substring.Pattern following) @@ -393,7 +374,7 @@

    Method Summary

    pattern after it has matched this pattern.
    Substring.Pattern toEnd() @@ -401,7 +382,7 @@

    Method Summary

    end of the input string.
    java.lang.String toString() @@ -409,25 +390,6 @@

    Method Summary

    and Substring.Suffix that have an explicitly defined representation.
    Substring.PatternwithBoundary​(CharPredicate boundary) -
    Deprecated. - -
    -
    Substring.PatternwithBoundary​(CharPredicate boundaryBefore, - CharPredicate boundaryAfter) -
    Deprecated. - -
    -
    @@ -653,38 +615,6 @@

    then

    - - - -
      -
    • -

      peek

      -
      @Deprecated
      -public final Substring.Pattern peek​(java.lang.String following)
      -
      Deprecated. - -
      -
      Return a Pattern equivalent to this Pattern, except it will fail to match - if it's not followed by the following string. - -

      Useful in asserting that the current match is followed by the expected keyword. For example: - SCHEME_NAME.peek(":") returns the URI scheme name. - -

      Note that unlike regex lookahead, no backtracking is attempted. So - first("foo").peek("bar") will match "bafoobar" but won't match "foofoobar". - -

      If look-ahead is needed, you can use followedBy(java.lang.String) as in - first("foo").followedBy("bar"). - -

      If you are trying to define a boundary around or after your pattern similar to regex - anchor '\b', consider using separatedBy(com.google.mu.util.CharPredicate) if the boundary can be detected by - a character.

      -
      -
      Since:
      -
      6.0
      -
      -
    • -
    @@ -714,41 +644,6 @@

    peek

    - - - - - - - - @@ -965,31 +860,6 @@

    notPrecededBy

    - - - - diff --git a/mug/apidocs/com/google/mu/util/Substring.Prefix.html b/mug/apidocs/com/google/mu/util/Substring.Prefix.html index 0ea12ea6b1..481b55e582 100644 --- a/mug/apidocs/com/google/mu/util/Substring.Prefix.html +++ b/mug/apidocs/com/google/mu/util/Substring.Prefix.html @@ -2,10 +2,10 @@ - + Substring.Prefix (core 7.2-SNAPSHOT API) - + @@ -261,7 +261,7 @@

    Method Summary

    Methods inherited from class com.google.mu.util.Substring.Pattern

    -followedBy, from, immediatelyBetween, immediatelyBetween, in, in, limit, not, notFollowedBy, notImmediatelyBetween, notPrecededBy, or, peek, peek, precededBy, removeFrom, repeatedly, replaceFrom, replaceFrom, separatedBy, separatedBy, skip, split, splitThenTrim, then, toEnd, withBoundary, withBoundary +followedBy, from, immediatelyBetween, immediatelyBetween, in, in, limit, notFollowedBy, notImmediatelyBetween, notPrecededBy, or, peek, precededBy, removeFrom, repeatedly, replaceFrom, replaceFrom, separatedBy, separatedBy, skip, split, splitThenTrim, then, toEnd
    BiOptional<K,​V>BiStream.max​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
    BiOptional<K,​V>BiStream.min​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
    @@ -367,15 +347,6 @@

    Uses of BiO static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>> -BiCollectors.maxBy​(BiComparator<? super K,​? super V> comparator) - - - - - -static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.maxBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator) @@ -383,7 +354,7 @@

    Uses of BiO and then valueComparator for equal keys.

    - + static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>> BiCollectors.maxByKey​(java.util.Comparator<? super K> comparator) @@ -391,7 +362,7 @@

    Uses of BiO comparator.

    - + static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>> BiCollectors.maxByValue​(java.util.Comparator<? super V> comparator) @@ -399,15 +370,6 @@

    Uses of BiO comparator.

    - -static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>> -BiCollectors.minBy​(BiComparator<? super K,​? super V> comparator) - - - - static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.minBy​(java.util.Comparator<? super K> keyComparator, diff --git a/mug/apidocs/com/google/mu/util/class-use/Both.html b/mug/apidocs/com/google/mu/util/class-use/Both.html index b4a222c558..e8d4f7bd7f 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Both.html +++ b/mug/apidocs/com/google/mu/util/class-use/Both.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.Both (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/CharPredicate.html b/mug/apidocs/com/google/mu/util/class-use/CharPredicate.html index 83c9ba5215..5dd7415075 100644 --- a/mug/apidocs/com/google/mu/util/class-use/CharPredicate.html +++ b/mug/apidocs/com/google/mu/util/class-use/CharPredicate.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.CharPredicate (core 7.2-SNAPSHOT API) - + @@ -319,25 +319,6 @@

    Uses of -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundary) - - - - - -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundaryBefore, - CharPredicate boundaryAfter) - - - -

    diff --git a/mug/apidocs/com/google/mu/util/class-use/Funnel.Batch.html b/mug/apidocs/com/google/mu/util/class-use/Funnel.Batch.html index f2c8d7c923..cc5d06a512 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Funnel.Batch.html +++ b/mug/apidocs/com/google/mu/util/class-use/Funnel.Batch.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Funnel.Batch (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Funnel.html b/mug/apidocs/com/google/mu/util/class-use/Funnel.html index e1318a31ea..d902155686 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Funnel.html +++ b/mug/apidocs/com/google/mu/util/class-use/Funnel.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Funnel (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Maybe.html b/mug/apidocs/com/google/mu/util/class-use/Maybe.html index 91c116ca17..c7cf916096 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Maybe.html +++ b/mug/apidocs/com/google/mu/util/class-use/Maybe.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Maybe (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/MoreCollections.html b/mug/apidocs/com/google/mu/util/class-use/MoreCollections.html index 5473d4affc..b652d59166 100644 --- a/mug/apidocs/com/google/mu/util/class-use/MoreCollections.html +++ b/mug/apidocs/com/google/mu/util/class-use/MoreCollections.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.MoreCollections (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/MoreIterables.html b/mug/apidocs/com/google/mu/util/class-use/MoreIterables.html index 2dc1d76920..b6a58afd0d 100644 --- a/mug/apidocs/com/google/mu/util/class-use/MoreIterables.html +++ b/mug/apidocs/com/google/mu/util/class-use/MoreIterables.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.MoreIterables (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Optionals.html b/mug/apidocs/com/google/mu/util/class-use/Optionals.html index 2c4daca74a..0e14ee80fd 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Optionals.html +++ b/mug/apidocs/com/google/mu/util/class-use/Optionals.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Optionals (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Ordinal.html b/mug/apidocs/com/google/mu/util/class-use/Ordinal.html index 7cca0b766e..be25029de2 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Ordinal.html +++ b/mug/apidocs/com/google/mu/util/class-use/Ordinal.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Ordinal (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Premise.html b/mug/apidocs/com/google/mu/util/class-use/Premise.html index ba6b40b7e2..c2bb94f578 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Premise.html +++ b/mug/apidocs/com/google/mu/util/class-use/Premise.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.Premise (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Selection.Parser.html b/mug/apidocs/com/google/mu/util/class-use/Selection.Parser.html index ad428b4b57..a417c9f20d 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Selection.Parser.html +++ b/mug/apidocs/com/google/mu/util/class-use/Selection.Parser.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Selection.Parser (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Selection.html b/mug/apidocs/com/google/mu/util/class-use/Selection.html index 3d4ac0b204..ca4f5328c7 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Selection.html +++ b/mug/apidocs/com/google/mu/util/class-use/Selection.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.Selection (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html b/mug/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html index 1bf621ce06..483c60e18c 100644 --- a/mug/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html +++ b/mug/apidocs/com/google/mu/util/class-use/StringFormat.Interpolator.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.StringFormat.Interpolator (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/StringFormat.To.html b/mug/apidocs/com/google/mu/util/class-use/StringFormat.To.html index 23f6e92445..91ac74532f 100644 --- a/mug/apidocs/com/google/mu/util/class-use/StringFormat.To.html +++ b/mug/apidocs/com/google/mu/util/class-use/StringFormat.To.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.StringFormat.To (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/StringFormat.html b/mug/apidocs/com/google/mu/util/class-use/StringFormat.html index 209848154e..3e4f792642 100644 --- a/mug/apidocs/com/google/mu/util/class-use/StringFormat.html +++ b/mug/apidocs/com/google/mu/util/class-use/StringFormat.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.StringFormat (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html b/mug/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html index e30c286061..5a758895dc 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.BoundStyle.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.BoundStyle (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.Match.html b/mug/apidocs/com/google/mu/util/class-use/Substring.Match.html index 5ae6828c60..bfcade5b34 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.Match.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.Match.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Match (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.Pattern.html b/mug/apidocs/com/google/mu/util/class-use/Substring.Pattern.html index a0ae9c7919..4c071375d2 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.Pattern.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.Pattern.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Pattern (core 7.2-SNAPSHOT API) - + @@ -362,23 +362,13 @@

    Uses of Substring.Pattern -Substring.Pattern.not() - -
    Deprecated. - -
    - - - -Substring.Pattern Substring.Pattern.notFollowedBy​(java.lang.String lookahead)
    Returns an otherwise equivalent pattern except it requires the matched substring not be immediately followed by the lookahead string.
    - + Substring.Pattern Substring.Pattern.notImmediatelyBetween​(java.lang.String lookbehind, java.lang.String lookahead) @@ -388,7 +378,7 @@

    Uses of + Substring.Pattern Substring.Pattern.notPrecededBy​(java.lang.String lookbehind) @@ -396,7 +386,7 @@

    Uses of + Substring.Pattern Substring.Pattern.or​(Substring.Pattern that) @@ -404,7 +394,7 @@

    Uses of + Substring.Pattern Substring.Pattern.peek​(Substring.Pattern following) @@ -412,15 +402,6 @@

    Uses of -Substring.Pattern -Substring.Pattern.peek​(java.lang.String following) - -
    Deprecated. - -
    - - Substring.Pattern Substring.Pattern.precededBy​(java.lang.String lookbehind) @@ -510,25 +491,6 @@

    Uses of -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundary) - -
    Deprecated. - -
    - - - -Substring.Pattern -Substring.Pattern.withBoundary​(CharPredicate boundaryBefore, - CharPredicate boundaryAfter) - -
    Deprecated. - -
    - - - static Substring.Pattern Substring.word() diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.Prefix.html b/mug/apidocs/com/google/mu/util/class-use/Substring.Prefix.html index 2c4d1073c3..4fc71691fd 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.Prefix.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.Prefix.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Prefix (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html b/mug/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html index 041c5f7c5a..e1d7f65d90 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.RepeatingPattern.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.RepeatingPattern (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.Suffix.html b/mug/apidocs/com/google/mu/util/class-use/Substring.Suffix.html index 886ec463d8..42974fc6d0 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.Suffix.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.Suffix.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring.Suffix (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/class-use/Substring.html b/mug/apidocs/com/google/mu/util/class-use/Substring.html index 4e7c31f322..a110ab8deb 100644 --- a/mug/apidocs/com/google/mu/util/class-use/Substring.html +++ b/mug/apidocs/com/google/mu/util/class-use/Substring.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.Substring (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/Parallelizer.html b/mug/apidocs/com/google/mu/util/concurrent/Parallelizer.html index 95d498b08f..da2f9227a9 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/Parallelizer.html +++ b/mug/apidocs/com/google/mu/util/concurrent/Parallelizer.html @@ -2,10 +2,10 @@ - + Parallelizer (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html b/mug/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html index 9c9556a1c9..92107d62f2 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html +++ b/mug/apidocs/com/google/mu/util/concurrent/Retryer.Delay.html @@ -2,10 +2,10 @@ - + Retryer.Delay (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html b/mug/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html index 47fb461fae..19fd33a3c2 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html +++ b/mug/apidocs/com/google/mu/util/concurrent/Retryer.ForReturnValue.html @@ -2,10 +2,10 @@ - + Retryer.ForReturnValue (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/Retryer.html b/mug/apidocs/com/google/mu/util/concurrent/Retryer.html index 93f86f18e5..f2e6c2a53d 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/Retryer.html +++ b/mug/apidocs/com/google/mu/util/concurrent/Retryer.html @@ -2,10 +2,10 @@ - + Retryer (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html b/mug/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html index 2bdf0852ee..08ac53b8b5 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html +++ b/mug/apidocs/com/google/mu/util/concurrent/class-use/Parallelizer.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Parallelizer (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html b/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html index 4b3b981428..6170c573a1 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html +++ b/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.Delay.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Retryer.Delay (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html b/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html index a6c67ddc44..1b52949164 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html +++ b/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.ForReturnValue.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Retryer.ForReturnValue (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html b/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html index 4674785689..a3a3e262aa 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html +++ b/mug/apidocs/com/google/mu/util/concurrent/class-use/Retryer.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.concurrent.Retryer (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/package-summary.html b/mug/apidocs/com/google/mu/util/concurrent/package-summary.html index 28c70e4c4a..fd9aabeb85 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/package-summary.html +++ b/mug/apidocs/com/google/mu/util/concurrent/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.util.concurrent (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/package-tree.html b/mug/apidocs/com/google/mu/util/concurrent/package-tree.html index 8b46d31ef2..c6e8baa288 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/package-tree.html +++ b/mug/apidocs/com/google/mu/util/concurrent/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util.concurrent Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/concurrent/package-use.html b/mug/apidocs/com/google/mu/util/concurrent/package-use.html index 1d87e48701..7b2960523d 100644 --- a/mug/apidocs/com/google/mu/util/concurrent/package-use.html +++ b/mug/apidocs/com/google/mu/util/concurrent/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util.concurrent (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html b/mug/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html index 7c4b4af88b..ada47b78d9 100644 --- a/mug/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html +++ b/mug/apidocs/com/google/mu/util/graph/BinaryTreeWalker.html @@ -2,10 +2,10 @@ - + BinaryTreeWalker (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/CyclicGraphException.html b/mug/apidocs/com/google/mu/util/graph/CyclicGraphException.html index 4467394799..fea545e56c 100644 --- a/mug/apidocs/com/google/mu/util/graph/CyclicGraphException.html +++ b/mug/apidocs/com/google/mu/util/graph/CyclicGraphException.html @@ -2,10 +2,10 @@ - + CyclicGraphException (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/GraphWalker.html b/mug/apidocs/com/google/mu/util/graph/GraphWalker.html index 59c2fefb66..d8c249019f 100644 --- a/mug/apidocs/com/google/mu/util/graph/GraphWalker.html +++ b/mug/apidocs/com/google/mu/util/graph/GraphWalker.html @@ -2,10 +2,10 @@ - + GraphWalker (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/ShortestPath.html b/mug/apidocs/com/google/mu/util/graph/ShortestPath.html index 8af1e9c77e..b81b3f91c1 100644 --- a/mug/apidocs/com/google/mu/util/graph/ShortestPath.html +++ b/mug/apidocs/com/google/mu/util/graph/ShortestPath.html @@ -2,10 +2,10 @@ - + ShortestPath (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/Walker.html b/mug/apidocs/com/google/mu/util/graph/Walker.html index 6d42700877..0b6613dbb7 100644 --- a/mug/apidocs/com/google/mu/util/graph/Walker.html +++ b/mug/apidocs/com/google/mu/util/graph/Walker.html @@ -2,10 +2,10 @@ - + Walker (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html b/mug/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html index 5bb31d2180..94a7b7bef5 100644 --- a/mug/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html +++ b/mug/apidocs/com/google/mu/util/graph/class-use/BinaryTreeWalker.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.BinaryTreeWalker (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html b/mug/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html index ef5358a49d..19c2e2d731 100644 --- a/mug/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html +++ b/mug/apidocs/com/google/mu/util/graph/class-use/CyclicGraphException.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.CyclicGraphException (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html b/mug/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html index c86be3cbf9..c4bafb1fd3 100644 --- a/mug/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html +++ b/mug/apidocs/com/google/mu/util/graph/class-use/GraphWalker.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.GraphWalker (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html b/mug/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html index 009a113401..94d943024f 100644 --- a/mug/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html +++ b/mug/apidocs/com/google/mu/util/graph/class-use/ShortestPath.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.ShortestPath (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/class-use/Walker.html b/mug/apidocs/com/google/mu/util/graph/class-use/Walker.html index fe7c5728cb..fa35222302 100644 --- a/mug/apidocs/com/google/mu/util/graph/class-use/Walker.html +++ b/mug/apidocs/com/google/mu/util/graph/class-use/Walker.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.graph.Walker (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/package-summary.html b/mug/apidocs/com/google/mu/util/graph/package-summary.html index 75da0712de..0406e23c8c 100644 --- a/mug/apidocs/com/google/mu/util/graph/package-summary.html +++ b/mug/apidocs/com/google/mu/util/graph/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.util.graph (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/package-tree.html b/mug/apidocs/com/google/mu/util/graph/package-tree.html index 352f006a77..00e02e98aa 100644 --- a/mug/apidocs/com/google/mu/util/graph/package-tree.html +++ b/mug/apidocs/com/google/mu/util/graph/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util.graph Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/graph/package-use.html b/mug/apidocs/com/google/mu/util/graph/package-use.html index f9fa93c542..7d5f88ad54 100644 --- a/mug/apidocs/com/google/mu/util/graph/package-use.html +++ b/mug/apidocs/com/google/mu/util/graph/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util.graph (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/package-summary.html b/mug/apidocs/com/google/mu/util/package-summary.html index c26855abf4..ad2d4edbe4 100644 --- a/mug/apidocs/com/google/mu/util/package-summary.html +++ b/mug/apidocs/com/google/mu/util/package-summary.html @@ -2,10 +2,10 @@ - + com.google.mu.util (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/package-tree.html b/mug/apidocs/com/google/mu/util/package-tree.html index e7d12e1a82..71ab3b8f18 100644 --- a/mug/apidocs/com/google/mu/util/package-tree.html +++ b/mug/apidocs/com/google/mu/util/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util Class Hierarchy (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/package-use.html b/mug/apidocs/com/google/mu/util/package-use.html index 8e4c8ed307..94fb037a1f 100644 --- a/mug/apidocs/com/google/mu/util/package-use.html +++ b/mug/apidocs/com/google/mu/util/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiAccumulator.html b/mug/apidocs/com/google/mu/util/stream/BiAccumulator.html index 11502d7e9a..7512b83dd2 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiAccumulator.html +++ b/mug/apidocs/com/google/mu/util/stream/BiAccumulator.html @@ -2,10 +2,10 @@ - + BiAccumulator (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiCollection.html b/mug/apidocs/com/google/mu/util/stream/BiCollection.html index 41d6be6730..5133543a20 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiCollection.html +++ b/mug/apidocs/com/google/mu/util/stream/BiCollection.html @@ -2,10 +2,10 @@ - + BiCollection (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiCollector.html b/mug/apidocs/com/google/mu/util/stream/BiCollector.html index 0c8f599053..b08c2da0f9 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiCollector.html +++ b/mug/apidocs/com/google/mu/util/stream/BiCollector.html @@ -2,10 +2,10 @@ - + BiCollector (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiCollectors.html b/mug/apidocs/com/google/mu/util/stream/BiCollectors.html index cae06fb5d7..77110cf7a3 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiCollectors.html +++ b/mug/apidocs/com/google/mu/util/stream/BiCollectors.html @@ -2,10 +2,10 @@ - + BiCollectors (core 7.2-SNAPSHOT API) - + @@ -28,8 +28,8 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":9,"i18":9,"i19":9,"i20":41,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -148,7 +148,7 @@

    Class BiCollectors

    Method Summary

    -
    +
    @@ -295,15 +295,6 @@

    Method Summary

    - - - - - - + - + - - - - - - + @@ -345,7 +327,7 @@

    Method Summary

    and then valueComparator for equal keys. - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - + @@ -873,7 +853,7 @@

    Method Summary

    Returns a BiStream of a single pair containing key and value.
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + @@ -1102,7 +1072,7 @@

    Method Summary

    comparator on the values of pairs with equal keys. - + @@ -1111,7 +1081,7 @@

    Method Summary

    applying comparator on the result of applying the sortKeyFunction. - + - + - + - + - + - + @@ -1160,21 +1130,21 @@

    Method Summary

    BiStream. - + - + - + @@ -1184,7 +1154,7 @@

    Method Summary

    the corresponding third etc. - + @@ -2995,25 +2965,6 @@

    sortedBy

    - - - - @@ -3029,48 +2980,6 @@

    sorted

    To sort by value then by key, consider using inverse() first. - - - -

    - - - - diff --git a/mug/apidocs/com/google/mu/util/stream/FixedSizeCollector.html b/mug/apidocs/com/google/mu/util/stream/FixedSizeCollector.html index 88def7e0dc..ca6b655169 100644 --- a/mug/apidocs/com/google/mu/util/stream/FixedSizeCollector.html +++ b/mug/apidocs/com/google/mu/util/stream/FixedSizeCollector.html @@ -2,10 +2,10 @@ - +FixedSizeCollector (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/Iteration.Continuation.html b/mug/apidocs/com/google/mu/util/stream/Iteration.Continuation.html index 6dcd9f1d8d..cd75bc6571 100644 --- a/mug/apidocs/com/google/mu/util/stream/Iteration.Continuation.html +++ b/mug/apidocs/com/google/mu/util/stream/Iteration.Continuation.html @@ -2,10 +2,10 @@ - +Iteration.Continuation (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/Iteration.html b/mug/apidocs/com/google/mu/util/stream/Iteration.html index bcf207317c..459457b7e0 100644 --- a/mug/apidocs/com/google/mu/util/stream/Iteration.html +++ b/mug/apidocs/com/google/mu/util/stream/Iteration.html @@ -2,10 +2,10 @@ - +Iteration (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/Joiner.html b/mug/apidocs/com/google/mu/util/stream/Joiner.html index 2dc39f4e1c..db8f92d2af 100644 --- a/mug/apidocs/com/google/mu/util/stream/Joiner.html +++ b/mug/apidocs/com/google/mu/util/stream/Joiner.html @@ -2,10 +2,10 @@ - +Joiner (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/MoreCollectors.html b/mug/apidocs/com/google/mu/util/stream/MoreCollectors.html index 352114fb93..75a721ad31 100644 --- a/mug/apidocs/com/google/mu/util/stream/MoreCollectors.html +++ b/mug/apidocs/com/google/mu/util/stream/MoreCollectors.html @@ -2,10 +2,10 @@ - +MoreCollectors (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -166,45 +166,61 @@

    Method Summary

    - + - + - + - + + + + + + + + + + + - + @@ -214,7 +230,7 @@

    Method Summary

    collects the flattened pairs with the downstream BiCollector. - + - + - + @@ -242,56 +258,70 @@

    Method Summary

    pair of elements, which are then accumulated by a BiCollector. - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + - + @@ -300,7 +330,7 @@

    Method Summary

    predicate, and those that don't. - + - + - + - + - - - - - - - - - - - - - @@ -936,7 +926,7 @@

    Uses of +

    - + @@ -969,7 +959,7 @@

    Uses of +

    diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html b/mug/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html index b400c28795..3e1a3a3a44 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/FixedSizeCollector.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.FixedSizeCollector (core 7.2-SNAPSHOT API) - + @@ -119,33 +119,49 @@

    Uses of

    - + - + - + + + + + + + + + + + - + @@ -166,30 +182,44 @@

    Uses of

    - + + + + + + + + + + + - + - + - + @@ -216,8 +246,8 @@

    Uses of MoreCollectors.switching​(FixedSizeCollector<T,​?,​R> firstCase, FixedSizeCollector<T,​?,​R>... moreCases)

    diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html b/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html index 8b3ab6a8d9..3abc20835c 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.Continuation.html @@ -2,10 +2,10 @@ - +Uses of Interface com.google.mu.util.stream.Iteration.Continuation (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.html b/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.html index 0e4b4c60e9..d8501263a8 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/Iteration.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.Iteration (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/Joiner.html b/mug/apidocs/com/google/mu/util/stream/class-use/Joiner.html index 6ffb9b2cbd..4fe890b9d1 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/Joiner.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/Joiner.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.Joiner (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html b/mug/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html index 6cae648986..2b4e1a3258 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/MoreCollectors.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.MoreCollectors (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html b/mug/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html index 9e3a01339d..ae2af3964a 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/MoreStreams.html @@ -2,10 +2,10 @@ - +Uses of Class com.google.mu.util.stream.MoreStreams (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/package-summary.html b/mug/apidocs/com/google/mu/util/stream/package-summary.html index 993853d1c1..70276684d9 100644 --- a/mug/apidocs/com/google/mu/util/stream/package-summary.html +++ b/mug/apidocs/com/google/mu/util/stream/package-summary.html @@ -2,10 +2,10 @@ - +com.google.mu.util.stream (core 7.2-SNAPSHOT API) - + @@ -172,38 +172,30 @@

    Package Specification

    - - - - - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    maxBy​(BiComparator<? super K,​? super V> comparator) - -
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    maxBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator) @@ -311,7 +302,7 @@

    Method Summary

    and then valueComparator for equal keys.
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    maxByKey​(java.util.Comparator<? super K> comparator) @@ -319,7 +310,7 @@

    Method Summary

    comparator.
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    maxByValue​(java.util.Comparator<? super V> comparator) @@ -327,16 +318,7 @@

    Method Summary

    comparator.
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    minBy​(BiComparator<? super K,​? super V> comparator) -
    Deprecated. - -
    -
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    minBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator)
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    minByKey​(java.util.Comparator<? super K> comparator) @@ -353,7 +335,7 @@

    Method Summary

    comparator.
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    minByValue​(java.util.Comparator<? super V> comparator) @@ -361,7 +343,7 @@

    Method Summary

    comparator.
    static <K,​V>
    BiCollector<K,​V,​java.util.DoubleSummaryStatistics>
    summarizingDouble​(java.util.function.ToDoubleBiFunction<? super K,​? super V> mapper) @@ -370,7 +352,7 @@

    Method Summary

    for the resulting values.
    static <K,​V>
    BiCollector<K,​V,​java.util.IntSummaryStatistics>
    summarizingInt​(java.util.function.ToIntBiFunction<? super K,​? super V> mapper) @@ -379,7 +361,7 @@

    Method Summary

    for the resulting values.
    static <K,​V>
    BiCollector<K,​V,​java.util.LongSummaryStatistics>
    summarizingLong​(java.util.function.ToLongBiFunction<? super K,​? super V> mapper) @@ -388,7 +370,7 @@

    Method Summary

    for the resulting values.
    static <K,​V>
    BiCollector<K,​V,​java.lang.Double>
    summingDouble​(java.util.function.ToDoubleBiFunction<? super K,​? super V> mapper) @@ -396,7 +378,7 @@

    Method Summary

    function applied to the input pair.
    static <K,​V>
    BiCollector<K,​V,​java.lang.Integer>
    summingInt​(java.util.function.ToIntBiFunction<? super K,​? super V> mapper) @@ -404,7 +386,7 @@

    Method Summary

    function applied to the input pair.
    static <K,​V>
    BiCollector<K,​V,​java.lang.Long>
    summingLong​(java.util.function.ToLongBiFunction<? super K,​? super V> mapper) @@ -412,14 +394,14 @@

    Method Summary

    function applied to the input pair.
    static <K,​V>
    BiCollector<K,​V,​java.util.Map<K,​V>>
    toMap()
    Returns a BiCollector that collects the key-value pairs into an immutable Map.
    static <K,​V>
    BiCollector<K,​V,​java.util.Map<K,​V>>
    toMap​(java.util.function.BinaryOperator<V> valueMerger) @@ -427,7 +409,7 @@

    Method Summary

    using valueMerger to merge values of duplicate keys.
    static <K,​V,​M extends java.util.Map<K,​V>>
    BiCollector<K,​V,​M>
    toMap​(java.util.function.Supplier<? extends M> mapSupplier) @@ -435,7 +417,7 @@

    Method Summary

    created by mapSupplier.
    static <K,​V1,​V>
    BiCollector<K,​V1,​java.util.Map<K,​V>>
    toMap​(java.util.stream.Collector<V1,​?,​V> valueCollector) @@ -1002,40 +984,6 @@

    flatMapping

    - - - - - - - - diff --git a/mug/apidocs/com/google/mu/util/stream/BiIteration.html b/mug/apidocs/com/google/mu/util/stream/BiIteration.html index d730028965..ca8152e42d 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiIteration.html +++ b/mug/apidocs/com/google/mu/util/stream/BiIteration.html @@ -2,10 +2,10 @@ - + BiIteration (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiStream.Builder.html b/mug/apidocs/com/google/mu/util/stream/BiStream.Builder.html index 21a5bbba8e..7df8deeb30 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiStream.Builder.html +++ b/mug/apidocs/com/google/mu/util/stream/BiStream.Builder.html @@ -2,10 +2,10 @@ - + BiStream.Builder (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html b/mug/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html index 94cb01a3cf..3027948a0f 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html +++ b/mug/apidocs/com/google/mu/util/stream/BiStream.Partitioner.html @@ -2,10 +2,10 @@ - + BiStream.Partitioner (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/BiStream.html b/mug/apidocs/com/google/mu/util/stream/BiStream.html index a4bbfc11bb..54d148bbd9 100644 --- a/mug/apidocs/com/google/mu/util/stream/BiStream.html +++ b/mug/apidocs/com/google/mu/util/stream/BiStream.html @@ -2,10 +2,10 @@ - + BiStream (core 7.2-SNAPSHOT API) - + @@ -28,7 +28,7 @@ catch(err) { } //--> -var data = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":6,"i12":6,"i13":6,"i14":10,"i15":9,"i16":9,"i17":9,"i18":9,"i19":10,"i20":9,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":6,"i38":6,"i39":9,"i40":41,"i41":9,"i42":9,"i43":41,"i44":9,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":6,"i59":10,"i60":6,"i61":10,"i62":10,"i63":10,"i64":10,"i65":6,"i66":10,"i67":10,"i68":10,"i69":6,"i70":6,"i71":6,"i72":6,"i73":10,"i74":10,"i75":6,"i76":10,"i77":10,"i78":10,"i79":42,"i80":42,"i81":10,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":10,"i93":9,"i94":6,"i95":10,"i96":10,"i97":10,"i98":42,"i99":10,"i100":10,"i101":10,"i102":10,"i103":9,"i104":9,"i105":9,"i106":9,"i107":10,"i108":10,"i109":9,"i110":9}; +var data = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":6,"i12":6,"i13":6,"i14":10,"i15":9,"i16":9,"i17":9,"i18":9,"i19":10,"i20":9,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":6,"i38":6,"i39":9,"i40":41,"i41":9,"i42":9,"i43":41,"i44":9,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":6,"i59":10,"i60":6,"i61":10,"i62":10,"i63":10,"i64":10,"i65":6,"i66":10,"i67":10,"i68":10,"i69":6,"i70":6,"i71":6,"i72":6,"i73":10,"i74":10,"i75":6,"i76":10,"i77":10,"i78":10,"i79":10,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":10,"i91":9,"i92":6,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":9,"i101":9,"i102":9,"i103":9,"i104":10,"i105":10,"i106":9,"i107":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -839,33 +839,13 @@

    Method Summary

    BiOptional<K,​V>max​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
    BiOptional<K,​V>min​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) - -
    boolean noneMatch​(java.util.function.BiPredicate<? super K,​? super V> predicate)
    Returns true if no pairs in this stream match predicate.
    static <K,​V>
    BiStream<K,​V>
    of​(K key, V value)
    static <K,​V>
    BiStream<K,​V>
    of​(K key1, V value1, @@ -883,7 +863,7 @@

    Method Summary

    Returns a BiStream of two pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K key1, V value1, @@ -895,7 +875,7 @@

    Method Summary

    Returns a BiStream of three pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -909,7 +889,7 @@

    Method Summary

    Returns a BiStream of 4 pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -925,7 +905,7 @@

    Method Summary

    Returns a BiStream of 5 pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -943,7 +923,7 @@

    Method Summary

    Returns a BiStream of 6 pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -963,7 +943,7 @@

    Method Summary

    Returns a BiStream of 7 pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -985,7 +965,7 @@

    Method Summary

    Returns a BiStream of 8 pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -1009,7 +989,7 @@

    Method Summary

    Returns a BiStream of 9 pairs, containing the supplied keys and values.
    static <K,​V>
    BiStream<K,​V>
    of​(K k1, V v1, @@ -1035,7 +1015,7 @@

    Method Summary

    Returns a BiStream of 10 pairs, containing the supplied keys and values.
    BiStream<K,​V> peek​(java.util.function.BiConsumer<? super K,​? super V> action) @@ -1043,7 +1023,7 @@

    Method Summary

    action on each pair as pairs are consumed from the resulting stream.
    static <I,​O>
    BiStream<I,​O>
    repeat​(java.util.function.Function<? super I,​? extends O> work, I initial, @@ -1053,7 +1033,7 @@

    Method Summary

    function.
    abstract BiStream<K,​V> skip​(int n) @@ -1061,38 +1041,28 @@

    Method Summary

    the first n pairs.
    BiStream<K,​V> skipIf​(java.util.function.BiPredicate<? super K,​? super V> predicate)
    Filter this stream to exclude pairs matching predicate.
    BiStream<K,​V> skipKeysIf​(java.util.function.Predicate<? super K> predicate)
    Filter this stream to exclude pairs whose key matches predicate.
    BiStream<K,​V> skipValuesIf​(java.util.function.Predicate<? super V> predicate)
    Filter this stream to exclude pairs whose value matches predicate.
    BiStream<K,​V>sorted​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) -
    Deprecated. - -
    -
    BiStream<K,​V> sorted​(java.util.Comparator<? super K> byKey, java.util.Comparator<? super V> byValue)
    <T> BiStream<K,​V> sortedBy​(java.util.function.BiFunction<? super K,​? super V,​T> sortKeyFunction, java.util.Comparator<? super T> comparator)
    BiStream<K,​V> sortedByKeys​(java.util.Comparator<? super K> comparator) @@ -1119,7 +1089,7 @@

    Method Summary

    applying comparator on the keys of each pair.
    BiStream<K,​V> sortedByValues​(java.util.Comparator<? super V> comparator) @@ -1127,7 +1097,7 @@

    Method Summary

    applying comparator on the values of each pair.
    static <T> java.util.stream.Collector<T,​?,​BiStream<T,​T>> toAdjacentPairs() @@ -1135,7 +1105,7 @@

    Method Summary

    BiStream.
    static <T> java.util.stream.Collector<T,​?,​BiStream<T,​T>> toBiStream() @@ -1143,7 +1113,7 @@

    Method Summary

    BiStream.
    static <E,​K,​V>
    java.util.stream.Collector<E,​?,​BiStream<K,​V>>
    toBiStream​(java.util.function.Function<? super E,​? extends Both<? extends K,​? extends V>> toPair) @@ -1151,7 +1121,7 @@

    Method Summary

    BiStream.
    static <E,​K,​V>
    java.util.stream.Collector<E,​?,​BiStream<K,​V>>
    toBiStream​(java.util.function.Function<? super E,​? extends K> toKey, java.util.function.Function<? super E,​? extends V> toValue)
    java.util.Map<K,​V> toMap()
    Returns an immutable Map that is the result of collecting the pairs in this stream.
    java.util.stream.Stream<V> values()
    Returns a Stream consisting of only the values from each pair in this stream.
    static <L,​R>
    BiStream<L,​R>
    zip​(java.util.Collection<L> left, java.util.Collection<R> right)
    static <L,​R>
    BiStream<L,​R>
    zip​(java.util.stream.Stream<L> left, java.util.stream.Stream<R> right)
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(Quarternary<? super T,​? extends R> mapper)combining​(MapFrom3<? super T,​? extends R> mapper) -
    Returns a collector that collects the only four elements from the input and transforms them +
    Returns a collector that collects the only three elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(Quinary<? super T,​? extends R> mapper)combining​(MapFrom4<? super T,​? extends R> mapper) -
    Returns a collector that collects the only five elements from the input and transforms them +
    Returns a collector that collects the only four elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(Senary<? super T,​? extends R> mapper)combining​(MapFrom5<? super T,​? extends R> mapper) -
    Returns a collector that collects the only six elements from the input and transforms them +
    Returns a collector that collects the only five elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(Ternary<? super T,​? extends R> mapper)combining​(MapFrom6<? super T,​? extends R> mapper) -
    Returns a collector that collects the only three elements from the input and transforms them +
    Returns a collector that collects the only six elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(MapFrom7<? super T,​? extends R> mapper) +
    Returns a collector that collects the only seven elements from the input and transforms them + using the mapper function.
    +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(MapFrom8<? super T,​? extends R> mapper) +
    Returns a collector that collects the only eight elements from the input and transforms them + using the mapper function.
    +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    combining​(java.util.function.BiFunction<? super T,​? super T,​? extends R> mapper)
    Returns a collector that collects the only two elements from the input and transforms them using the mapper function.
    static <T,​K,​V,​R>
    java.util.stream.Collector<T,​?,​R>
    flatMapping​(java.util.function.Function<? super T,​? extends BiStream<? extends K,​? extends V>> flattener, BiCollector<K,​V,​R> downstream)
    static <K,​V,​R>
    java.util.stream.Collector<java.util.Map<K,​V>,​?,​R>
    flatteningMaps​(BiCollector<K,​V,​R> downstream) @@ -222,7 +238,7 @@

    Method Summary

    the downstream BiCollector.
    static <F,​T,​T1,​R>
    java.util.stream.Collector<F,​?,​R>
    mapping​(java.util.function.Function<? super F,​? extends T> inputMapper, java.util.stream.Collector<T,​?,​T1> collector, @@ -232,7 +248,7 @@

    Method Summary

    uses outputMapper to transform the output of the given collector.
    static <T,​A,​B,​R>
    java.util.stream.Collector<T,​?,​R>
    mapping​(java.util.function.Function<? super T,​? extends Both<? extends A,​? extends B>> mapper, BiCollector<A,​B,​R> downstream)
    static <T> java.util.stream.Collector<T,​?,​BiOptional<T,​T>> minMax​(java.util.Comparator<? super T> comparator)
    Returns a collector that collects the minimum and maximum elements from the input elements.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElement​(java.util.function.Function<? super T,​? extends R> mapper)
    Same as #asIn(Function).
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(Quarternary<? super T,​? extends R> mapper)onlyElements​(MapFrom3<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(Quinary<? super T,​? extends R> mapper)onlyElements​(MapFrom4<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(Senary<? super T,​? extends R> mapper)onlyElements​(MapFrom5<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(Ternary<? super T,​? extends R> mapper)onlyElements​(MapFrom6<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(MapFrom7<? super T,​? extends R> mapper) + +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(MapFrom8<? super T,​? extends R> mapper) + +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    onlyElements​(java.util.function.BiFunction<? super T,​? super T,​? extends R> mapper)
    static <E,​R>
    java.util.stream.Collector<E,​?,​Both<R,​R>>
    partitioningBy​(java.util.function.Predicate<? super E> predicate, java.util.stream.Collector<E,​?,​R> downstream)
    static <E,​A1,​A2,​T,​F>
    java.util.stream.Collector<E,​?,​Both<T,​F>>
    partitioningBy​(java.util.function.Predicate<? super E> predicate, java.util.stream.Collector<E,​A1,​T> downstreamIfTrue, @@ -311,16 +341,16 @@

    Method Summary

    downstreamIfFalse
    respectively to collect the elements.
    static <T,​R>
    java.util.stream.Collector<T,​?,​R>
    switching​(FixedSizeCollector<T,​?,​R> firstCase, FixedSizeCollector<T,​?,​R>... moreCases) -
    Returns a Collector that will collect the input elements using the first of - [firstCase, moreCases...] that matches the input elements.
    +
    Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.
    static <T> java.util.stream.Collector<T,​?,​java.util.List<T>> toListAndThen​(java.util.function.Consumer<? super java.util.List<T>> arranger) @@ -328,7 +358,7 @@

    Method Summary

    arranger function before being wrapped as immutable list result.
    static <T,​K,​V,​M extends java.util.Map<K,​V>>
    java.util.stream.Collector<T,​?,​M>
    toMap​(java.util.function.Function<? super T,​? extends K> keyFunction, java.util.function.Function<? super T,​? extends V> valueFunction, @@ -502,18 +532,18 @@

    combining

    - +
    • combining

      -
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Ternary<? super T,​? extends R> mapper)
      +
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom3<? super T,​? extends R> mapper)
      Returns a collector that collects the only three elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

      To handle the size() != 3 case, consider to use the MoreCollections.findOnlyElements() method, +

      To handle the size() != 3 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

      Since:
      @@ -521,18 +551,18 @@

      combining

    - +
    • combining

      -
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Quarternary<? super T,​? extends R> mapper)
      +
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom4<? super T,​? extends R> mapper)
      Returns a collector that collects the only four elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

      To handle the size() != 4 case, consider to use the MoreCollections.findOnlyElements() method, +

      To handle the size() != 4 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

      Since:
      @@ -540,18 +570,18 @@

      combining

    - +
    • combining

      -
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Quinary<? super T,​? extends R> mapper)
      +
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom5<? super T,​? extends R> mapper)
      Returns a collector that collects the only five elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

      To handle the size() != 5 case, consider to use the MoreCollections.findOnlyElements() method, +

      To handle the size() != 5 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

      Since:
      @@ -559,18 +589,18 @@

      combining

    - +
    • combining

      -
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(Senary<? super T,​? extends R> mapper)
      +
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom6<? super T,​? extends R> mapper)
      Returns a collector that collects the only six elements from the input and transforms them using the mapper function. If there are fewer or more elements in the input, IllegalArgumentExceptioin is thrown. -

      To handle the size() != 6 case, consider to use the MoreCollections.findOnlyElements() method, +

      To handle the size() != 6 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

      Since:
      @@ -578,6 +608,42 @@

      combining

    + + + +
      +
    • +

      combining

      +
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom7<? super T,​? extends R> mapper)
      +
      Returns a collector that collects the only seven elements from the input and transforms them + using the mapper function. If there are fewer or more elements in the input, + IllegalArgumentExceptioin is thrown. + +

      To handle the size() != 7 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

      +
      +
      Since:
      +
      7.2
      +
      +
    • +
    + + + +
      +
    • +

      combining

      +
      public static <T,​R> FixedSizeCollector<T,​?,​R> combining​(MapFrom8<? super T,​? extends R> mapper)
      +
      Returns a collector that collects the only eight elements from the input and transforms them + using the mapper function. If there are fewer or more elements in the input, + IllegalArgumentExceptioin is thrown. + +

      To handle the size() != 8 case, consider to use the MoreCollections.findOnlyElements() method, which returns Optional.

      +
      +
      Since:
      +
      7.2
      +
      +
    • +
    @@ -606,62 +672,90 @@

    onlyElements

    - + - + - + - + + + + + + + + + @@ -671,24 +765,26 @@

    switching

    @SafeVarargs
     public static <T,​R> java.util.stream.Collector<T,​?,​R> switching​(FixedSizeCollector<T,​?,​R> firstCase,
                                                                                       FixedSizeCollector<T,​?,​R>... moreCases)
    -
    Returns a Collector that will collect the input elements using the first of - [firstCase, moreCases...] that matches the input elements. +
    Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.

    For example, you may have a table name that could be in one of several formats: +

      -
    • database.schema.table; -
    • schema.table in the current database; -
    • table in the current database and current schema; +
    • database.schema.table; +
    • schema.table in the current database; +
    • table in the current database and current schema;
    To handle these different cases, you can do: +
    
    -   Substring.first('.').repeatedly().split(tableName)
    -       .collect(
    -           switching(
    -               asIn((db, schema, table) -> ...),
    -               asIn((schema, table) -> ...),
    -               asIn(table -> ...)));
    + Substring.first('.').repeatedly().split(tableName)
    +     .collect(
    +         switching(
    +             asIn((db, schema, table) -> ...),
    +             asIn((schema, table) -> ...),
    +             asIn(table -> ...)));
      
    Since:
    diff --git a/mug/apidocs/com/google/mu/util/stream/MoreStreams.html b/mug/apidocs/com/google/mu/util/stream/MoreStreams.html index fa90237b07..6eaa7839ea 100644 --- a/mug/apidocs/com/google/mu/util/stream/MoreStreams.html +++ b/mug/apidocs/com/google/mu/util/stream/MoreStreams.html @@ -2,10 +2,10 @@ - + MoreStreams (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html index 3ba63b0575..5986d4c1e9 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiAccumulator.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.stream.BiAccumulator (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiCollection.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiCollection.html index 36b95fd494..9b40f8b6b4 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiCollection.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiCollection.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiCollection (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiCollector.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiCollector.html index 4226b58057..00513d1573 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiCollector.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiCollector.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.stream.BiCollector (core 7.2-SNAPSHOT API) - + @@ -255,15 +255,6 @@

    Uses of

    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.maxBy​(BiComparator<? super K,​? super V> comparator) - -
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.maxBy​(java.util.Comparator<? super K> keyComparator, java.util.Comparator<? super V> valueComparator) @@ -271,7 +262,7 @@

    Uses of +

    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.maxByKey​(java.util.Comparator<? super K> comparator) @@ -279,7 +270,7 @@

    Uses of +

    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.maxByValue​(java.util.Comparator<? super V> comparator) @@ -287,15 +278,6 @@

    Uses of -

    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.minBy​(BiComparator<? super K,​? super V> comparator) - -
    static <K,​V>
    BiCollector<K,​V,​BiOptional<K,​V>>
    BiCollectors.minBy​(java.util.Comparator<? super K> keyComparator, diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html index a7b577ed03..28f9bca32b 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiCollectors.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiCollectors (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiIteration.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiIteration.html index 0998c19f44..1191b61e4a 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiIteration.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiIteration.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiIteration (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html index f3a91ffcef..3eaa27a890 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Builder.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiStream.Builder (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html index 6cff213071..54b38af56a 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.Partitioner.html @@ -2,10 +2,10 @@ - + Uses of Interface com.google.mu.util.stream.BiStream.Partitioner (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.html b/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.html index a35aaa935a..956f6527e0 100644 --- a/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.html +++ b/mug/apidocs/com/google/mu/util/stream/class-use/BiStream.html @@ -2,10 +2,10 @@ - + Uses of Class com.google.mu.util.stream.BiStream (core 7.2-SNAPSHOT API) - + @@ -909,16 +909,6 @@

    Uses of

    BiStream<K,​V>BiStream.sorted​(BiComparator<? super K,​? super V> primary, - BiComparator<? super K,​? super V>... secondaries) -
    Deprecated. - -
    -
    BiStream<K,​V> BiStream.sorted​(java.util.Comparator<? super K> byKey, java.util.Comparator<? super V> byValue) @@ -927,7 +917,7 @@

    Uses of +

    <T> BiStream<K,​V> BiStream.sortedBy​(java.util.function.BiFunction<? super K,​? super V,​T> sortKeyFunction, java.util.Comparator<? super T> comparator)
    BiStream<K,​V> BiStream.sortedByKeys​(java.util.Comparator<? super K> comparator) @@ -944,7 +934,7 @@

    Uses of +

    BiStream<K,​V> BiStream.sortedByValues​(java.util.Comparator<? super V> comparator) @@ -952,14 +942,14 @@

    Uses of +

    BiStream<L,​R> BiCollection.stream()
    Streams over this BiCollection.
    static <L,​R>
    BiStream<L,​R>
    BiStream.zip​(java.util.Collection<L> left, java.util.Collection<R> right)
    static <L,​R>
    BiStream<L,​R>
    BiStream.zip​(java.util.stream.Stream<L> left, java.util.stream.Stream<R> right)static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.combining​(Quarternary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom3<? super T,​? extends R> mapper) -
    Returns a collector that collects the only four elements from the input and transforms them +
    Returns a collector that collects the only three elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.combining​(Quinary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom4<? super T,​? extends R> mapper) -
    Returns a collector that collects the only five elements from the input and transforms them +
    Returns a collector that collects the only four elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.combining​(Senary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom5<? super T,​? extends R> mapper) +
    Returns a collector that collects the only five elements from the input and transforms them + using the mapper function.
    +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.combining​(MapFrom6<? super T,​? extends R> mapper)
    Returns a collector that collects the only six elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.combining​(MapFrom7<? super T,​? extends R> mapper) +
    Returns a collector that collects the only seven elements from the input and transforms them + using the mapper function.
    +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.combining​(Ternary<? super T,​? extends R> mapper)MoreCollectors.combining​(MapFrom8<? super T,​? extends R> mapper) -
    Returns a collector that collects the only three elements from the input and transforms them +
    Returns a collector that collects the only eight elements from the input and transforms them using the mapper function.
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.onlyElements​(Quarternary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom3<? super T,​? extends R> mapper) + +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.onlyElements​(MapFrom4<? super T,​? extends R> mapper) + +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.onlyElements​(MapFrom5<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.onlyElements​(Quinary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom6<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.onlyElements​(Senary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom7<? super T,​? extends R> mapper) - +
    static <T,​R>
    FixedSizeCollector<T,​?,​R>
    MoreCollectors.onlyElements​(Ternary<? super T,​? extends R> mapper)MoreCollectors.onlyElements​(MapFrom8<? super T,​? extends R> mapper) - +
    -
    Returns a Collector that will collect the input elements using the first of - [firstCase, moreCases...] that matches the input elements.
    +
    Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.
    CasesDeprecated. -
    Use findFirstElements() - and/or findOnlyElements() methods - together with Optional.or(java.util.function.Supplier<? extends java.util.Optional<? extends T>>) instead.
    -
    FixedSizeCollector<T,​A,​R>
    A collector that expects a fixed number of input elements.
    Iteration<T>
    Transforms eager, recursive algorithms into lazy streams.
    Joiner
    A joiner (and Collector) that joins strings.
    MoreCollectors
    Static utilities pertaining to Collector in addition to relevant utilities in JDK and Guava.
    MoreStreams
    Static utilities pertaining to Stream in addition to relevant utilities in JDK and Guava.
    diff --git a/mug/apidocs/com/google/mu/util/stream/package-tree.html b/mug/apidocs/com/google/mu/util/stream/package-tree.html index b2cdaa5509..d371ef4825 100644 --- a/mug/apidocs/com/google/mu/util/stream/package-tree.html +++ b/mug/apidocs/com/google/mu/util/stream/package-tree.html @@ -2,10 +2,10 @@ - + com.google.mu.util.stream Class Hierarchy (core 7.2-SNAPSHOT API) - + @@ -95,7 +95,6 @@

    Class Hierarchy

  • com.google.mu.util.stream.BiIteration<L,​R>
  • com.google.mu.util.stream.BiStream<K,​V> (implements java.lang.AutoCloseable)
  • com.google.mu.util.stream.BiStream.Builder<K,​V>
  • -
  • com.google.mu.util.stream.Cases
  • com.google.mu.util.stream.FixedSizeCollector<T,​A,​R> (implements java.util.stream.Collector<T,​A,​R>)
  • com.google.mu.util.stream.Iteration<T>
  • com.google.mu.util.stream.Joiner (implements java.util.stream.Collector<T,​A,​R>)
  • diff --git a/mug/apidocs/com/google/mu/util/stream/package-use.html b/mug/apidocs/com/google/mu/util/stream/package-use.html index 6e68053f39..973601be35 100644 --- a/mug/apidocs/com/google/mu/util/stream/package-use.html +++ b/mug/apidocs/com/google/mu/util/stream/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.google.mu.util.stream (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/constant-values.html b/mug/apidocs/constant-values.html index 844e09cf2b..38f02d3f4c 100644 --- a/mug/apidocs/constant-values.html +++ b/mug/apidocs/constant-values.html @@ -2,10 +2,10 @@ - + Constant Field Values (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/deprecated-list.html b/mug/apidocs/deprecated-list.html index 306b2ba576..b524445f11 100644 --- a/mug/apidocs/deprecated-list.html +++ b/mug/apidocs/deprecated-list.html @@ -2,10 +2,10 @@ - + Deprecated List (core 7.2-SNAPSHOT API) - + @@ -81,71 +81,10 @@

    Deprecated API

    Contents

    -
    com.google.mu.util.Optionals.flatMapBoth​(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends Optional<R>, E>) - -
    com.google.mu.util.Optionals.mapBoth​(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends R, E>) - -
    com.google.mu.util.stream.BiCollectors.maxBy​(BiComparator<? super K, ? super V>) - -
    com.google.mu.util.stream.BiCollectors.minBy​(BiComparator<? super K, ? super V>) - -
    com.google.mu.util.stream.BiStream.from​(Collection<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>)
    Use biStream(User::id, users) to create BiStream<UserId, User>, @@ -196,49 +111,6 @@

    Contents

    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.
    com.google.mu.util.stream.BiStream.max​(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - -
    com.google.mu.util.stream.BiStream.min​(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - -
    com.google.mu.util.stream.BiStream.sorted​(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - -
    com.google.mu.util.stream.Cases.switching​(Collector<? super T, ?, ? extends Optional<? extends R>>...) - -
    com.google.mu.util.Substring.Pattern.not() - -
    com.google.mu.util.Substring.Pattern.peek​(String) - -
    com.google.mu.util.Substring.Pattern.withBoundary​(CharPredicate) - -
    diff --git a/mug/apidocs/help-doc.html b/mug/apidocs/help-doc.html index ed24cd40fd..a3a27df6cf 100644 --- a/mug/apidocs/help-doc.html +++ b/mug/apidocs/help-doc.html @@ -2,10 +2,10 @@ - + API Help (core 7.2-SNAPSHOT API) - + diff --git a/mug/apidocs/index-all.html b/mug/apidocs/index-all.html index 451e4cff3d..efc7909419 100644 --- a/mug/apidocs/index-all.html +++ b/mug/apidocs/index-all.html @@ -2,10 +2,10 @@ - + Index (core 7.2-SNAPSHOT API) - + @@ -77,7 +77,7 @@
    -
    A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
    All Classes All Packages +
    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 All Packages

    A

    @@ -242,24 +242,22 @@

    A

     
    apply(F) - Method in interface com.google.mu.function.CheckedFunction
     
    -
    apply(T, T, T) - Method in interface com.google.mu.function.Ternary
    +
    apply(T, T, T) - Method in interface com.google.mu.function.MapFrom3
     
    -
    apply(T, T, T, T) - Method in interface com.google.mu.function.Quarternary
    +
    apply(T, T, T, T) - Method in interface com.google.mu.function.MapFrom4
     
    -
    apply(T, T, T, T, T) - Method in interface com.google.mu.function.Quinary
    +
    apply(T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom5
     
    -
    apply(T, T, T, T, T, T) - Method in interface com.google.mu.function.Senary
    +
    apply(T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom6
    +
     
    +
    apply(T, T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom7
    +
     
    +
    apply(T, T, T, T, T, T, T, T) - Method in interface com.google.mu.function.MapFrom8
     
    ASCII - Static variable in interface com.google.mu.util.CharPredicate
    Corresponds to the ASCII characters.
    -
    asComparator(Function<? super E, ? extends K>, Function<? super E, ? extends V>) - Method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a Comparator for type E that can be converted into a pair - using the given toKey and toValue functions.
    -
    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 @@ -360,21 +358,6 @@

    B

    Common utilities pertaining to BiCollector.
    -
    BiComparator<K,​V> - Interface in com.google.mu.function
    -
    - -
    BiIteration<L,​R> - Class in com.google.mu.util.stream
    Similar to Iteration, but is used to iteratively yield() pairs into a @@ -482,20 +465,6 @@

    B

    C

    -
    cases(Collector<? super T, ?, ? extends Optional<? extends R>>...) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    Combines multiple Optional-returning collector cases, to collect to the first non-empty - result.
    -
    -
    Cases - Class in com.google.mu.util.stream
    -
    -
    Deprecated. -
    Use findFirstElements() - and/or findOnlyElements() methods - together with Optional.or(java.util.function.Supplier<? extends java.util.Optional<? extends T>>) instead.
    -
    -
    catchException(Class<E>, CompletionStage<? extends T>) - Static method in class com.google.mu.util.Maybe
    Returns a wrapper of stage that if stage failed with exception of @@ -618,36 +587,40 @@

    C

    combiner() - Method in class com.google.mu.util.stream.Joiner
     
    -
    combining(Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Quinary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Senary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Ternary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    combining(MapFrom7<? 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 +
    Returns a collector that collects the only seven 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
    +
    combining(MapFrom8<? 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 +
    Returns a collector that collects the only eight elements from the input and transforms them using the mapper function.
    -
    compare(K, V, K, V) - Method in interface com.google.mu.function.BiComparator
    +
    combining(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    -
    Deprecated.
    -
    Returns negative if (k1, v1) < (k2, v2); positive if (k1, v1) > (k2, v2); - otherwise 0.
    +
    Returns a collector that collects the only two elements from the input and transforms them + using the mapper function.
    compareTo(Retryer.Delay<E>) - Method in class com.google.mu.util.concurrent.Retryer.Delay
     
    @@ -655,75 +628,6 @@

    C

    Compares to that according to natural order.
    -
    comparing(BiFunction<? super K, ? super V, ? extends T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the pairs using function and then - compares the result of function.
    -
    -
    comparing(BiFunction<? super K, ? super V, ? extends T>, Comparator<? super T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the pairs using function and then - compares the result of function using the given ordering comparator.
    -
    -
    comparingDouble(ToDoubleBiFunction<? super K, ? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares by the double return value of function.
    -
    -
    comparingInOrder(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares the input pairs using the primary - comparator, and then secondaries in the given order until tie is broken.
    -
    -
    comparingInt(ToIntBiFunction<? super K, ? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares by the int return value of function.
    -
    -
    comparingKey(Comparator<? super K>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares the pairs by the key element of type K.
    -
    -
    comparingKey(Function<? super K, ? extends T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the key element of type K using - function and then compares the result of function.
    -
    -
    comparingKey(Function<? super K, ? extends T>, Comparator<? super T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the key element of type K using - function and then compares the result of function using the given - ordering comparator.
    -
    -
    comparingLong(ToLongBiFunction<? super K, ? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares by the long return value of function.
    -
    -
    comparingValue(Comparator<? super V>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that compares the pairs by the value element of type V.
    -
    -
    comparingValue(Function<? super V, ? extends T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the value element of type V using - function and then compares the result of function.
    -
    -
    comparingValue(Function<? super V, ? extends T>, Comparator<? super T>) - Static method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that first transforms the value element of type V using - function and then compares the result of function using the given - ordering comparator.
    -
    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 @@ -928,28 +832,40 @@

    F

    Returns the first pair from this stream, or BiOptional.empty() if the stream is empty.
    -
    findFirstElements(Collection<T>, Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.util.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.util.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>, Quinary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Senary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Ternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findFirstElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.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 +
    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.util.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.util.MoreCollections
    @@ -958,36 +874,48 @@

    F

    and returns the non-null result wrapped in an Optional, or else returns Optional.empty().
    -
    findOnlyElements(Collection<T>, Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom3<? super T, ? extends R>) - Static method in class com.google.mu.util.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.util.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>, Quinary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom5<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Senary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom6<? super T, ? extends R>) - Static method in class com.google.mu.util.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>, Ternary<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom7<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    -
    If collection has exactly 3 elements, passes the 3 elements to found function +
    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>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    +
    findOnlyElements(Collection<T>, MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.MoreCollections
    -
    If collection has exactly two elements, passes the two elements to found function +
    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.util.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
    @@ -1044,12 +972,6 @@

    F

    Maps the value contained in optional to a BiOptional using mapper, or else returns empty.
    -
    flatMapBoth(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends Optional<R>, E>) - Static method in class com.google.mu.util.Optionals
    -
    - -
    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.
    @@ -1673,11 +1595,29 @@

    M

    Maps this using function unless it wraps exception.
    -
    mapBoth(Optional<A>, Optional<B>, CheckedBiFunction<? super A, ? super B, ? extends R, E>) - Static method in class com.google.mu.util.Optionals
    +
    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
    @@ -1805,22 +1745,10 @@

    M

    Returns true if a character sequence contains no matching BMP characters.
    -
    max(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Method in class com.google.mu.util.stream.BiStream
    -
    - -
    MAX_VALUE - Static variable in class com.google.mu.util.Ordinal
    The maximum ordinal.
    -
    maxBy(BiComparator<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
    -
    - -
    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 @@ -1905,18 +1833,6 @@

    M

    Collects a stream of Maybe to an immutable Maybe<Set<T>, E>, which will wrap the exception if any input Maybe is exceptional.
    -
    min(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Method in class com.google.mu.util.stream.BiStream
    -
    - -
    -
    minBy(BiComparator<? super K, ? super V>) - Static method in class com.google.mu.util.stream.BiCollectors
    -
    - -
    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 @@ -2007,13 +1923,6 @@

    N

    Returns the negation of this CharPredicate.
    -
    not() - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    notFollowedBy(String) - Method in class com.google.mu.util.Substring.Pattern
    Returns an otherwise equivalent pattern except it requires the matched substring not @@ -2140,37 +2049,33 @@

    O

    Returns a selection of choices.
    -
    onlyElement() - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that collects the only element from the input, - or else throws IllegalArgumentException.
    -
    onlyElement(Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    Same as #asIn(Function).
    -
    onlyElements(Quarternary<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    +
    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(Quinary<? 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(Senary<? 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(Ternary<? 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(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    +
    onlyElements(MapFrom8<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    -
    Deprecated.
    -
    A collector that collects the only two elements from the input and returns the result of - applying the given twoElements function.
    +
    onlyElements(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.MoreCollectors
    @@ -2388,12 +2293,6 @@

    P

    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(String) - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    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.
    @@ -2467,20 +2366,6 @@

    P

    Returns the previous ordinal.
    - - - -

    Q

    -
    -
    Quarternary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 4-arg function of the signature of (T, T, T, T) -> R.
    -
    -
    Quinary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 5-arg function of the signature of (T, T, T, T, T) -> R.
    -
    -
    @@ -2601,11 +2486,6 @@

    R

    Retries based on return values.
    -
    reversed() - Method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that reverses the order specified by this comparator.
    -
    run() - Method in interface com.google.mu.function.CheckedRunnable
     
    run() - Method in class com.google.mu.util.Funnel
    @@ -2639,10 +2519,6 @@

    S

    Parser for Selection.
    -
    Senary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 6-arg function of the signature of (T, T, T, T, T, T) -> R.
    -
    separatedBy(CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
    Returns an otherwise equivalent Pattern, except it only matches if it's next @@ -2713,12 +2589,6 @@

    S

    Filter this stream to exclude pairs whose value matches predicate.
    -
    sorted(BiComparator<? super K, ? super V>, BiComparator<? super K, ? super V>...) - Method in class com.google.mu.util.stream.BiStream
    -
    -
    Deprecated. - -
    -
    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 @@ -2906,14 +2776,8 @@

    S

     
    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.
    -
    -
    switching(Collector<? super T, ?, ? extends Optional<? extends R>>...) - Static method in class com.google.mu.util.stream.Cases
    -
    - +
    Returns a Collector that will collect the input elements using the first of + [firstCase, moreCases...] that matches the input elements.
    @@ -2926,22 +2790,12 @@

    T

    Returns a go/jep-430 style template of T produced by interpolating arguments into the template string, using the given interpolator function.
    -
    Ternary<T,​R> - Interface in com.google.mu.function
    -
    -
    A 3-arg function of the signature of (T, T, T) -> R.
    -
    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(BiComparator<? super K2, ? super V2>) - Method in interface com.google.mu.function.BiComparator
    -
    -
    Deprecated.
    -
    Returns a BiComparator that upon comparing two pairs, if this BiComparator - returns 0 (tie), delegates to the secondary BiComparator for tie-break.
    -
    then(Substring.Pattern) - Method in class com.google.mu.util.Substring.Pattern
    Similar to regex lookahead, returns a pattern that matches the following @@ -3206,38 +3060,6 @@

    W

    post-order and breadth-first) as lazily evaluated streams, allowing infinite-size graphs.
    -
    when(BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyTwo function in an - Optional when the input has only two elements; or else returns Optional.empty().
    -
    -
    when(BiPredicate<? super T, ? super T>, BiFunction<? super T, ? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyTwo function in an - Optional when the input has only two elements and the two elements satify condition in - terms of BiPredicate.test(T, U); or else returns Optional.empty().
    -
    -
    when(Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyOne function in an - Optional when the input has only one element; or else returns Optional.empty().
    -
    -
    when(Predicate<? super T>, Function<? super T, ? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of applying the onlyOne function in an - Optional when the input has only one element and it satisfies condition in terms of - Predicate.test(T); or else returns Optional.empty().
    -
    -
    when(Supplier<? extends R>) - Static method in class com.google.mu.util.stream.Cases
    -
    -
    Deprecated.
    -
    A collector that wraps the result of noElement.get() in an Optional when the - input is empty; or else returns Optional.empty().
    -
    whileNotNull(Supplier<? extends T>) - Static method in class com.google.mu.util.stream.MoreStreams
    Similar to Stream.generate(java.util.function.Supplier<? extends T>), returns an infinite, sequential, ordered, and non-null @@ -3247,18 +3069,6 @@

    W

    Returns an instance of T from the string format filled with params.
    -
    withBoundary(CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    -
    withBoundary(CharPredicate, CharPredicate) - Method in class com.google.mu.util.Substring.Pattern
    -
    - -
    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.
    @@ -3328,7 +3138,7 @@

    Z

    the corresponding third etc.
    -A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
    All Classes All Packages
    +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 All Packages