Class NonParallelSortedSetIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.NonParallelIterable<T,SortedSetIterable<T>>
org.eclipse.collections.impl.lazy.parallel.set.sorted.NonParallelSortedSetIterable<T>
- All Implemented Interfaces:
ParallelIterable<T>
,ParallelSetIterable<T>
,ParallelSortedSetIterable<T>
public class NonParallelSortedSetIterable<T> extends NonParallelIterable<T,SortedSetIterable<T>> implements ParallelSortedSetIterable<T>
-
Constructor Summary
Constructors Constructor Description NonParallelSortedSetIterable(SortedSetIterable<T> delegate)
-
Method Summary
Modifier and Type Method Description ParallelSortedSetIterable<T>
asUnique()
<V> ParallelListIterable<V>
collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelListIterable<V>
collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<P, V> ParallelListIterable<V>
collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
Comparator<? super T>
comparator()
<V> ParallelListIterable<V>
flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> SortedSetMultimap<V,T>
groupBy(Function<? super T,? extends V> function)
<V> SortedSetMultimap<V,T>
groupByEach(Function<? super T,? extends Iterable<V>> function)
ParallelSortedSetIterable<T>
reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelSortedSetIterable<T>
rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
ParallelSortedSetIterable<T>
select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelSortedSetIterable<S>
selectInstancesOf(Class<S> clazz)
<P> ParallelSortedSetIterable<T>
selectWith(Predicate2<? super T,? super P> predicate, P parameter)
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.NonParallelIterable
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, groupByUniqueKey, 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, 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, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, groupByUniqueKey, 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
-
Constructor Details
-
Method Details
-
comparator
- Specified by:
comparator
in interfaceParallelSortedSetIterable<T>
-
asUnique
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelSetIterable<T>
- Specified by:
asUnique
in interfaceParallelSortedSetIterable<T>
-
select
Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for selecting elements from the current iterable.- Specified by:
select
in interfaceParallelIterable<T>
- Specified by:
select
in interfaceParallelSetIterable<T>
- Specified by:
select
in interfaceParallelSortedSetIterable<T>
-
selectWith
public <P> ParallelSortedSetIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)- Specified by:
selectWith
in interfaceParallelIterable<T>
- Specified by:
selectWith
in interfaceParallelSetIterable<T>
- Specified by:
selectWith
in interfaceParallelSortedSetIterable<T>
-
reject
Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for rejecting elements from the current iterable.- Specified by:
reject
in interfaceParallelIterable<T>
- Specified by:
reject
in interfaceParallelSetIterable<T>
- Specified by:
reject
in interfaceParallelSortedSetIterable<T>
-
rejectWith
public <P> ParallelSortedSetIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)- Specified by:
rejectWith
in interfaceParallelIterable<T>
- Specified by:
rejectWith
in interfaceParallelSetIterable<T>
- Specified by:
rejectWith
in interfaceParallelSortedSetIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelSetIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelSortedSetIterable<T>
-
collect
Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for collecting elements from the current iterable.- Specified by:
collect
in interfaceParallelIterable<T>
- Specified by:
collect
in interfaceParallelSortedSetIterable<T>
-
collectWith
public <P, V> ParallelListIterable<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)- Specified by:
collectWith
in interfaceParallelIterable<T>
- Specified by:
collectWith
in interfaceParallelSortedSetIterable<T>
-
collectIf
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)Description copied from interface:ParallelSortedSetIterable
Creates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIf
in interfaceParallelIterable<T>
- Specified by:
collectIf
in interfaceParallelSortedSetIterable<T>
-
flatCollect
public <V> ParallelListIterable<V> flatCollect(Function<? super T,? extends Iterable<V>> function)Description copied from interface:ParallelSortedSetIterable
Creates a parallel flattening iterable for the current iterable.- Specified by:
flatCollect
in interfaceParallelIterable<T>
- Specified by:
flatCollect
in interfaceParallelSortedSetIterable<T>
-
groupBy
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelSetIterable<T>
- Specified by:
groupBy
in interfaceParallelSortedSetIterable<T>
-
groupByEach
public <V> SortedSetMultimap<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>
-