public class SkippingSequence<T> extends YieldingSequenceBase<T>
| Constructor and Description |
|---|
SkippingSequence(Sequence<T> baseSequence,
long skip) |
| Modifier and Type | Method and Description |
|---|---|
<OutType> Yielder<OutType> |
toYielder(OutType initValue,
YieldingAccumulator<OutType,T> accumulator)
Return a Yielder for accumulated sequence.
|
accumulatepublic <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–2023 The Apache Software Foundation. All rights reserved.