public interface LongValuesMap extends LongIterable
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
collect(LongToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
containsValue(long value)
Returns whether or not this map contains the value.
|
void |
forEachValue(LongProcedure procedure)
Iterates through each value in this map.
|
LongBag |
reject(LongPredicate predicate)
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
LongBag |
select(LongPredicate predicate)
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
default LongValuesMap |
tap(LongProcedure procedure) |
MutableLongCollection |
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, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, longIterator, 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(long value)
value - the value to testvoid forEachValue(LongProcedure procedure)
procedure - the procedure to invoke for each value in this map.MutableLongCollection values()
LongBag select(LongPredicate predicate)
LongIterableselect in interface LongIterableLongBag reject(LongPredicate predicate)
LongIterablereject in interface LongIterabledefault LongValuesMap tap(LongProcedure procedure)
tap in interface LongIterable<V> Bag<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterableCopyright © 2004–2023. All rights reserved.