public interface DoubleValuesMap extends DoubleIterable
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
collect(DoubleToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
containsValue(double value)
Returns whether or not this map contains the value.
|
void |
forEachValue(DoubleProcedure procedure)
Iterates through each value in this map.
|
DoubleBag |
reject(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
DoubleBag |
select(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
default DoubleValuesMap |
tap(DoubleProcedure procedure) |
MutableDoubleCollection |
values()
Returns the values in this map as a separate collection.
|
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, doubleIterator, 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(double value)
value - the value to testvoid forEachValue(DoubleProcedure procedure)
procedure - the procedure to invoke for each value in this map.MutableDoubleCollection values()
DoubleBag select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableDoubleBag reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterabledefault DoubleValuesMap tap(DoubleProcedure procedure)
tap in interface DoubleIterable<V> Bag<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterableCopyright © 2004–2022. All rights reserved.