public class SynchronizedRichIterable<T> extends Object implements org.eclipse.collections.api.RichIterable<T>, Serializable
| Modifier and Type | Method and Description |
|---|---|
<K,V> org.eclipse.collections.api.map.MapIterable<K,V> |
aggregateBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory,
org.eclipse.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
<K,V> org.eclipse.collections.api.map.MapIterable<K,V> |
aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory,
org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(org.eclipse.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) |
org.eclipse.collections.api.LazyIterable<T> |
asLazy() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> |
chunk(int size) |
<V> org.eclipse.collections.api.RichIterable<V> |
collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
org.eclipse.collections.api.BooleanIterable |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableBooleanCollection> |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction,
R target) |
org.eclipse.collections.api.ByteIterable |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableByteCollection> |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction,
R target) |
org.eclipse.collections.api.CharIterable |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableCharCollection> |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction,
R target) |
org.eclipse.collections.api.DoubleIterable |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableDoubleCollection> |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction,
R target) |
org.eclipse.collections.api.FloatIterable |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableFloatCollection> |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction,
R target) |
<V> org.eclipse.collections.api.RichIterable<V> |
collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
org.eclipse.collections.api.IntIterable |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableIntCollection> |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction,
R target) |
org.eclipse.collections.api.LongIterable |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction,
R target) |
org.eclipse.collections.api.ShortIterable |
collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction) |
<R extends org.eclipse.collections.api.collection.primitive.MutableShortCollection> |
collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction,
R target) |
<P,V> org.eclipse.collections.api.RichIterable<V> |
collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter) |
<P,V,R extends Collection<V>> |
collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter,
R targetCollection) |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> source) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
int |
count(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> int |
countWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
T |
detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
T |
detectIfNone(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function0<? extends T> function) |
<P> T |
detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> T |
detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
org.eclipse.collections.api.block.function.Function0<? extends T> function) |
void |
each(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
<V> org.eclipse.collections.api.RichIterable<V> |
flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<V,R extends Collection<V>> |
flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function,
R target) |
void |
forEach(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
<P> void |
forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super T,? super P> procedure,
P parameter) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure) |
T |
getFirst() |
T |
getLast() |
<V> org.eclipse.collections.api.multimap.Multimap<V,T> |
groupBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<V,R extends org.eclipse.collections.api.multimap.MutableMultimap<V,T>> |
groupBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
<V> org.eclipse.collections.api.multimap.Multimap<V,T> |
groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<V,R extends org.eclipse.collections.api.multimap.MutableMultimap<V,T>> |
groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function,
R target) |
<V> org.eclipse.collections.api.map.MapIterable<V,T> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<V,R extends org.eclipse.collections.api.map.MutableMap<V,T>> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
double |
injectInto(double injectedValue,
org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction<? super T> function) |
float |
injectInto(float injectedValue,
org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction<? super T> function) |
int |
injectInto(int injectedValue,
org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction<? super T> function) |
<IV> IV |
injectInto(IV injectedValue,
org.eclipse.collections.api.block.function.Function2<? super IV,? super T,? extends IV> function) |
long |
injectInto(long injectedValue,
org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction<? super T> function) |
boolean |
isEmpty() |
Iterator<T> |
iterator()
Must be called in a synchronized block.
|
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(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
T |
min() |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
static <E> SynchronizedRichIterable<E> |
of(org.eclipse.collections.api.RichIterable<E> iterable)
This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable.
|
static <E> SynchronizedRichIterable<E> |
of(org.eclipse.collections.api.RichIterable<E> iterable,
Object lock)
This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable.
|
org.eclipse.collections.api.partition.PartitionIterable<T> |
partition(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> org.eclipse.collections.api.partition.PartitionIterable<T> |
partitionWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.RichIterable<T> |
reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<R extends Collection<T>> |
reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
R target) |
<P> org.eclipse.collections.api.RichIterable<T> |
rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
R targetCollection) |
org.eclipse.collections.api.RichIterable<T> |
select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<R extends Collection<T>> |
select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
R target) |
<S> org.eclipse.collections.api.RichIterable<S> |
selectInstancesOf(Class<S> clazz) |
<P> org.eclipse.collections.api.RichIterable<T> |
selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
R targetCollection) |
int |
size() |
<V> org.eclipse.collections.api.map.primitive.ObjectDoubleMap<V> |
sumByDouble(org.eclipse.collections.api.block.function.Function<T,V> groupBy,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
<V> org.eclipse.collections.api.map.primitive.ObjectDoubleMap<V> |
sumByFloat(org.eclipse.collections.api.block.function.Function<T,V> groupBy,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> function) |
<V> org.eclipse.collections.api.map.primitive.ObjectLongMap<V> |
sumByInt(org.eclipse.collections.api.block.function.Function<T,V> groupBy,
org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> function) |
<V> org.eclipse.collections.api.map.primitive.ObjectLongMap<V> |
sumByLong(org.eclipse.collections.api.block.function.Function<T,V> groupBy,
org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> function) |
double |
sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
double |
sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> function) |
long |
sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> function) |
long |
sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> function) |
org.eclipse.collections.api.RichIterable<T> |
tap(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] target) |
org.eclipse.collections.api.bag.MutableBag<T> |
toBag() |
org.eclipse.collections.api.list.MutableList<T> |
toList() |
<NK,NV> org.eclipse.collections.api.map.MutableMap<NK,NV> |
toMap(org.eclipse.collections.api.block.function.Function<? super T,? extends NK> keyFunction,
org.eclipse.collections.api.block.function.Function<? super T,? extends NV> valueFunction) |
org.eclipse.collections.api.set.MutableSet<T> |
toSet() |
org.eclipse.collections.api.bag.sorted.MutableSortedBag<T> |
toSortedBag() |
org.eclipse.collections.api.bag.sorted.MutableSortedBag<T> |
toSortedBag(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
toSortedBagBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
org.eclipse.collections.api.list.MutableList<T> |
toSortedList() |
org.eclipse.collections.api.list.MutableList<T> |
toSortedList(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
toSortedListBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<NK,NV> org.eclipse.collections.api.map.sorted.MutableSortedMap<NK,NV> |
toSortedMap(Comparator<? super NK> comparator,
org.eclipse.collections.api.block.function.Function<? super T,? extends NK> keyFunction,
org.eclipse.collections.api.block.function.Function<? super T,? extends NV> valueFunction) |
<NK,NV> org.eclipse.collections.api.map.sorted.MutableSortedMap<NK,NV> |
toSortedMap(org.eclipse.collections.api.block.function.Function<? super T,? extends NK> keyFunction,
org.eclipse.collections.api.block.function.Function<? super T,? extends NV> valueFunction) |
org.eclipse.collections.api.set.sorted.MutableSortedSet<T> |
toSortedSet() |
org.eclipse.collections.api.set.sorted.MutableSortedSet<T> |
toSortedSet(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
toSortedSetBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
String |
toString() |
<S> org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.Pair<T,S>> |
zip(Iterable<S> that) |
<S,R extends Collection<org.eclipse.collections.api.tuple.Pair<T,S>>> |
zip(Iterable<S> that,
R target) |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.Pair<T,Integer>> |
zipWithIndex() |
<R extends Collection<org.eclipse.collections.api.tuple.Pair<T,Integer>>> |
zipWithIndex(R target) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static <E> SynchronizedRichIterable<E> of(org.eclipse.collections.api.RichIterable<E> iterable)
public static <E> SynchronizedRichIterable<E> of(org.eclipse.collections.api.RichIterable<E> iterable, Object lock)
public int size()
size in interface org.eclipse.collections.api.RichIterable<T>public boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.RichIterable<T>public boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.RichIterable<T>public T getFirst()
getFirst in interface org.eclipse.collections.api.RichIterable<T>public T getLast()
getLast in interface org.eclipse.collections.api.RichIterable<T>public boolean contains(Object object)
contains in interface org.eclipse.collections.api.RichIterable<T>public boolean containsAllIterable(Iterable<?> source)
containsAllIterable in interface org.eclipse.collections.api.RichIterable<T>public boolean containsAll(Collection<?> source)
containsAll in interface org.eclipse.collections.api.RichIterable<T>public boolean containsAllArguments(Object... elements)
containsAllArguments in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.RichIterable<T> select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
select in interface org.eclipse.collections.api.RichIterable<T>public <R extends Collection<T>> R select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, R target)
select in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.RichIterable<T> selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface org.eclipse.collections.api.RichIterable<T>public <P,R extends Collection<T>> R selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, R targetCollection)
selectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.RichIterable<T> reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
reject in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.RichIterable<T> rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface org.eclipse.collections.api.RichIterable<T>public <R extends Collection<T>> R reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, R target)
reject in interface org.eclipse.collections.api.RichIterable<T>public <P,R extends Collection<T>> R rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, R targetCollection)
rejectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.partition.PartitionIterable<T> partition(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
partition in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.partition.PartitionIterable<T> partitionWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface org.eclipse.collections.api.RichIterable<T>public <S> org.eclipse.collections.api.RichIterable<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.RichIterable<V> collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collect in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.BooleanIterable collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction)
collectBoolean in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableBooleanCollection> R collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction, R target)
collectBoolean in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.ByteIterable collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction)
collectByte in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableByteCollection> R collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction, R target)
collectByte in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.CharIterable collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction)
collectChar in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableCharCollection> R collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction, R target)
collectChar in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.DoubleIterable collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction)
collectDouble in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableDoubleCollection> R collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction, R target)
collectDouble in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.FloatIterable collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction)
collectFloat in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableFloatCollection> R collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction, R target)
collectFloat in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.IntIterable collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction)
collectInt in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableIntCollection> R collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction, R target)
collectInt in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.LongIterable collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction)
collectLong in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> R collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction, R target)
collectLong in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.ShortIterable collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction)
collectShort in interface org.eclipse.collections.api.RichIterable<T>public <R extends org.eclipse.collections.api.collection.primitive.MutableShortCollection> R collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction, R target)
collectShort in interface org.eclipse.collections.api.RichIterable<T>public <V,R extends Collection<V>> R collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function, R target)
collect in interface org.eclipse.collections.api.RichIterable<T>public <P,V> org.eclipse.collections.api.RichIterable<V> collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function, P parameter)
collectWith in interface org.eclipse.collections.api.RichIterable<T>public <P,V,R extends Collection<V>> R collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
collectWith in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.RichIterable<V> collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collectIf in interface org.eclipse.collections.api.RichIterable<T>public <V,R extends Collection<V>> R collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function<? super T,? extends V> function, R target)
collectIf in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.RichIterable<V> flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
flatCollect in interface org.eclipse.collections.api.RichIterable<T>public <V,R extends Collection<V>> R flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function, R target)
flatCollect in interface org.eclipse.collections.api.RichIterable<T>public T detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
detect in interface org.eclipse.collections.api.RichIterable<T>public <P> T detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface org.eclipse.collections.api.RichIterable<T>public T detectIfNone(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function0<? extends T> function)
detectIfNone in interface org.eclipse.collections.api.RichIterable<T>public <P> T detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, org.eclipse.collections.api.block.function.Function0<? extends T> function)
detectWithIfNone in interface org.eclipse.collections.api.RichIterable<T>public int count(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
count in interface org.eclipse.collections.api.RichIterable<T>public <P> int countWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
countWith in interface org.eclipse.collections.api.RichIterable<T>public boolean anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
anySatisfy in interface org.eclipse.collections.api.RichIterable<T>public <P> boolean anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface org.eclipse.collections.api.RichIterable<T>public boolean allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
allSatisfy in interface org.eclipse.collections.api.RichIterable<T>public <P> boolean allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>public boolean noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
noneSatisfy in interface org.eclipse.collections.api.RichIterable<T>public <P> boolean noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>public <IV> IV injectInto(IV injectedValue,
org.eclipse.collections.api.block.function.Function2<? super IV,? super T,? extends IV> function)
injectInto in interface org.eclipse.collections.api.RichIterable<T>public int injectInto(int injectedValue,
org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction<? super T> function)
injectInto in interface org.eclipse.collections.api.RichIterable<T>public long injectInto(long injectedValue,
org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction<? super T> function)
injectInto in interface org.eclipse.collections.api.RichIterable<T>public float injectInto(float injectedValue,
org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction<? super T> function)
injectInto in interface org.eclipse.collections.api.RichIterable<T>public double injectInto(double injectedValue,
org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction<? super T> function)
injectInto in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.list.MutableList<T> toList()
toList in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.list.MutableList<T> toSortedList()
toSortedList in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.list.MutableList<T> toSortedList(Comparator<? super T> comparator)
toSortedList in interface org.eclipse.collections.api.RichIterable<T>public <V extends Comparable<? super V>> org.eclipse.collections.api.list.MutableList<T> toSortedListBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
toSortedListBy in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.set.MutableSet<T> toSet()
toSet in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.set.sorted.MutableSortedSet<T> toSortedSet()
toSortedSet in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.set.sorted.MutableSortedSet<T> toSortedSet(Comparator<? super T> comparator)
toSortedSet in interface org.eclipse.collections.api.RichIterable<T>public <V extends Comparable<? super V>> org.eclipse.collections.api.set.sorted.MutableSortedSet<T> toSortedSetBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
toSortedSetBy in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.MutableBag<T> toBag()
toBag in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.sorted.MutableSortedBag<T> toSortedBag()
toSortedBag in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.sorted.MutableSortedBag<T> toSortedBag(Comparator<? super T> comparator)
toSortedBag in interface org.eclipse.collections.api.RichIterable<T>public <V extends Comparable<? super V>> org.eclipse.collections.api.bag.sorted.MutableSortedBag<T> toSortedBagBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
toSortedBagBy in interface org.eclipse.collections.api.RichIterable<T>public <NK,NV> org.eclipse.collections.api.map.MutableMap<NK,NV> toMap(org.eclipse.collections.api.block.function.Function<? super T,? extends NK> keyFunction, org.eclipse.collections.api.block.function.Function<? super T,? extends NV> valueFunction)
toMap in interface org.eclipse.collections.api.RichIterable<T>public <NK,NV> org.eclipse.collections.api.map.sorted.MutableSortedMap<NK,NV> toSortedMap(org.eclipse.collections.api.block.function.Function<? super T,? extends NK> keyFunction, org.eclipse.collections.api.block.function.Function<? super T,? extends NV> valueFunction)
toSortedMap in interface org.eclipse.collections.api.RichIterable<T>public <NK,NV> org.eclipse.collections.api.map.sorted.MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, org.eclipse.collections.api.block.function.Function<? super T,? extends NK> keyFunction, org.eclipse.collections.api.block.function.Function<? super T,? extends NV> valueFunction)
toSortedMap in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.LazyIterable<T> asLazy()
asLazy in interface org.eclipse.collections.api.RichIterable<T>public Object[] toArray()
toArray in interface org.eclipse.collections.api.RichIterable<T>public <T1> T1[] toArray(T1[] target)
toArray in interface org.eclipse.collections.api.RichIterable<T>public T min(Comparator<? super T> comparator)
min in interface org.eclipse.collections.api.RichIterable<T>public T max(Comparator<? super T> comparator)
max in interface org.eclipse.collections.api.RichIterable<T>public <V extends Comparable<? super V>> T minBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
minBy in interface org.eclipse.collections.api.RichIterable<T>public <V extends Comparable<? super V>> T maxBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
maxBy in interface org.eclipse.collections.api.RichIterable<T>public long sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> function)
sumOfInt in interface org.eclipse.collections.api.RichIterable<T>public double sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> function)
sumOfFloat in interface org.eclipse.collections.api.RichIterable<T>public long sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> function)
sumOfLong in interface org.eclipse.collections.api.RichIterable<T>public double sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function)
sumOfDouble in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.map.primitive.ObjectLongMap<V> sumByInt(org.eclipse.collections.api.block.function.Function<T,V> groupBy, org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> function)
sumByInt in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.map.primitive.ObjectDoubleMap<V> sumByFloat(org.eclipse.collections.api.block.function.Function<T,V> groupBy, org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> function)
sumByFloat in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.map.primitive.ObjectLongMap<V> sumByLong(org.eclipse.collections.api.block.function.Function<T,V> groupBy, org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> function)
sumByLong in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.map.primitive.ObjectDoubleMap<V> sumByDouble(org.eclipse.collections.api.block.function.Function<T,V> groupBy, org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function)
sumByDouble in interface org.eclipse.collections.api.RichIterable<T>public String makeString()
makeString in interface org.eclipse.collections.api.RichIterable<T>public String makeString(String separator)
makeString in interface org.eclipse.collections.api.RichIterable<T>public String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.RichIterable<T>public void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.RichIterable<T>public void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.RichIterable<T>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.multimap.Multimap<V,T> groupBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
groupBy in interface org.eclipse.collections.api.RichIterable<T>public <V,R extends org.eclipse.collections.api.multimap.MutableMultimap<V,T>> R groupBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function, R target)
groupBy in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.multimap.Multimap<V,T> groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
groupByEach in interface org.eclipse.collections.api.RichIterable<T>public <V,R extends org.eclipse.collections.api.multimap.MutableMultimap<V,T>> R groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function, R target)
groupByEach in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.map.MapIterable<V,T> groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
groupByUniqueKey in interface org.eclipse.collections.api.RichIterable<T>public <V,R extends org.eclipse.collections.api.map.MutableMap<V,T>> R groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function, R target)
groupByUniqueKey in interface org.eclipse.collections.api.RichIterable<T>public String toString()
public <S> org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.Pair<T,S>> zip(Iterable<S> that)
zip in interface org.eclipse.collections.api.RichIterable<T>public <S,R extends Collection<org.eclipse.collections.api.tuple.Pair<T,S>>> R zip(Iterable<S> that, R target)
zip in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.Pair<T,Integer>> zipWithIndex()
zipWithIndex in interface org.eclipse.collections.api.RichIterable<T>public <R extends Collection<org.eclipse.collections.api.tuple.Pair<T,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> chunk(int size)
chunk in interface org.eclipse.collections.api.RichIterable<T>public <K,V> org.eclipse.collections.api.map.MapIterable<K,V> aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy, org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory, org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator)
aggregateInPlaceBy in interface org.eclipse.collections.api.RichIterable<T>public <K,V> org.eclipse.collections.api.map.MapIterable<K,V> aggregateBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy, org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory, org.eclipse.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator)
aggregateBy in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.RichIterable<T> tap(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure)
tap in interface org.eclipse.collections.api.RichIterable<T>public void forEach(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure)
forEach in interface org.eclipse.collections.api.InternalIterable<T>public void each(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure)
each in interface org.eclipse.collections.api.RichIterable<T>public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface org.eclipse.collections.api.InternalIterable<T>public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface org.eclipse.collections.api.InternalIterable<T>Copyright © 2004–2018. All rights reserved.