Top Fields Constructors Methods
org.eclipse.collections.impl.parallel

public abstract Class AbstractTransformerBasedCombiner<V, T, BT extends Procedure<T>>

extends AbstractProcedureCombiner<BT extends Procedure<T>>
Class Inheritance
Known Direct Subclasses
org.eclipse.collections.impl.parallel.CollectIfProcedureCombiner, org.eclipse.collections.impl.parallel.CollectProcedureCombiner, org.eclipse.collections.impl.parallel.FastListCollectIfProcedureCombiner, org.eclipse.collections.impl.parallel.FastListCollectProcedureCombiner, org.eclipse.collections.impl.parallel.FlatCollectProcedureCombiner
Imports
java.util.Collection, org.eclipse.collections.api.bag.Bag, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.factory.Bags, .Lists, .Sets, org.eclipse.collections.api.list.ListIterable, org.eclipse.collections.api.map.MapIterable, org.eclipse.collections.api.set.SetIterable, org.eclipse.collections.api.set.sorted.SortedSetIterable, org.eclipse.collections.impl.list.mutable.CompositeFastList, .FastList, org.eclipse.collections.impl.utility.internal.DefaultSpeciesNewStrategy

Field Summary

Modifier and TypeField and Description
protected final Collection<V>
private static final long

Constructor Summary

AccessConstructor and Description
protected
AbstractTransformerBasedCombiner(boolean useCombineOne, Collection<V> targetCollection, Iterable<T> iterable, int initialCapacity)

Method Summary

Modifier and TypeMethod and Description
private Collection<V>
createResultForCollection(Iterable<T> sourceCollection, int initialCapacity)

public Collection<V>
protected Collection<V>
initializeResult(Iterable<T> sourceIterable, Collection<V> targetCollection, int initialCapacity)

Inherited from org.eclipse.collections.impl.parallel.AbstractProcedureCombiner:
setCombineOneuseCombineOne

Field Detail

resultback to summary
protected final Collection<V> result
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.parallel.AbstractProcedureCombiner.serialVersionUID.

Constructor Detail

AbstractTransformerBasedCombinerback to summary
protected AbstractTransformerBasedCombiner(boolean useCombineOne, Collection<V> targetCollection, Iterable<T> iterable, int initialCapacity)

Method Detail

createResultForCollectionback to summary
private Collection<V> createResultForCollection(Iterable<T> sourceCollection, int initialCapacity)
getResultback to summary
public Collection<V> getResult()
initializeResultback to summary
protected Collection<V> initializeResult(Iterable<T> sourceIterable, Collection<V> targetCollection, int initialCapacity)