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.
|
accumulate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flatMap, flatMerge, map, withBaggage, withEffect
public <OutType> Yielder<OutType> toYielder(OutType initValue, YieldingAccumulator<OutType,T> accumulator)
Sequence
OutType
- 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.Yielder
Copyright © 2011–2018. All rights reserved.