public class ExplodingSequence<T> extends YieldingSequenceBase<T>
| Constructor and Description |
|---|
ExplodingSequence(Sequence<T> baseSequence,
boolean getThrowsException,
boolean closeThrowsException) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCloseCount() |
<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.Yielderpublic long getCloseCount()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.