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>
-
-
Field Summary
-
Fields inherited from class org.eclipse.collections.impl.lazy.parallel.NonParallelIterable
delegate
-
-
Constructor Summary
Constructors Constructor Description NonParallelSortedSetIterable(SortedSetIterable<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)java.util.Comparator<? super T>comparator()<V> ParallelListIterable<V>flatCollect(Function<? super T,? extends java.lang.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 java.lang.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(java.lang.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
clone, equals, finalize, 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, 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 Detail
-
NonParallelSortedSetIterable
public NonParallelSortedSetIterable(SortedSetIterable<T> delegate)
-
-
Method Detail
-
comparator
public java.util.Comparator<? super T> comparator()
- Specified by:
comparatorin interfaceParallelSortedSetIterable<T>
-
asUnique
public ParallelSortedSetIterable<T> asUnique()
- Specified by:
asUniquein interfaceParallelIterable<T>- Specified by:
asUniquein interfaceParallelSetIterable<T>- Specified by:
asUniquein interfaceParallelSortedSetIterable<T>
-
select
public ParallelSortedSetIterable<T> select(Predicate<? super T> predicate)
Description copied from interface:ParallelSortedSetIterableCreates a parallel iterable for selecting elements from the current iterable.- Specified by:
selectin interfaceParallelIterable<T>- Specified by:
selectin interfaceParallelSetIterable<T>- Specified by:
selectin interfaceParallelSortedSetIterable<T>
-
selectWith
public <P> ParallelSortedSetIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWithin interfaceParallelIterable<T>- Specified by:
selectWithin interfaceParallelSetIterable<T>- Specified by:
selectWithin interfaceParallelSortedSetIterable<T>
-
reject
public ParallelSortedSetIterable<T> reject(Predicate<? super T> predicate)
Description copied from interface:ParallelSortedSetIterableCreates a parallel iterable for rejecting elements from the current iterable.- Specified by:
rejectin interfaceParallelIterable<T>- Specified by:
rejectin interfaceParallelSetIterable<T>- Specified by:
rejectin interfaceParallelSortedSetIterable<T>
-
rejectWith
public <P> ParallelSortedSetIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWithin interfaceParallelIterable<T>- Specified by:
rejectWithin interfaceParallelSetIterable<T>- Specified by:
rejectWithin interfaceParallelSortedSetIterable<T>
-
selectInstancesOf
public <S> ParallelSortedSetIterable<S> selectInstancesOf(java.lang.Class<S> clazz)
- Specified by:
selectInstancesOfin interfaceParallelIterable<T>- Specified by:
selectInstancesOfin interfaceParallelSetIterable<T>- Specified by:
selectInstancesOfin interfaceParallelSortedSetIterable<T>
-
collect
public <V> ParallelListIterable<V> collect(Function<? super T,? extends V> function)
Description copied from interface:ParallelSortedSetIterableCreates a parallel iterable for collecting elements from the current iterable.- Specified by:
collectin interfaceParallelIterable<T>- Specified by:
collectin interfaceParallelSortedSetIterable<T>
-
collectWith
public <P,V> ParallelListIterable<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
- Specified by:
collectWithin interfaceParallelIterable<T>- Specified by:
collectWithin interfaceParallelSortedSetIterable<T>
-
collectIf
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Description copied from interface:ParallelSortedSetIterableCreates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIfin interfaceParallelIterable<T>- Specified by:
collectIfin interfaceParallelSortedSetIterable<T>
-
flatCollect
public <V> ParallelListIterable<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
Description copied from interface:ParallelSortedSetIterableCreates a parallel flattening iterable for the current iterable.- Specified by:
flatCollectin interfaceParallelIterable<T>- Specified by:
flatCollectin interfaceParallelSortedSetIterable<T>
-
groupBy
public <V> SortedSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelSetIterable<T>- Specified by:
groupByin interfaceParallelSortedSetIterable<T>
-
groupByEach
public <V> SortedSetMultimap<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>
-
-