public abstract class AbstractMultiReaderMutableCollection<T> extends Object implements org.eclipse.collections.api.collection.MutableCollection<T>
| Constructor and Description |
|---|
AbstractMultiReaderMutableCollection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T item) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAllIterable(Iterable<? extends T> iterable) |
<K,V> org.eclipse.collections.api.map.MutableMap<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.MutableMap<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() |
void |
clear() |
<V,R extends Collection<V>> |
collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
<R extends org.eclipse.collections.api.collection.primitive.MutableBooleanCollection> |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction,
R target) |
<R extends org.eclipse.collections.api.collection.primitive.MutableByteCollection> |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction,
R target) |
<R extends org.eclipse.collections.api.collection.primitive.MutableCharCollection> |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction,
R target) |
<R extends org.eclipse.collections.api.collection.primitive.MutableDoubleCollection> |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction,
R target) |
<R extends org.eclipse.collections.api.collection.primitive.MutableFloatCollection> |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction,
R target) |
<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) |
<R extends org.eclipse.collections.api.collection.primitive.MutableIntCollection> |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction,
R target) |
<R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction,
R target) |
<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,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 item) |
boolean |
containsAll(Collection<?> collection) |
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,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,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,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,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) |
<IV,P> IV |
injectIntoWith(IV injectValue,
org.eclipse.collections.api.block.function.Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
boolean |
isEmpty() |
Iterator<T> |
iterator()
This method is not supported directly on MultiReader collections because it is not thread-safe.
|
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() |
<R extends Collection<T>> |
reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
R target) |
<P,R extends Collection<T>> |
rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
R targetCollection) |
boolean |
remove(Object item) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAllIterable(Iterable<?> iterable) |
<R extends Collection<T>> |
select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
R target) |
<P> org.eclipse.collections.api.tuple.Twin<org.eclipse.collections.api.list.MutableList<T>> |
selectAndRejectWith(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) |
Object[] |
toArray() |
<E> E[] |
toArray(E[] a) |
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,R extends Collection<org.eclipse.collections.api.tuple.Pair<T,S>>> |
zip(Iterable<S> that,
R target) |
<R extends Collection<org.eclipse.collections.api.tuple.Pair<T,Integer>>> |
zipWithIndex(R target) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitasSynchronized, asUnmodifiable, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, flatCollect, groupBy, groupByEach, groupByUniqueKey, newEmpty, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, tap, toImmutable, with, withAll, without, withoutAll, zip, zipWithIndexequals, hashCode, parallelStream, removeIf, spliterator, streampublic AbstractMultiReaderMutableCollection()
public boolean contains(Object item)
contains in interface Collection<T>contains in interface org.eclipse.collections.api.RichIterable<T>public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<T>containsAll in interface org.eclipse.collections.api.RichIterable<T>public boolean containsAllIterable(Iterable<?> source)
containsAllIterable in interface org.eclipse.collections.api.RichIterable<T>public boolean containsAllArguments(Object... elements)
containsAllArguments 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 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 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 org.eclipse.collections.api.list.MutableList<T> toList()
toList 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 org.eclipse.collections.api.set.MutableSet<T> toSet()
toSet 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 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.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 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 T detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
detect 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 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 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 <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 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 notEmpty()
notEmpty in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.tuple.Twin<org.eclipse.collections.api.list.MutableList<T>> selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
selectAndRejectWith in interface org.eclipse.collections.api.collection.MutableCollection<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 <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 <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 <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 <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 <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 <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 <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 <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 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 <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 <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 <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 <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 <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 <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 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 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 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 <IV,P> IV injectIntoWith(IV injectValue,
org.eclipse.collections.api.block.function.Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter)
injectIntoWith in interface org.eclipse.collections.api.collection.MutableCollection<T>public boolean removeIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
removeIf in interface org.eclipse.collections.api.collection.MutableCollection<T>public <P> boolean removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
removeIfWith in interface org.eclipse.collections.api.collection.MutableCollection<T>public boolean add(T item)
add in interface Collection<T>public boolean addAll(Collection<? extends T> collection)
addAll in interface Collection<T>public boolean addAllIterable(Iterable<? extends T> iterable)
addAllIterable in interface org.eclipse.collections.api.collection.MutableCollection<T>public void clear()
clear in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface org.eclipse.collections.api.RichIterable<T>public Iterator<T> iterator()
multiReaderList.withReadLockAndDelegate(new Procedure>() { public void value(MutableList people) { Iterator it = people.iterator(); .... } });
final Collection jdkSet = new HashSet(); final boolean containsAll = new boolean[1]; multiReaderList.withReadLockAndDelegate(new Procedure>() { public void value(MutableList people) { set.addAll(people); // addAll uses iterator() in AbstractCollection containsAll[0] = set.containsAll(people); // containsAll uses iterator() in AbstractCollection } });
public boolean remove(Object item)
remove in interface Collection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface org.eclipse.collections.api.collection.MutableCollection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>public boolean retainAllIterable(Iterable<?> iterable)
retainAllIterable in interface org.eclipse.collections.api.collection.MutableCollection<T>public int size()
size in interface Collection<T>size in interface org.eclipse.collections.api.RichIterable<T>public Object[] toArray()
toArray in interface Collection<T>toArray in interface org.eclipse.collections.api.RichIterable<T>public <E> E[] toArray(E[] a)
toArray in interface Collection<T>toArray 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 <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>public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface org.eclipse.collections.api.InternalIterable<T>public String toString()
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,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,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,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 <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 <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 <K,V> org.eclipse.collections.api.map.MutableMap<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)
public <K,V> org.eclipse.collections.api.map.MutableMap<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)
Copyright © 2004–2017. All rights reserved.