ByteIterable
, PrimitiveIterable
MutableByteBag
, MutableByteList
, MutableByteSet
AbstractMutableByteKeySet
, AbstractSynchronizedByteCollection
, AbstractUnmodifiableByteCollection
, ByteArrayList
, ByteHashBag
, ByteHashSet
, SynchronizedByteBag
, SynchronizedByteCollection
, SynchronizedByteList
, SynchronizedByteSet
, UnmodifiableByteBag
, UnmodifiableByteCollection
, UnmodifiableByteList
, UnmodifiableByteSet
public 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.
|
ImmutableByteCollection |
toImmutable() |
|
MutableByteCollection |
with(byte element) |
|
MutableByteCollection |
withAll(ByteIterable elements) |
|
MutableByteCollection |
without(byte element) |
|
MutableByteCollection |
withoutAll(ByteIterable elements) |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableByteIterator byteIterator()
ByteIterable
byteIterator
in interface ByteIterable
boolean 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)
ByteIterable
select
in interface ByteIterable
MutableByteCollection reject(BytePredicate predicate)
ByteIterable
reject
in interface ByteIterable
<V> MutableCollection<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterable
collect
in interface ByteIterable
MutableByteCollection with(byte element)
MutableByteCollection without(byte element)
MutableByteCollection withAll(ByteIterable elements)
MutableByteCollection withoutAll(ByteIterable elements)
MutableByteCollection asUnmodifiable()
MutableByteCollection asSynchronized()
ImmutableByteCollection toImmutable()
Copyright © 2004–2017. All rights reserved.