Serializable
, MutableLongCollection
, LongIterable
, PrimitiveIterable
@ThreadSafe public class SynchronizedLongCollection extends AbstractSynchronizedLongCollection
Modifier and Type | Method | Description |
---|---|---|
static SynchronizedLongCollection |
of(MutableLongCollection collection) |
This method will take a MutableLongCollection and wrap it directly in a SynchronizedLongCollection.
|
static SynchronizedLongCollection |
of(MutableLongCollection collection,
Object lock) |
This method will take a MutableLongCollection and wrap it directly in a SynchronizedLongCollection.
|
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, 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, retainAll, retainAll, select, size, sum, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAll
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, summaryStatistics
public static SynchronizedLongCollection of(MutableLongCollection collection)
public static SynchronizedLongCollection of(MutableLongCollection collection, Object lock)
Copyright © 2004–2017. All rights reserved.