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

public abstract Class AbstractPredicateBasedCombiner<T, BT extends Procedure<T>>

extends AbstractProcedureCombiner<BT extends Procedure<T>>
Class Inheritance
Known Direct Subclasses
org.eclipse.collections.impl.parallel.FastListRejectProcedureCombiner, org.eclipse.collections.impl.parallel.FastListSelectProcedureCombiner, org.eclipse.collections.impl.parallel.RejectProcedureCombiner, org.eclipse.collections.impl.parallel.SelectProcedureCombiner
Imports
java.util.Collection, org.eclipse.collections.api.bag.Bag, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.factory.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.bag.mutable.HashBag, org.eclipse.collections.impl.list.mutable.CompositeFastList, org.eclipse.collections.impl.set.sorted.mutable.TreeSortedSet, org.eclipse.collections.impl.utility.internal.DefaultSpeciesNewStrategy

Field Summary

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

Constructor Summary

AccessConstructor and Description
protected
AbstractPredicateBasedCombiner(boolean useCombineOne, Iterable<?> sourceCollection, int initialCapacity, Collection<T> targetCollection)

Method Summary

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

public Collection<T>
protected final Collection<T>
initializeResult(Iterable<?> sourceCollection, Collection<T> targetCollection, int initialCapacity)

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

Field Detail

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

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

Constructor Detail

AbstractPredicateBasedCombinerback to summary
protected AbstractPredicateBasedCombiner(boolean useCombineOne, Iterable<?> sourceCollection, int initialCapacity, Collection<T> targetCollection)

Method Detail

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