Class NonParallelUnsortedBag<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.NonParallelIterable<T,UnsortedBag<T>>
-
- org.eclipse.collections.impl.lazy.parallel.bag.NonParallelUnsortedBag<T>
-
- All Implemented Interfaces:
ParallelBag<T>,ParallelUnsortedBag<T>,ParallelIterable<T>
public class NonParallelUnsortedBag<T> extends NonParallelIterable<T,UnsortedBag<T>> implements ParallelUnsortedBag<T>
-
-
Constructor Summary
Constructors Constructor Description NonParallelUnsortedBag(UnsortedBag<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParallelUnsortedSetIterable<T>asUnique()<V> ParallelUnsortedBag<V>collect(Function<? super T,? extends V> function)<V> ParallelUnsortedBag<V>collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)<P,V>
ParallelUnsortedBag<V>collectWith(Function2<? super T,? super P,? extends V> function, P parameter)<V> ParallelUnsortedBag<V>flatCollect(Function<? super T,? extends Iterable<V>> function)voidforEachWithOccurrences(ObjectIntProcedure<? super T> procedure)<V> UnsortedBagMultimap<V,T>groupBy(Function<? super T,? extends V> function)<V> UnsortedBagMultimap<V,T>groupByEach(Function<? super T,? extends Iterable<V>> function)ParallelUnsortedBag<T>reject(Predicate<? super T> predicate)<P> ParallelUnsortedBag<T>rejectWith(Predicate2<? super T,? super P> predicate, P parameter)ParallelUnsortedBag<T>select(Predicate<? super T> predicate)<S> ParallelUnsortedBag<S>selectInstancesOf(Class<S> clazz)<P> ParallelUnsortedBag<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, 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
-
NonParallelUnsortedBag
public NonParallelUnsortedBag(UnsortedBag<T> delegate)
-
-
Method Detail
-
forEachWithOccurrences
public void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
- Specified by:
forEachWithOccurrencesin interfaceParallelBag<T>
-
asUnique
public ParallelUnsortedSetIterable<T> asUnique()
- Specified by:
asUniquein interfaceParallelIterable<T>- Specified by:
asUniquein interfaceParallelUnsortedBag<T>
-
select
public ParallelUnsortedBag<T> select(Predicate<? super T> predicate)
- Specified by:
selectin interfaceParallelBag<T>- Specified by:
selectin interfaceParallelIterable<T>- Specified by:
selectin interfaceParallelUnsortedBag<T>
-
selectWith
public <P> ParallelUnsortedBag<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWithin interfaceParallelBag<T>- Specified by:
selectWithin interfaceParallelIterable<T>- Specified by:
selectWithin interfaceParallelUnsortedBag<T>
-
reject
public ParallelUnsortedBag<T> reject(Predicate<? super T> predicate)
- Specified by:
rejectin interfaceParallelBag<T>- Specified by:
rejectin interfaceParallelIterable<T>- Specified by:
rejectin interfaceParallelUnsortedBag<T>
-
rejectWith
public <P> ParallelUnsortedBag<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWithin interfaceParallelBag<T>- Specified by:
rejectWithin interfaceParallelIterable<T>- Specified by:
rejectWithin interfaceParallelUnsortedBag<T>
-
selectInstancesOf
public <S> ParallelUnsortedBag<S> selectInstancesOf(Class<S> clazz)
- Specified by:
selectInstancesOfin interfaceParallelBag<T>- Specified by:
selectInstancesOfin interfaceParallelIterable<T>- Specified by:
selectInstancesOfin interfaceParallelUnsortedBag<T>
-
collect
public <V> ParallelUnsortedBag<V> collect(Function<? super T,? extends V> function)
- Specified by:
collectin interfaceParallelIterable<T>- Specified by:
collectin interfaceParallelUnsortedBag<T>
-
collectWith
public <P,V> ParallelUnsortedBag<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
- Specified by:
collectWithin interfaceParallelIterable<T>- Specified by:
collectWithin interfaceParallelUnsortedBag<T>
-
collectIf
public <V> ParallelUnsortedBag<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
- Specified by:
collectIfin interfaceParallelIterable<T>- Specified by:
collectIfin interfaceParallelUnsortedBag<T>
-
flatCollect
public <V> ParallelUnsortedBag<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceParallelIterable<T>- Specified by:
flatCollectin interfaceParallelUnsortedBag<T>
-
groupBy
public <V> UnsortedBagMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupByin interfaceParallelBag<T>- Specified by:
groupByin interfaceParallelIterable<T>- Specified by:
groupByin interfaceParallelUnsortedBag<T>
-
groupByEach
public <V> UnsortedBagMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
- Specified by:
groupByEachin interfaceParallelBag<T>- Specified by:
groupByEachin interfaceParallelIterable<T>- Specified by:
groupByEachin interfaceParallelUnsortedBag<T>
-
-