| Modifier and Type | Method and Description |
|---|---|
| public <V> Bag | collect(ShortToObjectFunction<? extends V> function)
Redeclares org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public boolean | Returns: if this collection contains the valuethe value to test value)Returns whether or not this map contains the value. |
| public void | forEachValue(ShortProcedure
the procedure to invoke for each value in this map. procedure)Iterates through each value in this map. |
| public ShortBag | reject(ShortPredicate predicate)
Redeclares org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate. |
| public ShortBag | select(ShortPredicate predicate)
Redeclares org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate. |
| public default ShortValuesMap | |
| public MutableShortCollection | Returns: the values as a collection backed by this mapReturns the values in this map as a separate collection. |
| collect | back to summary |
|---|---|
| public <V> Bag Redeclares org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(short value) Returns whether or not this map contains the value.
| |
| forEachValue | back to summary |
|---|---|
| public void forEachValue(ShortProcedure procedure) Iterates through each value in this map.
| |
| reject | back to summary |
|---|---|
| public ShortBag reject(ShortPredicate predicate) Redeclares org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ShortBag select(ShortPredicate predicate) Redeclares org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate.
| |
| tap | back to summary |
|---|---|
| public default ShortValuesMap tap(ShortProcedure procedure) Overrides default org.
| |
| values | back to summary |
|---|---|
| public MutableShortCollection values() Returns the values in this map as a separate collection. The returned collection is backed by the map, so any changes made to the returned collection will affect the state of this map.
| |