ByteIterable, PrimitiveIterableMutableByteBag, MutableByteList, MutableByteSetAbstractMutableByteKeySet, AbstractSynchronizedByteCollection, AbstractUnmodifiableByteCollection, ByteArrayList, ByteHashBag, ByteHashSet, SynchronizedByteBag, SynchronizedByteCollection, SynchronizedByteList, SynchronizedByteSet, UnmodifiableByteBag, UnmodifiableByteCollection, UnmodifiableByteList, UnmodifiableByteSetpublic interface MutableByteCollection extends ByteIterable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(byte element) |
|
boolean |
addAll(byte... source) |
|
boolean |
addAll(ByteIterable source) |
|
MutableByteCollection |
asSynchronized() |
|
MutableByteCollection |
asUnmodifiable() |
|
MutableByteIterator |
byteIterator() |
Returns a primitive iterator that can be used to iterate over the ByteIterable in an
imperative style.
|
void |
clear() |
|
<V> MutableCollection<V> |
collect(ByteToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableByteCollection |
reject(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
boolean |
remove(byte value) |
|
boolean |
removeAll(byte... source) |
|
boolean |
removeAll(ByteIterable source) |
|
boolean |
retainAll(byte... source) |
|
boolean |
retainAll(ByteIterable elements) |
|
MutableByteCollection |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
default MutableByteCollection |
tap(ByteProcedure procedure) |
|
ImmutableByteCollection |
toImmutable() |
|
MutableByteCollection |
with(byte element) |
|
MutableByteCollection |
withAll(ByteIterable elements) |
|
MutableByteCollection |
without(byte element) |
|
MutableByteCollection |
withoutAll(ByteIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableByteIterator byteIterator()
ByteIterablebyteIterator in interface ByteIterableboolean add(byte element)
boolean addAll(byte... source)
boolean addAll(ByteIterable source)
boolean remove(byte value)
boolean removeAll(ByteIterable source)
boolean removeAll(byte... source)
boolean retainAll(ByteIterable elements)
Collection.retainAll(Collection)boolean retainAll(byte... source)
Collection.retainAll(Collection)void clear()
MutableByteCollection select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableMutableByteCollection reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterable<V> MutableCollection<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterableMutableByteCollection with(byte element)
MutableByteCollection without(byte element)
MutableByteCollection withAll(ByteIterable elements)
MutableByteCollection withoutAll(ByteIterable elements)
MutableByteCollection asUnmodifiable()
MutableByteCollection asSynchronized()
ImmutableByteCollection toImmutable()
default MutableByteCollection tap(ByteProcedure procedure)
tap in interface ByteIterableCopyright © 2004–2017. All rights reserved.