@ThreadSafe public abstract class AbstractSynchronizedIntCollection extends Object implements org.eclipse.collections.api.collection.primitive.MutableIntCollection, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int newItem) |
boolean |
addAll(int... source) |
boolean |
addAll(org.eclipse.collections.api.IntIterable source) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyIntIterable |
asLazy() |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
asSynchronized() |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function) |
boolean |
contains(int value) |
boolean |
containsAll(int... source) |
boolean |
containsAll(org.eclipse.collections.api.IntIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate,
int ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction<? super T,? extends T> function) |
org.eclipse.collections.api.iterator.MutableIntIterator |
intIterator()
Must be called in a synchronized block.
|
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
int |
max() |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
min() |
int |
minIfEmpty(int defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
notEmpty() |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
remove(int value) |
boolean |
removeAll(int... source) |
boolean |
removeAll(org.eclipse.collections.api.IntIterable source) |
boolean |
retainAll(int... source) |
boolean |
retainAll(org.eclipse.collections.api.IntIterable source) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
size() |
long |
sum() |
int[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
toBag() |
org.eclipse.collections.api.collection.primitive.ImmutableIntCollection |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableIntList |
toList() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
toSet() |
int[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableIntList |
toSortedList() |
String |
toString() |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
with(int element) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
withAll(org.eclipse.collections.api.IntIterable elements) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
without(int element) |
org.eclipse.collections.api.collection.primitive.MutableIntCollection |
withoutAll(org.eclipse.collections.api.IntIterable elements) |
public int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.MutableIntCollection select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionselect in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.collection.primitive.MutableIntCollection reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionreject in interface org.eclipse.collections.api.IntIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectioncollect in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.collection.primitive.MutableIntCollection with(int element)
with in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.MutableIntCollection without(int element)
without in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.MutableIntCollection withAll(org.eclipse.collections.api.IntIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.MutableIntCollection withoutAll(org.eclipse.collections.api.IntIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.MutableIntCollection asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.MutableIntCollection asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.collection.primitive.ImmutableIntCollection toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.LazyIntIterable asLazy()
asLazy in interface org.eclipse.collections.api.IntIterablepublic boolean contains(int value)
contains in interface org.eclipse.collections.api.IntIterablepublic boolean containsAll(int... source)
containsAll in interface org.eclipse.collections.api.IntIterablepublic boolean containsAll(org.eclipse.collections.api.IntIterable source)
containsAll in interface org.eclipse.collections.api.IntIterablepublic boolean add(int newItem)
add in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean addAll(int... source)
addAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean addAll(org.eclipse.collections.api.IntIterable source)
addAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean remove(int value)
remove in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean removeAll(org.eclipse.collections.api.IntIterable source)
removeAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean removeAll(int... source)
removeAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean retainAll(org.eclipse.collections.api.IntIterable source)
retainAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic boolean retainAll(int... source)
retainAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionpublic org.eclipse.collections.api.iterator.MutableIntIterator intIterator()
intIterator in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionintIterator in interface org.eclipse.collections.api.IntIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEach in interface org.eclipse.collections.api.IntIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
each in interface org.eclipse.collections.api.IntIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
count in interface org.eclipse.collections.api.IntIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.IntIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.IntIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.IntIterablepublic int detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate,
int ifNone)
detectIfNone in interface org.eclipse.collections.api.IntIterablepublic long sum()
sum in interface org.eclipse.collections.api.IntIterablepublic int max()
max in interface org.eclipse.collections.api.IntIterablepublic int min()
min in interface org.eclipse.collections.api.IntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface org.eclipse.collections.api.IntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.IntIterablepublic double average()
average in interface org.eclipse.collections.api.IntIterablepublic double median()
median in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList toSortedList()
toSortedList in interface org.eclipse.collections.api.IntIterablepublic int[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.IntIterablepublic int[] toArray()
toArray in interface org.eclipse.collections.api.IntIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList toList()
toList in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.set.primitive.MutableIntSet toSet()
toSet in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.bag.primitive.MutableIntBag toBag()
toBag in interface org.eclipse.collections.api.IntIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.IntIterableCopyright © 2004–2017. All rights reserved.