public interface ShortValuesMap extends ShortIterable
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
collect(ShortToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
containsValue(short value)
Returns whether or not this map contains the value.
|
void |
forEachValue(ShortProcedure procedure)
Iterates through each value in this map.
|
ShortBag |
reject(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ShortBag |
select(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
default ShortValuesMap |
tap(ShortProcedure procedure) |
MutableShortCollection |
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, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, shortIterator, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringboolean containsValue(short value)
value - the value to testvoid forEachValue(ShortProcedure procedure)
procedure - the procedure to invoke for each value in this map.MutableShortCollection values()
ShortBag select(ShortPredicate predicate)
ShortIterableselect in interface ShortIterableShortBag reject(ShortPredicate predicate)
ShortIterablereject in interface ShortIterabledefault ShortValuesMap tap(ShortProcedure procedure)
tap in interface ShortIterable<V> Bag<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface ShortIterableCopyright © 2004–2023. All rights reserved.