ByteIterable, ImmutableByteCollection, PrimitiveIterable, ByteSet, ImmutableByteSetpublic abstract class AbstractImmutableByteSet extends AbstractByteSet implements ImmutableByteSet
| Constructor | Description |
|---|---|
AbstractImmutableByteSet() |
| Modifier and Type | Method | Description |
|---|---|---|
RichIterable<ByteIterable> |
chunk(int size) |
Partitions elements in fixed size chunks.
|
ByteSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableByteSet |
newWith(byte element) |
|
ImmutableByteSet |
newWithAll(ByteIterable elements) |
|
ImmutableByteSet |
newWithout(byte element) |
|
ImmutableByteSet |
newWithoutAll(ByteIterable elements) |
|
ImmutableByteSet |
toImmutable() |
Returns an immutable copy of this set.
|
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringequals, hashCodeallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, byteIterator, 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, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListcollect, reject, select, tapappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic ImmutableByteSet newWith(byte element)
newWith in interface ImmutableByteCollectionnewWith in interface ImmutableByteSetpublic ImmutableByteSet newWithout(byte element)
newWithout in interface ImmutableByteCollectionnewWithout in interface ImmutableByteSetpublic ImmutableByteSet newWithAll(ByteIterable elements)
newWithAll in interface ImmutableByteCollectionnewWithAll in interface ImmutableByteSetpublic ImmutableByteSet newWithoutAll(ByteIterable elements)
newWithoutAll in interface ImmutableByteCollectionnewWithoutAll in interface ImmutableByteSetpublic ByteSet freeze()
ByteSetpublic ImmutableByteSet toImmutable()
ByteSettoImmutable in interface ByteSetpublic RichIterable<ByteIterable> chunk(int size)
ByteIterablechunk in interface ByteIterablesize - the number of elements per chunkRichIterable containing ByteIterables of size size, except the last will be
truncated if the elements don't divide evenly.Copyright © 2004–2019. All rights reserved.