BooleanIterable, PrimitiveIterableImmutableBooleanSet, MutableBooleanSetBooleanHashSet, SynchronizedBooleanSet, UnmodifiableBooleanSetpublic 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, reject, select, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdefault BooleanSet tap(BooleanProcedure procedure)
tap in interface BooleanIterableboolean equals(java.lang.Object o)
Set.equals(Object).equals in class java.lang.Objectint hashCode()
Set.hashCode().hashCode in class java.lang.ObjectBooleanSet select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableBooleanSet reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterable<V> SetIterable<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterableBooleanSet freeze()
ImmutableBooleanSet toImmutable()
Copyright © 2004–2018. All rights reserved.