Package com.google.mu.util.stream
package com.google.mu.util.stream
BiStream, BiCollector, MoreStreams, MoreCollectors etc.
Package Specification
The code is developed and tested under Java 8.0.-
ClassDescriptionBiAccumulator<C,
L, R> Interface modeling a builder funcction that accepts two parameters.BiCollector<K,V, R> Logically, aBiCollectorcollects "pairs of things", just as aCollectorcollects "things".Common utilities pertaining toBiCollector.BiIteration<L,R> Deprecated.too nicheBiStream<K,V> A class similar toStream, but operating over a sequence of pairs of objects.BiStream.Builder<K,V> Builder forBiStream.BiStream.Partitioner<A,B> A predicate used to partition aBiStreaminto sub-groups of consecutive pairs.FixedSizeCollector<T,A, R> A collector that expects a fixed number of input elements.Iteration<T>Transforms eager, recursive algorithms into lazy streams.Encapsulates recursive iteration or a lazy block of code with side-effect.A joiner (andCollector) that joins strings.Static utilities pertaining toCollectorin addition to relevant utilities in JDK and Guava.Static utilities pertaining toStreamin addition to relevant utilities in JDK and Guava.