Serializable
, MutableShortCollection
, PrimitiveIterable
, ShortIterable
public class SynchronizedShortCollection extends AbstractSynchronizedShortCollection
Modifier and Type | Method | Description |
---|---|---|
MutableShortCollection |
newEmpty() |
Creates a new empty mutable version of the same collection type.
|
static SynchronizedShortCollection |
of(MutableShortCollection collection) |
This method will take a MutableShortCollection and wrap it directly in a SynchronizedShortCollection.
|
static SynchronizedShortCollection |
of(MutableShortCollection collection,
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, chunk, clear, collect, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, reject, remove, removeAll, removeAll, removeIf, retainAll, retainAll, select, shortIterator, size, sum, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAll
tap
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
public static SynchronizedShortCollection of(MutableShortCollection collection)
public static SynchronizedShortCollection of(MutableShortCollection collection, Object lock)
public MutableShortCollection newEmpty()
MutableShortCollection
Copyright © 2004–2019. All rights reserved.