public class MergeSequence<T> extends YieldingSequenceBase<T>
| Constructor and Description |
|---|
MergeSequence(com.google.common.collect.Ordering<? super T> ordering,
Sequence<? extends Sequence<? extends T>> baseSequences) |
| Modifier and Type | Method and Description |
|---|---|
<OutType> Yielder<OutType> |
toYielder(OutType initValue,
YieldingAccumulator<OutType,T> accumulator)
Return an Yielder for accumulated sequence.
|
accumulateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatMap, flatMerge, map, withBaggage, withEffectpublic <OutType> Yielder<OutType> toYielder(OutType initValue, YieldingAccumulator<OutType,T> accumulator)
SequenceOutType - the type of accumulated value.initValue - the initial value to pass along to start the accumulation.accumulator - the accumulator which is responsible for accumulating input values.YielderCopyright © 2011–2018. All rights reserved.