Class UnmodifiableShortCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableShortCollection
org.eclipse.collections.impl.collection.mutable.primitive.UnmodifiableShortCollection
- All Implemented Interfaces:
Serializable, MutableShortCollection, PrimitiveIterable, ShortIterable
This file was automatically generated from template file unmodifiablePrimitiveCollection.stg.
- Since:
- 4.0.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUnmodifiableShortCollection(MutableShortCollection collection) -
Method Summary
Modifier and TypeMethodDescriptionnewEmpty()Creates a new empty mutable version of the same collection type.static UnmodifiableShortCollectionof(MutableShortCollection collection) This method will take a MutableShortCollection and wrap it directly in a UnmodifiableShortCollection.Methods inherited from class AbstractUnmodifiableShortCollection
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, getShortCollection, 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface MutableShortCollection
tapMethods inherited from interface 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
UnmodifiableShortCollection
-
-
Method Details
-
of
This method will take a MutableShortCollection and wrap it directly in a UnmodifiableShortCollection. -
newEmpty
Description copied from interface:MutableShortCollectionCreates a new empty mutable version of the same collection type.- Since:
- 9.2.
-