BooleanIterable
, PrimitiveIterable
ImmutableBooleanSet
, MutableBooleanSet
BooleanHashSet
, SynchronizedBooleanSet
, UnmodifiableBooleanSet
public interface BooleanSet extends BooleanIterable
Modifier and Type | Method | Description |
---|---|---|
<V> SetIterable<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.
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Set.equals(Object) . |
BooleanSet |
freeze() |
Returns a frozen copy of this set.
|
int |
hashCode() |
Follows the same general contract as
Set.hashCode() . |
BooleanSet |
reject(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
BooleanSet |
select(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default BooleanSet |
tap(BooleanProcedure procedure) |
|
ImmutableBooleanSet |
toImmutable() |
Returns an immutable copy of this set.
|
allSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toBag, toList, toSet
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
default BooleanSet tap(BooleanProcedure procedure)
tap
in interface BooleanIterable
boolean equals(java.lang.Object o)
Set.equals(Object)
.equals
in class java.lang.Object
int hashCode()
Set.hashCode()
.hashCode
in class java.lang.Object
BooleanSet select(BooleanPredicate predicate)
BooleanIterable
select
in interface BooleanIterable
BooleanSet reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
<V> SetIterable<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
BooleanSet freeze()
ImmutableBooleanSet toImmutable()
Copyright © 2004–2020. All rights reserved.