public interface IntValuesMap extends IntIterable
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
collect(IntToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
containsValue(int value)
Returns whether or not this map contains the value.
|
void |
forEachValue(IntProcedure procedure)
Iterates through each value in this map.
|
IntBag |
reject(IntPredicate predicate)
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
IntBag |
select(IntPredicate predicate)
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
default IntValuesMap |
tap(IntProcedure procedure) |
MutableIntCollection |
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, intIterator, 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(int value)
value - the value to testvoid forEachValue(IntProcedure procedure)
procedure - the procedure to invoke for each value in this map.MutableIntCollection values()
IntBag select(IntPredicate predicate)
IntIterableselect in interface IntIterableIntBag reject(IntPredicate predicate)
IntIterablereject in interface IntIterabledefault IntValuesMap tap(IntProcedure procedure)
tap in interface IntIterable<V> Bag<V> collect(IntToObjectFunction<? extends V> function)
IntIterablecollect in interface IntIterableCopyright © 2004–2022. All rights reserved.