| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public <V> MutableBag | 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 MutableLongIterator | longIterator()
Redeclares org. Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style. |
| public MutableLongBag | 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 MutableLongBag | select(LongPredicate predicate)
Redeclares org. Returns a new LongIterable with all of the elements in the LongIterable that return true for the specified predicate. |
| clear | back to summary |
|---|---|
| public void clear() Removes all entries from this map. | |
| collect | back to summary |
|---|---|
| public <V> MutableBag 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.
| |
| longIterator | back to summary |
|---|---|
| public MutableLongIterator longIterator() Redeclares org. Doc from org. Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.
| |
| reject | back to summary |
|---|---|
| public MutableLongBag 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 MutableLongBag 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.
| |