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
Constructors Constructor Description ParallelDistinctIterable(AbstractParallelIterable<T,? extends Batch<T>> delegate) -
Method Summary
Modifier and Type Method Description booleanallSatisfy(Predicate<? super T> predicate)booleananySatisfy(Predicate<? super T> predicate)ParallelUnsortedSetIterable<T>asUnique()Tdetect(Predicate<? super T> predicate)voidforEach(Procedure<? super T> procedure)intgetBatchSize()ExecutorServicegetExecutorService()<V> UnsortedSetMultimap<V,T>groupBy(Function<? super T,? extends V> function)<V> UnsortedSetMultimap<V,T>groupByEach(Function<? super T,? extends Iterable<V>> function)<V> MapIterable<V,T>groupByUniqueKey(Function<? super T,? extends V> function)LazyIterable<UnsortedSetBatch<T>>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, selectWithMethods 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, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.ParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, appendString, appendString, count, countWith, detectIfNone, detectWith, detectWithIfNone, forEachWith, 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
-
Method Details
-
getExecutorService
- Specified by:
getExecutorServicein classAbstractParallelIterable<T,UnsortedSetBatch<T>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein classAbstractParallelIterable<T,UnsortedSetBatch<T>>
-
split
- Specified by:
splitin classAbstractParallelIterable<T,UnsortedSetBatch<T>>
-
asUnique
- Specified by:
asUniquein interfaceParallelIterable<T>- Specified by:
asUniquein interfaceParallelSetIterable<T>- Specified by:
asUniquein interfaceParallelUnsortedSetIterable<T>- Overrides:
asUniquein classAbstractParallelUnsortedSetIterable<T,UnsortedSetBatch<T>>
-
forEach
-
anySatisfy
-
allSatisfy
-
detect
-
toArray
-
toArray
public <E> E[] toArray(E[] array)- Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelIterable<T,UnsortedSetBatch<T>>
-
groupBy
- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelSetIterable<T>- Specified by:
groupByin interfaceParallelUnsortedSetIterable<T>- Overrides:
groupByin classAbstractParallelUnsortedSetIterable<T,UnsortedSetBatch<T>>
-
groupByEach
public <V> UnsortedSetMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)- Specified by:
groupByEachin interfaceParallelIterable<T>- Specified by:
groupByEachin interfaceParallelSetIterable<T>- Specified by:
groupByEachin interfaceParallelUnsortedSetIterable<T>- Overrides:
groupByEachin classAbstractParallelUnsortedSetIterable<T,UnsortedSetBatch<T>>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceParallelIterable<T>- Overrides:
groupByUniqueKeyin classAbstractParallelIterable<T,UnsortedSetBatch<T>>
-