ByteBag, ByteIterable, MutableByteCollection, PrimitiveIterableByteHashBag, SynchronizedByteBag, UnmodifiableByteBagpublic interface MutableByteBag extends MutableByteCollection, ByteBag
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addOccurrences(byte item,
              int occurrences) | |
| MutableByteBag | asSynchronized() | |
| MutableByteBag | asUnmodifiable() | |
| MutableList<ByteIntPair> | bottomOccurrences(int count) | Returns the  countleast frequently occurring items. | 
| <V> MutableBag<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. | 
| default MutableByteBag | newEmpty() | Creates a new empty mutable version of the same Bag type. | 
| MutableByteBag | reject(BytePredicate predicate) | Returns a new ByteIterable with all of the elements in the ByteIterable that
 return false for the specified predicate. | 
| boolean | removeOccurrences(byte item,
                 int occurrences) | |
| MutableByteBag | select(BytePredicate predicate) | Returns a new ByteIterable with all of the elements in the ByteIterable that
 return true for the specified predicate. | 
| MutableByteBag | selectByOccurrences(IntPredicate predicate) | Returns all elements of the bag that have a number of occurrences that satisfy the predicate. | 
| default MutableByteBag | selectDuplicates() | Returns all elements of the bag that have more than one occurrence. | 
| default MutableByteSet | selectUnique() | Returns all elements of the bag that have exactly one occurrence. | 
| default MutableByteBag | tap(ByteProcedure procedure) | |
| ImmutableByteBag | toImmutable() | Returns an immutable copy of this bag. | 
| MutableList<ByteIntPair> | topOccurrences(int count) | Returns the  countmost frequently occurring items. | 
| MutableByteBag | with(byte element) | |
| MutableByteBag | withAll(ByteIterable elements) | |
| MutableByteBag | without(byte element) | |
| MutableByteBag | withoutAll(ByteIterable elements) | 
equals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinct, toStringOfItemToCountallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, toSortedListadd, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid addOccurrences(byte item,
                    int occurrences)
boolean removeOccurrences(byte item,
                          int occurrences)
default MutableByteBag tap(ByteProcedure procedure)
tap in interface ByteBagtap in interface ByteIterabletap in interface MutableByteCollectionMutableByteBag selectByOccurrences(IntPredicate predicate)
selectByOccurrences in interface ByteBagdefault MutableByteBag selectDuplicates()
selectDuplicates in interface ByteBagdefault MutableByteSet selectUnique()
selectUnique in interface ByteBagMutableList<ByteIntPair> topOccurrences(int count)
count most frequently occurring items.
 In the event of a tie, all of the items with the number of occurrences that match the occurrences of the last
 item will be returned.topOccurrences in interface ByteBagMutableList<ByteIntPair> bottomOccurrences(int count)
count least frequently occurring items.
 In the event of a tie, all of the items with the number of occurrences that match the occurrences of the last
 item will be returned.bottomOccurrences in interface ByteBagMutableByteBag select(BytePredicate predicate)
ByteIterableselect in interface ByteBagselect in interface ByteIterableselect in interface MutableByteCollectionMutableByteBag reject(BytePredicate predicate)
ByteIterablereject in interface ByteBagreject in interface ByteIterablereject in interface MutableByteCollection<V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect 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 MutableByteCollectiondefault MutableByteBag newEmpty()
newEmpty in interface MutableByteCollectionCopyright © 2004–2018. All rights reserved.