Uses of Package
com.google.mu.util.stream
Package
Description
A few useful collections.
Google Protobuf utilities (requires mug-protobuf artifact)
StringFormat, Substring, Optionals and more...
Parallelizer (parallel stream using Executor), Retryer.
Stream-based incremental graph algorithms.
BiStream, BiCollector, MoreStreams, MoreCollectors etc.
-
-
ClassDescriptionLogically, a
BiCollector
collects "pairs of things", just as aCollector
collects "things". -
-
-
-
ClassDescriptionInterface modeling a builder funcction that accepts two parameters.Deprecated.too nicheLogically, a
BiCollector
collects "pairs of things", just as aCollector
collects "things".A class similar toStream
, but operating over a sequence of pairs of objects.Builder forBiStream
.A predicate used to partition aBiStream
into sub-groups of consecutive pairs.A collector that expects a fixed number of input elements.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.