Class SynchronizedLongCollection
- java.lang.Object
-
- org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedLongCollection
-
- org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedLongCollection
-
- All Implemented Interfaces:
Serializable,MutableLongCollection,LongIterable,PrimitiveIterable
public class SynchronizedLongCollection extends AbstractSynchronizedLongCollection
This file was automatically generated from template file synchronizedPrimitiveCollection.stg.- Since:
- 4.0.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongCollectionnewEmpty()static SynchronizedLongCollectionof(MutableLongCollection collection)This method will take a MutableLongCollection and wrap it directly in a SynchronizedLongCollection.static SynchronizedLongCollectionof(MutableLongCollection collection, Object lock)This method will take a MutableLongCollection and wrap it directly in a SynchronizedLongCollection.-
Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedLongCollection
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, longIterator, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, reject, remove, removeAll, removeAll, removeIf, retainAll, retainAll, select, size, sum, toArray, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAll
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.LongIterable
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
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableLongCollection
tap
-
-
-
-
Method Detail
-
of
public static SynchronizedLongCollection of(MutableLongCollection collection)
This method will take a MutableLongCollection and wrap it directly in a SynchronizedLongCollection.
-
of
public static SynchronizedLongCollection of(MutableLongCollection collection, Object lock)
This method will take a MutableLongCollection and wrap it directly in a SynchronizedLongCollection. Additionally, a developer specifies which lock to use with the collection.
-
newEmpty
public MutableLongCollection newEmpty()
- Since:
- 9.2.
-
-