Class ParallelDistinctIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable<T,UnsortedSetBatch<T>>
org.eclipse.collections.impl.lazy.parallel.ParallelDistinctIterable<T>
- All Implemented Interfaces:
ParallelIterable<T>
,ParallelSetIterable<T>
,ParallelUnsortedSetIterable<T>
public class ParallelDistinctIterable<T>
extends AbstractParallelUnsortedSetIterable<T,UnsortedSetBatch<T>>
-
Constructor Summary
ConstructorDescriptionParallelDistinctIterable
(AbstractParallelIterable<T, ? extends Batch<T>> delegate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
allSatisfy
(Predicate<? super T> predicate) boolean
anySatisfy
(Predicate<? super T> predicate) asUnique()
void
int
<V> UnsortedSetMultimap<V,
T> <V> UnsortedSetMultimap<V,
T> groupByEach
(Function<? super T, ? extends Iterable<V>> function) <V> MapIterable<V,
T> groupByUniqueKey
(Function<? super T, ? extends V> function) split()
Object[]
toArray()
<E> E[]
toArray
(E[] array) Methods inherited from class org.eclipse.collections.impl.lazy.parallel.set.AbstractParallelUnsortedSetIterable
collect, collectIf, collectWith, flatCollect, reject, rejectWith, select, selectInstancesOf, selectWith
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, forEachWith, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, appendString, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, forEachWith, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy
-
Constructor Details
-
ParallelDistinctIterable
-
-
Method Details
-
getExecutorService
- Specified by:
getExecutorService
in classAbstractParallelIterable<T,
UnsortedSetBatch<T>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSize
in classAbstractParallelIterable<T,
UnsortedSetBatch<T>>
-
split
- Specified by:
split
in classAbstractParallelIterable<T,
UnsortedSetBatch<T>>
-
asUnique
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelSetIterable<T>
- Specified by:
asUnique
in interfaceParallelUnsortedSetIterable<T>
- Overrides:
asUnique
in classAbstractParallelUnsortedSetIterable<T,
UnsortedSetBatch<T>>
-
forEach
-
anySatisfy
-
allSatisfy
-
detect
-
toArray
-
toArray
public <E> E[] toArray(E[] array) - Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelIterable<T,
UnsortedSetBatch<T>>
-
groupBy
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelSetIterable<T>
- Specified by:
groupBy
in interfaceParallelUnsortedSetIterable<T>
- Overrides:
groupBy
in classAbstractParallelUnsortedSetIterable<T,
UnsortedSetBatch<T>>
-
groupByEach
- Specified by:
groupByEach
in interfaceParallelIterable<T>
- Specified by:
groupByEach
in interfaceParallelSetIterable<T>
- Specified by:
groupByEach
in interfaceParallelUnsortedSetIterable<T>
- Overrides:
groupByEach
in classAbstractParallelUnsortedSetIterable<T,
UnsortedSetBatch<T>>
-
groupByUniqueKey
- Specified by:
groupByUniqueKey
in interfaceParallelIterable<T>
- Overrides:
groupByUniqueKey
in classAbstractParallelIterable<T,
UnsortedSetBatch<T>>
-