public interface CharValuesMap extends CharIterable
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
collect(CharToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
containsValue(char value)
Returns whether or not this map contains the value.
|
void |
forEachValue(CharProcedure procedure)
Iterates through each value in this map.
|
CharBag |
reject(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
CharBag |
select(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default CharValuesMap |
tap(CharProcedure procedure) |
MutableCharCollection |
values()
Returns the values in this map as a separate collection.
|
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringboolean containsValue(char value)
value - the value to testvoid forEachValue(CharProcedure procedure)
procedure - the procedure to invoke for each value in this map.MutableCharCollection values()
CharBag select(CharPredicate predicate)
CharIterableselect in interface CharIterableCharBag reject(CharPredicate predicate)
CharIterablereject in interface CharIterabledefault CharValuesMap tap(CharProcedure procedure)
tap in interface CharIterable<V> Bag<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterableCopyright © 2004–2023. All rights reserved.