Class SynchronizedByteCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedByteCollection
org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedByteCollection
- All Implemented Interfaces:
Serializable, ByteIterable, MutableByteCollection, PrimitiveIterable
This file was automatically generated from template file synchronizedPrimitiveCollection.stg.
- Since:
- 4.0.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchronizedByteCollection(MutableByteCollection collection) protectedSynchronizedByteCollection(MutableByteCollection collection, Object newLock) -
Method Summary
Modifier and TypeMethodDescriptionnewEmpty()Creates a new empty mutable version of the same collection type.static SynchronizedByteCollectionof(MutableByteCollection collection) This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.static SynchronizedByteCollectionof(MutableByteCollection collection, Object lock) This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.Methods inherited from class AbstractSynchronizedByteCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, byteIterator, chunk, clear, collect, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, getByteCollection, getLock, injectInto, isEmpty, 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, withoutAllMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ByteIterable
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, toSortedListByMethods inherited from interface MutableByteCollection
tap
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SynchronizedByteCollection
-
SynchronizedByteCollection
-
-
Method Details
-
of
This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection. -
of
This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection. Additionally, a developer specifies which lock to use with the collection. -
newEmpty
Description copied from interface:MutableByteCollectionCreates a new empty mutable version of the same collection type.- Since:
- 9.2.
-