public abstract class AbstractImmutableByteSet extends AbstractByteSet implements ImmutableByteSet
Constructor and Description |
---|
AbstractImmutableByteSet() |
Modifier and Type | Method and Description |
---|---|
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.
|
equals, hashCode
appendString, appendString, asLazy, average, containsAll, containsAll, isEmpty, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, notEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
collect, reject, select
allSatisfy, anySatisfy, asLazy, average, byteIterator, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public ImmutableByteSet newWith(byte element)
newWith
in interface ImmutableByteCollection
newWith
in interface ImmutableByteSet
public ImmutableByteSet newWithout(byte element)
newWithout
in interface ImmutableByteCollection
newWithout
in interface ImmutableByteSet
public ImmutableByteSet newWithAll(ByteIterable elements)
newWithAll
in interface ImmutableByteCollection
newWithAll
in interface ImmutableByteSet
public ImmutableByteSet newWithoutAll(ByteIterable elements)
newWithoutAll
in interface ImmutableByteCollection
newWithoutAll
in interface ImmutableByteSet
public ByteSet freeze()
ByteSet
public ImmutableByteSet toImmutable()
ByteSet
toImmutable
in interface ByteSet
Copyright © 2004–2016. All rights reserved.