Class ImmutableTreeSet.SortedSetIterableParallelIterable
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,RootSortedSetBatch<T>>
org.eclipse.collections.impl.lazy.parallel.set.sorted.AbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
org.eclipse.collections.impl.set.sorted.immutable.ImmutableTreeSet.SortedSetIterableParallelIterable
- All Implemented Interfaces:
ParallelIterable<T>
,ParallelSetIterable<T>
,ParallelSortedSetIterable<T>
- Enclosing class:
ImmutableTreeSet<T>
private final class ImmutableTreeSet.SortedSetIterableParallelIterable
extends AbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SortedSetIterableParallelIterable
(ExecutorService executorService, int batchSize) -
Method Summary
Modifier and TypeMethodDescriptionboolean
allSatisfy
(Predicate<? super T> predicate) boolean
anySatisfy
(Predicate<? super T> predicate) Comparator
<? super T> void
int
<V> ImmutableSortedSetMultimap
<V, T> <V> ImmutableSortedSetMultimap
<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.sorted.AbstractParallelSortedSetIterable
asUnique, collect, collectIf, collectWith, flatCollect, isOrdered, reject, rejectWith, select, selectInstancesOf, selectWith
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, 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
clone, equals, finalize, 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
-
Field Details
-
executorService
-
batchSize
private final int batchSize
-
-
Constructor Details
-
SortedSetIterableParallelIterable
-
-
Method Details
-
comparator
-
getExecutorService
- Specified by:
getExecutorService
in classAbstractParallelIterable<T,
RootSortedSetBatch<T>>
-
split
- Specified by:
split
in classAbstractParallelIterable<T,
RootSortedSetBatch<T>>
-
forEach
-
anySatisfy
-
allSatisfy
-
detect
-
toArray
- Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelSortedSetIterable<T,
RootSortedSetBatch<T>>
-
toArray
public <E> E[] toArray(E[] array) - Specified by:
toArray
in interfaceParallelIterable<T>
- Overrides:
toArray
in classAbstractParallelSortedSetIterable<T,
RootSortedSetBatch<T>>
-
groupBy
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelSetIterable<T>
- Specified by:
groupBy
in interfaceParallelSortedSetIterable<T>
- Overrides:
groupBy
in classAbstractParallelSortedSetIterable<T,
RootSortedSetBatch<T>>
-
groupByEach
public <V> ImmutableSortedSetMultimap<V,T> groupByEach(Function<? super T, ? extends Iterable<V>> function) - Specified by:
groupByEach
in interfaceParallelIterable<T>
- Specified by:
groupByEach
in interfaceParallelSetIterable<T>
- Specified by:
groupByEach
in interfaceParallelSortedSetIterable<T>
- Overrides:
groupByEach
in classAbstractParallelSortedSetIterable<T,
RootSortedSetBatch<T>>
-
groupByUniqueKey
- Specified by:
groupByUniqueKey
in interfaceParallelIterable<T>
- Overrides:
groupByUniqueKey
in classAbstractParallelSortedSetIterable<T,
RootSortedSetBatch<T>>
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSize
in classAbstractParallelIterable<T,
RootSortedSetBatch<T>>
-