Serializable
, ByteIterable
, MutableByteCollection
, PrimitiveIterable
public class SynchronizedByteCollection extends AbstractSynchronizedByteCollection
Modifier and Type | Method | Description |
---|---|---|
MutableByteCollection |
newEmpty() |
Creates a new empty mutable version of the same collection type.
|
static SynchronizedByteCollection |
of(MutableByteCollection collection) |
This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.
|
static SynchronizedByteCollection |
of(MutableByteCollection collection,
Object lock) |
This method will take a MutableByteCollection and wrap it directly in a SynchronizedByteCollection.
|
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, byteIterator, chunk, clear, collect, contains, containsAll, containsAll, count, detectIfNone, each, forEach, 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, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAll
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
tap
public static SynchronizedByteCollection of(MutableByteCollection collection)
public static SynchronizedByteCollection of(MutableByteCollection collection, Object lock)
public MutableByteCollection newEmpty()
MutableByteCollection
Copyright © 2004–2019. All rights reserved.