ByteIterable
, ByteSet
, MutableByteCollection
, PrimitiveIterable
AbstractMutableByteKeySet
, ByteHashSet
, SynchronizedByteSet
, UnmodifiableByteSet
public interface MutableByteSet extends MutableByteCollection, ByteSet
Modifier and Type | Method | Description |
---|---|---|
MutableByteSet |
asSynchronized() |
|
MutableByteSet |
asUnmodifiable() |
|
<V> MutableSet<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.
|
ByteSet |
freeze() |
Returns a frozen copy of this set.
|
default MutableByteSet |
newEmpty() |
Creates a new empty mutable version of the same Set type.
|
MutableByteSet |
reject(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
MutableByteSet |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
default MutableByteSet |
tap(ByteProcedure procedure) |
|
ImmutableByteSet |
toImmutable() |
Returns an immutable copy of this set.
|
MutableByteSet |
with(byte element) |
|
MutableByteSet |
withAll(ByteIterable elements) |
|
MutableByteSet |
without(byte element) |
|
MutableByteSet |
withoutAll(ByteIterable elements) |
allSatisfy, 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, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
add, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAll
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableByteSet select(BytePredicate predicate)
ByteIterable
select
in interface ByteIterable
select
in interface ByteSet
select
in interface MutableByteCollection
MutableByteSet reject(BytePredicate predicate)
ByteIterable
reject
in interface ByteIterable
reject
in interface ByteSet
reject
in interface MutableByteCollection
default MutableByteSet tap(ByteProcedure procedure)
tap
in interface ByteIterable
tap
in interface ByteSet
tap
in interface MutableByteCollection
<V> MutableSet<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterable
collect
in interface ByteIterable
collect
in interface ByteSet
collect
in interface MutableByteCollection
MutableByteSet with(byte element)
with
in interface MutableByteCollection
MutableByteSet without(byte element)
without
in interface MutableByteCollection
MutableByteSet withAll(ByteIterable elements)
withAll
in interface MutableByteCollection
MutableByteSet withoutAll(ByteIterable elements)
withoutAll
in interface MutableByteCollection
MutableByteSet asUnmodifiable()
asUnmodifiable
in interface MutableByteCollection
MutableByteSet asSynchronized()
asSynchronized
in interface MutableByteCollection
ByteSet freeze()
ImmutableByteSet toImmutable()
toImmutable
in interface ByteSet
toImmutable
in interface MutableByteCollection
default MutableByteSet newEmpty()
newEmpty
in interface MutableByteCollection
Copyright © 2004–2020. All rights reserved.