@ThreadSafe public class SynchronizedIntCollection extends AbstractSynchronizedIntCollection
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedIntCollection(com.gs.collections.api.collection.primitive.MutableIntCollection collection) |
protected |
SynchronizedIntCollection(com.gs.collections.api.collection.primitive.MutableIntCollection collection,
java.lang.Object newLock) |
| Modifier and Type | Method and Description |
|---|---|
static SynchronizedIntCollection |
of(com.gs.collections.api.collection.primitive.MutableIntCollection collection)
This method will take a MutableIntCollection and wrap it directly in a SynchronizedIntCollection.
|
static SynchronizedIntCollection |
of(com.gs.collections.api.collection.primitive.MutableIntCollection collection,
java.lang.Object lock)
This method will take a MutableIntCollection and wrap it directly in a SynchronizedIntCollection.
|
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, clear, collect, contains, containsAll, containsAll, count, detectIfNone, forEach, getIntCollection, getLock, injectInto, intIterator, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reject, remove, removeAll, removeAll, retainAll, retainAll, select, size, sum, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAllprotected SynchronizedIntCollection(com.gs.collections.api.collection.primitive.MutableIntCollection collection)
protected SynchronizedIntCollection(com.gs.collections.api.collection.primitive.MutableIntCollection collection,
java.lang.Object newLock)
public static SynchronizedIntCollection of(com.gs.collections.api.collection.primitive.MutableIntCollection collection)
public static SynchronizedIntCollection of(com.gs.collections.api.collection.primitive.MutableIntCollection collection, java.lang.Object lock)