public class MappingAccumulator<OutType,InType,MappedType> extends Object implements Accumulator<OutType,InType>
Constructor and Description |
---|
MappingAccumulator(com.google.common.base.Function<InType,MappedType> fn,
Accumulator<OutType,MappedType> accumulator) |
public MappingAccumulator(com.google.common.base.Function<InType,MappedType> fn, Accumulator<OutType,MappedType> accumulator)
public OutType accumulate(OutType accumulated, InType in)
accumulate
in interface Accumulator<OutType,InType>
Copyright © 2011–2017. All rights reserved.