| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public <V> MutableBag | 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 MutableShortBag | 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 MutableShortBag | 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 MutableShortIterator | shortIterator()
Redeclares org. Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style. |
| 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.
| |
| reject | back to summary |
|---|---|
| public MutableShortBag 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 MutableShortBag 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.
| |
| shortIterator | back to summary |
|---|---|
| public MutableShortIterator shortIterator() Redeclares org. Doc from org. Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.
| |