public interface MutableByteBag extends MutableByteCollection, ByteBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(byte item,
int occurrences) |
MutableByteBag |
asSynchronized() |
MutableByteBag |
asUnmodifiable() |
<V> MutableBag<V> |
collect(ByteToObjectFunction<? extends V> function) |
MutableByteBag |
reject(BytePredicate predicate) |
boolean |
removeOccurrences(byte item,
int occurrences) |
MutableByteBag |
select(BytePredicate predicate) |
ImmutableByteBag |
toImmutable()
Returns an immutable copy of this bag.
|
MutableByteBag |
with(byte element) |
MutableByteBag |
withAll(ByteIterable elements) |
MutableByteBag |
without(byte element) |
MutableByteBag |
withoutAll(ByteIterable elements) |
add, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAllequals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinctallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid addOccurrences(byte item,
int occurrences)
boolean removeOccurrences(byte item,
int occurrences)
MutableByteBag select(BytePredicate predicate)
select in interface ByteBagselect in interface ByteIterableselect in interface MutableByteCollectionMutableByteBag reject(BytePredicate predicate)
reject in interface ByteBagreject in interface ByteIterablereject in interface MutableByteCollection<V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteBagcollect in interface ByteIterablecollect in interface MutableByteCollectionMutableByteBag with(byte element)
with in interface MutableByteCollectionMutableByteBag without(byte element)
without in interface MutableByteCollectionMutableByteBag withAll(ByteIterable elements)
withAll in interface MutableByteCollectionMutableByteBag withoutAll(ByteIterable elements)
withoutAll in interface MutableByteCollectionMutableByteBag asUnmodifiable()
asUnmodifiable in interface MutableByteCollectionMutableByteBag asSynchronized()
asSynchronized in interface MutableByteCollectionImmutableByteBag toImmutable()
toImmutable in interface ByteBagtoImmutable in interface MutableByteCollectionCopyright © 2004–2017. All rights reserved.