Uses of Class
com.google.mu.collect.Chain
Packages that use Chain
Package
Description
BinarySearch and some extra collectors for Guava (requires mug-guava artifact)
A few useful collections
-
Uses of Chain in com.google.guava.labs.collect
Methods in com.google.guava.labs.collect that return types with arguments of type ChainModifier and TypeMethodDescriptionstatic <K extends Comparable<K>, V>
BiCollector<com.google.common.collect.Range<K>, V, BiStream<com.google.common.collect.Range<K>, Chain<V>>> GuavaCollectors.toDisjointRanges()
Returns a BiCollector that merges values mapped to overlapping ranges into aChain
, which is an immutableList
that may have been deeplyconcatenated
. -
Uses of Chain in com.google.mu.collect
Methods in com.google.mu.collect that return ChainModifier and TypeMethodDescriptionstatic <T> Chain
<T> Returns a new Chain concatenating elements from theleft
Chain and theright
Chain, in O(1) time.Returns a new Chain concatenating elements fromthis
Chain followed bylastElement
, in O(1) time.static <T> Chain
<T> Chain.of
(T element) Returns a Chain with a single element.static <T> Chain
<T> Chain.of
(T first, T... remaining) Returns a Chain withfirst
followed byremaining
.Methods in com.google.mu.collect with parameters of type Chain