Class ImmutableTreeSet.SortedSetIterableParallelIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractParallelIterable<T,B>
-
- 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 Classes Modifier and Type Class Description private classImmutableTreeSet.SortedSetIterableParallelIterable.SortedSetIterableParallelBatchIteratorprivate classImmutableTreeSet.SortedSetIterableParallelIterable.SortedSetIterableParallelBatchLazyIterable
-
Field Summary
Fields Modifier and Type Field Description private intbatchSizeprivate java.util.concurrent.ExecutorServiceexecutorService
-
Constructor Summary
Constructors Modifier Constructor Description privateSortedSetIterableParallelIterable(java.util.concurrent.ExecutorService executorService, int batchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(Predicate<? super T> predicate)booleananySatisfy(Predicate<? super T> predicate)java.util.Comparator<? super T>comparator()Tdetect(Predicate<? super T> predicate)voidforEach(Procedure<? super T> procedure)intgetBatchSize()java.util.concurrent.ExecutorServicegetExecutorService()<V> ImmutableSortedSetMultimap<V,T>groupBy(Function<? super T,? extends V> function)<V> ImmutableSortedSetMultimap<V,T>groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)<V> MapIterable<V,T>groupByUniqueKey(Function<? super T,? extends V> function)LazyIterable<RootSortedSetBatch<T>>split()java.lang.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
-
-
-
-
Method Detail
-
comparator
public java.util.Comparator<? super T> comparator()
-
getExecutorService
public java.util.concurrent.ExecutorService getExecutorService()
- Specified by:
getExecutorServicein classAbstractParallelIterable<T,RootSortedSetBatch<T>>
-
split
public LazyIterable<RootSortedSetBatch<T>> split()
- Specified by:
splitin classAbstractParallelIterable<T,RootSortedSetBatch<T>>
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
-
toArray
public <E> E[] toArray(E[] array)
- Specified by:
toArrayin interfaceParallelIterable<T>- Overrides:
toArrayin classAbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
-
groupBy
public <V> ImmutableSortedSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelSetIterable<T>- Specified by:
groupByin interfaceParallelSortedSetIterable<T>- Overrides:
groupByin classAbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
-
groupByEach
public <V> ImmutableSortedSetMultimap<V,T> groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)
- Specified by:
groupByEachin interfaceParallelIterable<T>- Specified by:
groupByEachin interfaceParallelSetIterable<T>- Specified by:
groupByEachin interfaceParallelSortedSetIterable<T>- Overrides:
groupByEachin classAbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
-
groupByUniqueKey
public <V> MapIterable<V,T> groupByUniqueKey(Function<? super T,? extends V> function)
- Specified by:
groupByUniqueKeyin interfaceParallelIterable<T>- Overrides:
groupByUniqueKeyin classAbstractParallelSortedSetIterable<T,RootSortedSetBatch<T>>
-
getBatchSize
public int getBatchSize()
- Specified by:
getBatchSizein classAbstractParallelIterable<T,RootSortedSetBatch<T>>
-
-