public interface BooleanValuesMap extends BooleanIterable
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<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 |
containsValue(boolean value)
Returns whether or not this map contains the value.
|
void |
forEachValue(BooleanProcedure procedure)
Iterates through each value in this map.
|
BooleanBag |
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
BooleanBag |
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default BooleanValuesMap |
tap(BooleanProcedure procedure) |
MutableBooleanCollection |
values()
Returns the values in this map as a separate collection.
|
allSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringboolean containsValue(boolean value)
value - the value to testvoid forEachValue(BooleanProcedure procedure)
procedure - the procedure to invoke for each value in this map.MutableBooleanCollection values()
BooleanBag select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableBooleanBag reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterabledefault BooleanValuesMap tap(BooleanProcedure procedure)
tap in interface BooleanIterable<V> Bag<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterableCopyright © 2004–2021. All rights reserved.