public abstract class AbstractParallelIterable<T,B extends Batch<T>> extends Object implements com.gs.collections.api.ParallelIterable<T>
| Constructor and Description |
|---|
AbstractParallelIterable() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> com.gs.collections.api.map.MapIterable<K,V> |
aggregateBy(com.gs.collections.api.block.function.Function<? super T,? extends K> groupBy,
com.gs.collections.api.block.function.Function0<? extends V> zeroValueFactory,
com.gs.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
<K,V> com.gs.collections.api.map.MapIterable<K,V> |
aggregateInPlaceBy(com.gs.collections.api.block.function.Function<? super T,? extends K> groupBy,
com.gs.collections.api.block.function.Function0<? extends V> zeroValueFactory,
com.gs.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator) |
<P> boolean |
allSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> boolean |
anySatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
int |
count(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> int |
countWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
T |
detectIfNone(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function0<? extends T> function) |
<P> T |
detectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> T |
detectWithIfNone(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
com.gs.collections.api.block.function.Function0<? extends T> function) |
<P> void |
forEachWith(com.gs.collections.api.block.procedure.Procedure2<? super T,? super P> procedure,
P parameter) |
abstract int |
getBatchSize() |
abstract ExecutorService |
getExecutorService() |
<V> com.gs.collections.api.map.MapIterable<V,T> |
groupByUniqueKey(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
T |
max() |
T |
max(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
maxBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
T |
min() |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
abstract com.gs.collections.api.LazyIterable<B> |
split() |
double |
sumOfDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
double |
sumOfFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function) |
long |
sumOfInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function) |
long |
sumOfLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function) |
Object[] |
toArray() |
<E> E[] |
toArray(E[] array) |
com.gs.collections.api.bag.MutableBag<T> |
toBag() |
com.gs.collections.api.list.MutableList<T> |
toList() |
<NK,NV> com.gs.collections.api.map.MutableMap<NK,NV> |
toMap(com.gs.collections.api.block.function.Function<? super T,? extends NK> keyFunction,
com.gs.collections.api.block.function.Function<? super T,? extends NV> valueFunction) |
com.gs.collections.api.set.MutableSet<T> |
toSet() |
com.gs.collections.api.bag.sorted.MutableSortedBag<T> |
toSortedBag() |
com.gs.collections.api.bag.sorted.MutableSortedBag<T> |
toSortedBag(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
toSortedBagBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
com.gs.collections.api.list.MutableList<T> |
toSortedList() |
com.gs.collections.api.list.MutableList<T> |
toSortedList(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
toSortedListBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<NK,NV> com.gs.collections.api.map.sorted.MutableSortedMap<NK,NV> |
toSortedMap(Comparator<? super NK> comparator,
com.gs.collections.api.block.function.Function<? super T,? extends NK> keyFunction,
com.gs.collections.api.block.function.Function<? super T,? extends NV> valueFunction) |
<NK,NV> com.gs.collections.api.map.sorted.MutableSortedMap<NK,NV> |
toSortedMap(com.gs.collections.api.block.function.Function<? super T,? extends NK> keyFunction,
com.gs.collections.api.block.function.Function<? super T,? extends NV> valueFunction) |
com.gs.collections.api.set.sorted.MutableSortedSet<T> |
toSortedSet() |
com.gs.collections.api.set.sorted.MutableSortedSet<T> |
toSortedSet(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
toSortedSetBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
String |
toString() |
public abstract ExecutorService getExecutorService()
public abstract int getBatchSize()
public abstract com.gs.collections.api.LazyIterable<B> split()
public String makeString()
makeString in interface com.gs.collections.api.ParallelIterable<T>public String makeString(String separator)
makeString in interface com.gs.collections.api.ParallelIterable<T>public String makeString(String start, String separator, String end)
makeString in interface com.gs.collections.api.ParallelIterable<T>public void appendString(Appendable appendable)
appendString in interface com.gs.collections.api.ParallelIterable<T>public void appendString(Appendable appendable, String separator)
appendString in interface com.gs.collections.api.ParallelIterable<T>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface com.gs.collections.api.ParallelIterable<T>public <P> void forEachWith(com.gs.collections.api.block.procedure.Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface com.gs.collections.api.ParallelIterable<T>public <P> boolean anySatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface com.gs.collections.api.ParallelIterable<T>public <P> boolean allSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface com.gs.collections.api.ParallelIterable<T>public boolean noneSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
noneSatisfy in interface com.gs.collections.api.ParallelIterable<T>public <P> boolean noneSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface com.gs.collections.api.ParallelIterable<T>public <P> T detectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface com.gs.collections.api.ParallelIterable<T>public T detectIfNone(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, com.gs.collections.api.block.function.Function0<? extends T> function)
detectIfNone in interface com.gs.collections.api.ParallelIterable<T>public <P> T detectWithIfNone(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, com.gs.collections.api.block.function.Function0<? extends T> function)
detectWithIfNone in interface com.gs.collections.api.ParallelIterable<T>public Object[] toArray()
toArray in interface com.gs.collections.api.ParallelIterable<T>public <E> E[] toArray(E[] array)
toArray in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.list.MutableList<T> toList()
toList in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.list.MutableList<T> toSortedList()
toSortedList in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.list.MutableList<T> toSortedList(Comparator<? super T> comparator)
toSortedList in interface com.gs.collections.api.ParallelIterable<T>public <V extends Comparable<? super V>> com.gs.collections.api.list.MutableList<T> toSortedListBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
toSortedListBy in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.set.MutableSet<T> toSet()
toSet in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.set.sorted.MutableSortedSet<T> toSortedSet()
toSortedSet in interface com.gs.collections.api.ParallelIterable<T>public <V extends Comparable<? super V>> com.gs.collections.api.set.sorted.MutableSortedSet<T> toSortedSetBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
toSortedSetBy in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.bag.MutableBag<T> toBag()
toBag in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.bag.sorted.MutableSortedBag<T> toSortedBag()
toSortedBag in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.bag.sorted.MutableSortedBag<T> toSortedBag(Comparator<? super T> comparator)
toSortedBag in interface com.gs.collections.api.ParallelIterable<T>public <V extends Comparable<? super V>> com.gs.collections.api.bag.sorted.MutableSortedBag<T> toSortedBagBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
toSortedBagBy in interface com.gs.collections.api.ParallelIterable<T>public com.gs.collections.api.set.sorted.MutableSortedSet<T> toSortedSet(Comparator<? super T> comparator)
toSortedSet in interface com.gs.collections.api.ParallelIterable<T>public <NK,NV> com.gs.collections.api.map.MutableMap<NK,NV> toMap(com.gs.collections.api.block.function.Function<? super T,? extends NK> keyFunction, com.gs.collections.api.block.function.Function<? super T,? extends NV> valueFunction)
toMap in interface com.gs.collections.api.ParallelIterable<T>public <NK,NV> com.gs.collections.api.map.sorted.MutableSortedMap<NK,NV> toSortedMap(com.gs.collections.api.block.function.Function<? super T,? extends NK> keyFunction, com.gs.collections.api.block.function.Function<? super T,? extends NV> valueFunction)
toSortedMap in interface com.gs.collections.api.ParallelIterable<T>public <NK,NV> com.gs.collections.api.map.sorted.MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, com.gs.collections.api.block.function.Function<? super T,? extends NK> keyFunction, com.gs.collections.api.block.function.Function<? super T,? extends NV> valueFunction)
toSortedMap in interface com.gs.collections.api.ParallelIterable<T>public <K,V> com.gs.collections.api.map.MapIterable<K,V> aggregateBy(com.gs.collections.api.block.function.Function<? super T,? extends K> groupBy, com.gs.collections.api.block.function.Function0<? extends V> zeroValueFactory, com.gs.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator)
aggregateBy in interface com.gs.collections.api.ParallelIterable<T>public <K,V> com.gs.collections.api.map.MapIterable<K,V> aggregateInPlaceBy(com.gs.collections.api.block.function.Function<? super T,? extends K> groupBy, com.gs.collections.api.block.function.Function0<? extends V> zeroValueFactory, com.gs.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator)
aggregateInPlaceBy in interface com.gs.collections.api.ParallelIterable<T>public int count(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
count in interface com.gs.collections.api.ParallelIterable<T>public <P> int countWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
countWith in interface com.gs.collections.api.ParallelIterable<T>public T min(Comparator<? super T> comparator)
min in interface com.gs.collections.api.ParallelIterable<T>public T max(Comparator<? super T> comparator)
max in interface com.gs.collections.api.ParallelIterable<T>public <V extends Comparable<? super V>> T minBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
minBy in interface com.gs.collections.api.ParallelIterable<T>public <V extends Comparable<? super V>> T maxBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
maxBy in interface com.gs.collections.api.ParallelIterable<T>public long sumOfInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function)
sumOfInt in interface com.gs.collections.api.ParallelIterable<T>public double sumOfFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function)
sumOfFloat in interface com.gs.collections.api.ParallelIterable<T>public long sumOfLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function)
sumOfLong in interface com.gs.collections.api.ParallelIterable<T>public double sumOfDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function)
sumOfDouble in interface com.gs.collections.api.ParallelIterable<T>Copyright © 2004–2016. All rights reserved.