Class MultiReaderParallelUnsortedSetIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractMultiReaderParallelIterable<T,ParallelUnsortedSetIterable<T>>
org.eclipse.collections.impl.lazy.parallel.set.MultiReaderParallelUnsortedSetIterable<T>
- All Implemented Interfaces:
ParallelIterable<T>,ParallelSetIterable<T>,ParallelUnsortedSetIterable<T>
public final class MultiReaderParallelUnsortedSetIterable<T> extends AbstractMultiReaderParallelIterable<T,ParallelUnsortedSetIterable<T>> implements ParallelUnsortedSetIterable<T>
-
Constructor Summary
Constructors Constructor Description MultiReaderParallelUnsortedSetIterable(ParallelUnsortedSetIterable<T> delegate, ReadWriteLock lock) -
Method Summary
Modifier and Type Method Description ParallelUnsortedSetIterable<T>asUnique()<V> ParallelIterable<V>collect(Function<? super T,? extends V> function)Creates a parallel iterable for collecting elements from the current iterable.<V> ParallelIterable<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> ParallelIterable<V>collectWith(Function2<? super T,? super P,? extends V> function, P parameter)<V> ParallelIterable<V>flatCollect(Function<? super T,? extends Iterable<V>> function)Creates a parallel flattening iterable for the current iterable.<V> UnsortedSetMultimap<V,T>groupBy(Function<? super T,? extends V> function)<V> UnsortedSetMultimap<V,T>groupByEach(Function<? super T,? extends Iterable<V>> function)ParallelUnsortedSetIterable<T>reject(Predicate<? super T> predicate)Creates a parallel iterable for rejecting elements from the current iterable.<P> ParallelUnsortedSetIterable<T>rejectWith(Predicate2<? super T,? super P> predicate, P parameter)ParallelUnsortedSetIterable<T>select(Predicate<? super T> predicate)Creates a parallel iterable for selecting elements from the current iterable.<S> ParallelUnsortedSetIterable<S>selectInstancesOf(Class<S> clazz)<P> ParallelUnsortedSetIterable<T>selectWith(Predicate2<? super T,? super P> predicate, P parameter)Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractMultiReaderParallelIterable
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, 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, 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
-
MultiReaderParallelUnsortedSetIterable
public MultiReaderParallelUnsortedSetIterable(ParallelUnsortedSetIterable<T> delegate, ReadWriteLock lock)
-
-
Method Details
-
asUnique
- Specified by:
asUniquein interfaceParallelIterable<T>- Specified by:
asUniquein interfaceParallelSetIterable<T>- Specified by:
asUniquein interfaceParallelUnsortedSetIterable<T>
-
select
Description copied from interface:ParallelUnsortedSetIterableCreates a parallel iterable for selecting elements from the current iterable.- Specified by:
selectin interfaceParallelIterable<T>- Specified by:
selectin interfaceParallelSetIterable<T>- Specified by:
selectin interfaceParallelUnsortedSetIterable<T>
-
selectWith
public <P> ParallelUnsortedSetIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)- Specified by:
selectWithin interfaceParallelIterable<T>- Specified by:
selectWithin interfaceParallelSetIterable<T>- Specified by:
selectWithin interfaceParallelUnsortedSetIterable<T>
-
reject
Description copied from interface:ParallelUnsortedSetIterableCreates a parallel iterable for rejecting elements from the current iterable.- Specified by:
rejectin interfaceParallelIterable<T>- Specified by:
rejectin interfaceParallelSetIterable<T>- Specified by:
rejectin interfaceParallelUnsortedSetIterable<T>
-
rejectWith
public <P> ParallelUnsortedSetIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)- Specified by:
rejectWithin interfaceParallelIterable<T>- Specified by:
rejectWithin interfaceParallelSetIterable<T>- Specified by:
rejectWithin interfaceParallelUnsortedSetIterable<T>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceParallelIterable<T>- Specified by:
selectInstancesOfin interfaceParallelSetIterable<T>- Specified by:
selectInstancesOfin interfaceParallelUnsortedSetIterable<T>
-
collect
Description copied from interface:ParallelIterableCreates a parallel iterable for collecting elements from the current iterable.- Specified by:
collectin interfaceParallelIterable<T>
-
collectWith
public <P, V> ParallelIterable<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)- Specified by:
collectWithin interfaceParallelIterable<T>
-
collectIf
public <V> ParallelIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)Description copied from interface:ParallelIterableCreates a parallel iterable for selecting and collecting elements from the current iterable.- Specified by:
collectIfin interfaceParallelIterable<T>
-
flatCollect
Description copied from interface:ParallelIterableCreates a parallel flattening iterable for the current iterable.- Specified by:
flatCollectin interfaceParallelIterable<T>
-
groupBy
- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelSetIterable<T>- Specified by:
groupByin interfaceParallelUnsortedSetIterable<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>
-