| Modifier and Type | Method and Description |
|---|---|
| public <V> Bag | collect(IntToObjectFunction<? 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(IntProcedure
the procedure to invoke for each value in this map. procedure)Iterates through each value in this map. |
| public IntBag | reject(IntPredicate predicate)
Redeclares org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate. |
| public IntBag | select(IntPredicate predicate)
Redeclares org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate. |
| public default IntValuesMap | |
| public MutableIntCollection | 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(int value) Returns whether or not this map contains the value.
| |
| forEachValue | back to summary |
|---|---|
| public void forEachValue(IntProcedure procedure) Iterates through each value in this map.
| |
| reject | back to summary |
|---|---|
| public IntBag reject(IntPredicate predicate) Redeclares org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public IntBag select(IntPredicate predicate) Redeclares org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate.
| |
| tap | back to summary |
|---|---|
| public default IntValuesMap tap(IntProcedure procedure) Overrides default org.
| |
| values | back to summary |
|---|---|
| public MutableIntCollection 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.
| |