Class AbstractParallelUnsortedSetIterable<T,B extends UnsortedSetBatch<T>>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
-
- org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable<T,B>
-
- All Implemented Interfaces:
ParallelIterable<T>
,ParallelSetIterable<T>
,ParallelUnsortedSetIterable<T>
- Direct Known Subclasses:
ParallelDistinctIterable
,ParallelDistinctListIterable
,ParallelSelectUnsortedSetIterable
,UnifiedSet.UnifiedSetParallelUnsortedIterable
,UnifiedSetWithHashingStrategy.UnifiedSetParallelUnsortedIterable
public abstract class AbstractParallelUnsortedSetIterable<T,B extends UnsortedSetBatch<T>> extends AbstractParallelIterable<T,B> implements ParallelUnsortedSetIterable<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractParallelUnsortedSetIterable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParallelUnsortedSetIterable<T>
asUnique()
<V> ParallelIterable<V>
collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelIterable<V>
collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<P,V>
ParallelIterable<V>collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V> ParallelIterable<V>
flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> UnsortedSetMultimap<V,T>
groupBy(Function<? super T,? extends V> function)
<V> UnsortedSetMultimap<V,T>
groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)
protected boolean
isOrdered()
ParallelUnsortedSetIterable<T>
reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelUnsortedSetIterable<T>
rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
ParallelUnsortedSetIterable<T>
select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelUnsortedSetIterable<S>
selectInstancesOf(java.lang.Class<S> clazz)
<P> ParallelUnsortedSetIterable<T>
selectWith(Predicate2<? super T,? super P> predicate, P parameter)
-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, collectCombine, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, getBatchSize, getExecutorService, groupByUniqueKey, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, split, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, groupByUniqueKey, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy
-
-
-
-
Method Detail
-
isOrdered
protected boolean isOrdered()
- Specified by:
isOrdered
in classAbstractParallelIterable<T,B extends UnsortedSetBatch<T>>
-
asUnique
public ParallelUnsortedSetIterable<T> asUnique()
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelSetIterable<T>
- Specified by:
asUnique
in interfaceParallelUnsortedSetIterable<T>
-
select
public ParallelUnsortedSetIterable<T> select(Predicate<? super T> predicate)
Description copied from interface:ParallelUnsortedSetIterable
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
select
in interfaceParallelIterable<T>
- Specified by:
select
in interfaceParallelSetIterable<T>
- Specified by:
select
in interfaceParallelUnsortedSetIterable<T>
-
selectWith
public <P> ParallelUnsortedSetIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWith
in interfaceParallelIterable<T>
- Specified by:
selectWith
in interfaceParallelSetIterable<T>
- Specified by:
selectWith
in interfaceParallelUnsortedSetIterable<T>
-
selectInstancesOf
public <S> ParallelUnsortedSetIterable<S> selectInstancesOf(java.lang.Class<S> clazz)
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelSetIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelUnsortedSetIterable<T>
-
reject
public ParallelUnsortedSetIterable<T> reject(Predicate<? super T> predicate)
Description copied from interface:ParallelUnsortedSetIterable
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
reject
in interfaceParallelIterable<T>
- Specified by:
reject
in interfaceParallelSetIterable<T>
- Specified by:
reject
in interfaceParallelUnsortedSetIterable<T>
-
rejectWith
public <P> ParallelUnsortedSetIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWith
in interfaceParallelIterable<T>
- Specified by:
rejectWith
in interfaceParallelSetIterable<T>
- Specified by:
rejectWith
in interfaceParallelUnsortedSetIterable<T>
-
collect
public <V> ParallelIterable<V> collect(Function<? super T,? extends V> function)
Description copied from interface:ParallelIterable
Creates a parallel iterable for collecting elements from the current iterable.- Specified by:
collect
in interfaceParallelIterable<T>
-
collectWith
public <P,V> ParallelIterable<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
- Specified by:
collectWith
in interfaceParallelIterable<T>
-
collectIf
public <V> ParallelIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Description copied from interface:ParallelIterable
Creates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIf
in interfaceParallelIterable<T>
-
flatCollect
public <V> ParallelIterable<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
Description copied from interface:ParallelIterable
Creates a parallel flattening iterable for the current iterable.- Specified by:
flatCollect
in interfaceParallelIterable<T>
-
groupBy
public <V> UnsortedSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelSetIterable<T>
- Specified by:
groupBy
in interfaceParallelUnsortedSetIterable<T>
-
groupByEach
public <V> UnsortedSetMultimap<V,T> groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)
- Specified by:
groupByEach
in interfaceParallelIterable<T>
- Specified by:
groupByEach
in interfaceParallelSetIterable<T>
- Specified by:
groupByEach
in interfaceParallelUnsortedSetIterable<T>
-
-