Package org.eclipse.collections.api.set
Interface ParallelUnsortedSetIterable<T>
-
- All Superinterfaces:
ParallelIterable<T>
,ParallelSetIterable<T>
- All Known Implementing Classes:
AbstractParallelUnsortedSetIterable
,MultiReaderParallelUnsortedSetIterable
,NonParallelUnsortedSetIterable
,ParallelDistinctIterable
,ParallelDistinctListIterable
,ParallelSelectUnsortedSetIterable
,SynchronizedParallelUnsortedSetIterable
,UnifiedSet.UnifiedSetParallelUnsortedIterable
,UnifiedSetWithHashingStrategy.UnifiedSetParallelUnsortedIterable
public interface ParallelUnsortedSetIterable<T> extends ParallelSetIterable<T>
A ParallelIterable is RichIterable which will defer evaluation for certain methods like select, reject, collect, etc. Any methods that do not return a ParallelIterable when called will cause evaluation to be forced. Evaluation occurs in parallel. All code blocks passed in must be stateless or thread-safe.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParallelUnsortedSetIterable<T>
asUnique()
<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)
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 interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, collect, collectIf, collectWith, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, flatCollect, 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
-
asUnique
ParallelUnsortedSetIterable<T> asUnique()
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelSetIterable<T>
-
select
ParallelUnsortedSetIterable<T> select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
select
in interfaceParallelIterable<T>
- Specified by:
select
in interfaceParallelSetIterable<T>
-
selectWith
<P> ParallelUnsortedSetIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWith
in interfaceParallelIterable<T>
- Specified by:
selectWith
in interfaceParallelSetIterable<T>
-
reject
ParallelUnsortedSetIterable<T> reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
reject
in interfaceParallelIterable<T>
- Specified by:
reject
in interfaceParallelSetIterable<T>
-
rejectWith
<P> ParallelUnsortedSetIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWith
in interfaceParallelIterable<T>
- Specified by:
rejectWith
in interfaceParallelSetIterable<T>
-
selectInstancesOf
<S> ParallelUnsortedSetIterable<S> selectInstancesOf(java.lang.Class<S> clazz)
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelSetIterable<T>
-
groupBy
<V> UnsortedSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelSetIterable<T>
-
groupByEach
<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>
-
-