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