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