Class SynchronizedShortCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedShortCollection
org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedShortCollection
- All Implemented Interfaces:
Serializable,MutableShortCollection,PrimitiveIterable,ShortIterable
This file was automatically generated from template file synchronizedPrimitiveCollection.stg.
- Since:
- 4.0.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnewEmpty()static SynchronizedShortCollectionof(MutableShortCollection collection) This method will take a MutableShortCollection and wrap it directly in a SynchronizedShortCollection.static SynchronizedShortCollectionof(MutableShortCollection collection, Object lock) This method will take a MutableShortCollection and wrap it directly in a SynchronizedShortCollection.Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedShortCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, chunk, clear, collect, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, 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, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAllMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableShortCollection
tapMethods inherited from interface org.eclipse.collections.api.ShortIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBy
-
Method Details
-
of
This method will take a MutableShortCollection and wrap it directly in a SynchronizedShortCollection. -
of
This method will take a MutableShortCollection and wrap it directly in a SynchronizedShortCollection. Additionally, a developer specifies which lock to use with the collection. -
newEmpty
- Since:
- 9.2.
-