MutableLongCollection, LongIterable, PrimitiveIterablepublic class UnmodifiableLongCollection extends AbstractUnmodifiableLongCollection
| Modifier and Type | Method | Description |
|---|---|---|
MutableLongCollection |
newEmpty() |
Creates a new empty mutable version of the same collection type.
|
static UnmodifiableLongCollection |
of(MutableLongCollection collection) |
This method will take a MutableLongCollection and wrap it directly in a UnmodifiableLongCollection.
|
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, chunk, clear, collect, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, longIterator, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reject, remove, removeAll, removeAll, removeIf, retainAll, retainAll, select, size, sum, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAllaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatisticstappublic static UnmodifiableLongCollection of(MutableLongCollection collection)
public MutableLongCollection newEmpty()
MutableLongCollectionCopyright © 2004–2018. All rights reserved.