public interface BooleanSet extends BooleanIterable
| Modifier and Type | Method and 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(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, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdefault BooleanSet tap(BooleanProcedure procedure)
tap in interface BooleanIterableboolean equals(Object o)
Set.equals(Object).int hashCode()
Set.hashCode().BooleanSet 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–2020. All rights reserved.