public class MappingYieldingAccumulator<OutType,InType,MappedType> extends YieldingAccumulator<OutType,InType>
| Constructor and Description |
|---|
MappingYieldingAccumulator(com.google.common.base.Function<InType,MappedType> fn,
YieldingAccumulator<OutType,MappedType> baseAccumulator) |
public MappingYieldingAccumulator(com.google.common.base.Function<InType,MappedType> fn, YieldingAccumulator<OutType,MappedType> baseAccumulator)
public void yield()
yield in class YieldingAccumulator<OutType,InType>public boolean yielded()
yielded in class YieldingAccumulator<OutType,InType>public void reset()
reset in class YieldingAccumulator<OutType,InType>public OutType accumulate(OutType accumulated, InType in)
accumulate in class YieldingAccumulator<OutType,InType>Copyright © 2016. All rights reserved.