public interface MutableByteSet extends MutableByteCollection, ByteSet
| Modifier and Type | Method and 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.
|
default MutableByteSet |
difference(ByteSet set)
Returns the set of all members of
this that are not members of set. |
ByteSet |
freeze()
Returns a frozen copy of this set.
|
default MutableByteSet |
intersect(ByteSet set)
Returns the set of all objects that are members of both
this and 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 |
symmetricDifference(ByteSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default MutableByteSet |
tap(ByteProcedure procedure) |
ImmutableByteSet |
toImmutable()
Returns an immutable copy of this set.
|
default MutableByteSet |
union(ByteSet set) |
MutableByteSet |
with(byte element) |
MutableByteSet |
withAll(ByteIterable elements) |
MutableByteSet |
without(byte element) |
MutableByteSet |
withoutAll(ByteIterable elements) |
add, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllcartesianProduct, equals, hashCode, isProperSubsetOf, isSubsetOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableByteSet select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableselect in interface ByteSetselect in interface MutableByteCollectionMutableByteSet reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterablereject in interface ByteSetreject in interface MutableByteCollectiondefault MutableByteSet tap(ByteProcedure procedure)
tap in interface ByteIterabletap in interface ByteSettap in interface MutableByteCollection<V> MutableSet<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterablecollect in interface ByteSetcollect in interface MutableByteCollectionMutableByteSet with(byte element)
with in interface MutableByteCollectionMutableByteSet without(byte element)
without in interface MutableByteCollectionMutableByteSet withAll(ByteIterable elements)
withAll in interface MutableByteCollectionMutableByteSet withoutAll(ByteIterable elements)
withoutAll in interface MutableByteCollectionMutableByteSet asUnmodifiable()
asUnmodifiable in interface MutableByteCollectionMutableByteSet asSynchronized()
asSynchronized in interface MutableByteCollectionByteSet freeze()
ImmutableByteSet toImmutable()
toImmutable in interface ByteSettoImmutable in interface MutableByteCollectiondefault MutableByteSet newEmpty()
newEmpty in interface MutableByteCollectiondefault MutableByteSet union(ByteSet set)
default MutableByteSet intersect(ByteSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].default MutableByteSet difference(ByteSet set)
this that are not members of set. The difference of
[1, 2, 3] and [2, 3, 4] is [1].difference in interface ByteSetdefault MutableByteSet symmetricDifference(ByteSet set)
this and set (elements which
are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric
difference set is [1, 4] . It is the set difference of the union and the intersection.symmetricDifference in interface ByteSetCopyright © 2004–2023. All rights reserved.