Class SynchronizedParallelListIterable<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractSynchronizedParallelIterable<T,ParallelListIterable<T>>
-
- org.eclipse.collections.impl.lazy.parallel.list.SynchronizedParallelListIterable<T>
-
- All Implemented Interfaces:
ParallelListIterable<T>
,ParallelIterable<T>
public final class SynchronizedParallelListIterable<T> extends AbstractSynchronizedParallelIterable<T,ParallelListIterable<T>> implements ParallelListIterable<T>
-
-
Constructor Summary
Constructors Constructor Description SynchronizedParallelListIterable(ParallelListIterable<T> delegate, Object lock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParallelUnsortedSetIterable<T>
asUnique()
<V> ParallelListIterable<V>
collect(Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<P,V>
ParallelListIterable<V>collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V> ParallelListIterable<V>
flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ListMultimap<V,T>
groupBy(Function<? super T,? extends V> function)
<V> ListMultimap<V,T>
groupByEach(Function<? super T,? extends Iterable<V>> function)
ParallelListIterable<T>
reject(Predicate<? super T> predicate)
<P> ParallelListIterable<T>
rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
ParallelListIterable<T>
select(Predicate<? super T> predicate)
<S> ParallelListIterable<S>
selectInstancesOf(Class<S> clazz)
<P> ParallelListIterable<T>
selectWith(Predicate2<? super T,? super P> predicate, P parameter)
-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractSynchronizedParallelIterable
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, 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
-
SynchronizedParallelListIterable
public SynchronizedParallelListIterable(ParallelListIterable<T> delegate, Object lock)
-
-
Method Detail
-
asUnique
public ParallelUnsortedSetIterable<T> asUnique()
- Specified by:
asUnique
in interfaceParallelIterable<T>
- Specified by:
asUnique
in interfaceParallelListIterable<T>
-
select
public ParallelListIterable<T> select(Predicate<? super T> predicate)
- Specified by:
select
in interfaceParallelIterable<T>
- Specified by:
select
in interfaceParallelListIterable<T>
-
selectWith
public <P> ParallelListIterable<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWith
in interfaceParallelIterable<T>
- Specified by:
selectWith
in interfaceParallelListIterable<T>
-
reject
public ParallelListIterable<T> reject(Predicate<? super T> predicate)
- Specified by:
reject
in interfaceParallelIterable<T>
- Specified by:
reject
in interfaceParallelListIterable<T>
-
rejectWith
public <P> ParallelListIterable<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWith
in interfaceParallelIterable<T>
- Specified by:
rejectWith
in interfaceParallelListIterable<T>
-
selectInstancesOf
public <S> ParallelListIterable<S> selectInstancesOf(Class<S> clazz)
- Specified by:
selectInstancesOf
in interfaceParallelIterable<T>
- Specified by:
selectInstancesOf
in interfaceParallelListIterable<T>
-
collect
public <V> ParallelListIterable<V> collect(Function<? super T,? extends V> function)
- Specified by:
collect
in interfaceParallelIterable<T>
- Specified by:
collect
in interfaceParallelListIterable<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 interfaceParallelListIterable<T>
-
collectIf
public <V> ParallelListIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
- Specified by:
collectIf
in interfaceParallelIterable<T>
- Specified by:
collectIf
in interfaceParallelListIterable<T>
-
flatCollect
public <V> ParallelListIterable<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
- Specified by:
flatCollect
in interfaceParallelIterable<T>
- Specified by:
flatCollect
in interfaceParallelListIterable<T>
-
groupBy
public <V> ListMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupBy
in interfaceParallelIterable<T>
- Specified by:
groupBy
in interfaceParallelListIterable<T>
-
groupByEach
public <V> ListMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
- Specified by:
groupByEach
in interfaceParallelIterable<T>
- Specified by:
groupByEach
in interfaceParallelListIterable<T>
-
-