BooleanIterable
, BooleanSet
, MutableBooleanCollection
, PrimitiveIterable
BooleanHashSet
, SynchronizedBooleanSet
, UnmodifiableBooleanSet
public interface MutableBooleanSet extends MutableBooleanCollection, BooleanSet
Modifier and Type | Method | Description |
---|---|---|
MutableBooleanSet |
asSynchronized() |
|
MutableBooleanSet |
asUnmodifiable() |
|
<V> MutableSet<V> |
collect(BooleanToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
BooleanSet |
freeze() |
Returns a frozen copy of this set.
|
default MutableBooleanSet |
newEmpty() |
Creates a new empty mutable version of the same Set type.
|
MutableBooleanSet |
reject(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
MutableBooleanSet |
select(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default MutableBooleanSet |
tap(BooleanProcedure procedure) |
|
ImmutableBooleanSet |
toImmutable() |
Returns an immutable copy of this set.
|
MutableBooleanSet |
with(boolean element) |
|
MutableBooleanSet |
withAll(BooleanIterable elements) |
|
MutableBooleanSet |
without(boolean element) |
|
MutableBooleanSet |
withoutAll(BooleanIterable elements) |
allSatisfy, anySatisfy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reject, select, toArray, toBag, toList, toSet
equals, hashCode
add, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAll
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableBooleanSet select(BooleanPredicate predicate)
BooleanIterable
select
in interface BooleanIterable
select
in interface BooleanSet
select
in interface MutableBooleanCollection
MutableBooleanSet reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
reject
in interface BooleanSet
reject
in interface MutableBooleanCollection
default MutableBooleanSet tap(BooleanProcedure procedure)
tap
in interface BooleanIterable
tap
in interface BooleanSet
tap
in interface MutableBooleanCollection
<V> MutableSet<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
collect
in interface BooleanSet
collect
in interface MutableBooleanCollection
MutableBooleanSet with(boolean element)
with
in interface MutableBooleanCollection
MutableBooleanSet without(boolean element)
without
in interface MutableBooleanCollection
MutableBooleanSet withAll(BooleanIterable elements)
withAll
in interface MutableBooleanCollection
MutableBooleanSet withoutAll(BooleanIterable elements)
withoutAll
in interface MutableBooleanCollection
MutableBooleanSet asUnmodifiable()
asUnmodifiable
in interface MutableBooleanCollection
MutableBooleanSet asSynchronized()
asSynchronized
in interface MutableBooleanCollection
BooleanSet freeze()
freeze
in interface BooleanSet
ImmutableBooleanSet toImmutable()
toImmutable
in interface BooleanSet
toImmutable
in interface MutableBooleanCollection
default MutableBooleanSet newEmpty()
newEmpty
in interface MutableBooleanCollection
Copyright © 2004–2018. All rights reserved.