| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
| org.eclipse.collections.api.bag.primitive |
This package contains API for Primitive Bags with Mutable and Immutable variants.
|
| org.eclipse.collections.api.factory.bag.primitive | |
| org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
| Modifier and Type | Method and Description |
|---|---|
MutableShortBag |
ShortIterable.toBag()
Converts the ShortIterable to a new MutableShortBag.
|
| Modifier and Type | Method and Description |
|---|---|
MutableShortBag |
MutableBag.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortBag |
MutableShortBag.asSynchronized() |
MutableShortBag |
MutableShortBag.asUnmodifiable() |
default MutableShortBag |
MutableShortBag.newEmpty()
Creates a new empty mutable version of the same Bag type.
|
MutableShortBag |
MutableShortBag.reject(ShortPredicate predicate) |
MutableShortBag |
MutableShortBag.select(ShortPredicate predicate) |
MutableShortBag |
MutableShortBag.selectByOccurrences(IntPredicate predicate)
Returns all elements of the bag that have a number of occurrences that satisfy the predicate.
|
default MutableShortBag |
MutableShortBag.selectDuplicates()
Returns all elements of the bag that have more than one occurrence.
|
default MutableShortBag |
MutableShortBag.tap(ShortProcedure procedure) |
MutableShortBag |
MutableShortBag.with(short element) |
MutableShortBag |
MutableShortBag.withAll(ShortIterable elements) |
MutableShortBag |
MutableShortBag.without(short element) |
MutableShortBag |
MutableShortBag.withoutAll(ShortIterable elements) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortBag |
MutableShortBagFactory.empty() |
MutableShortBag |
MutableShortBagFactory.of()
Same as
MutableShortBagFactory.empty(). |
MutableShortBag |
MutableShortBagFactory.of(short... items)
Same as
MutableShortBagFactory.with(short[]). |
MutableShortBag |
MutableShortBagFactory.ofAll(Iterable<Short> iterable)
|
MutableShortBag |
MutableShortBagFactory.ofAll(ShortIterable items)
|
MutableShortBag |
MutableShortBagFactory.with()
Same as
MutableShortBagFactory.empty(). |
MutableShortBag |
MutableShortBagFactory.with(short... items) |
MutableShortBag |
MutableShortBagFactory.withAll(Iterable<Short> iterable) |
MutableShortBag |
MutableShortBagFactory.withAll(ShortIterable items) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortBag |
MutableMap.collectShort(ShortFunction<? super V> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortBag |
MutablePrimitiveObjectMap.collectShort(ShortFunction<? super V> shortFunction) |
MutableShortBag |
MutableShortValuesMap.reject(ShortPredicate predicate) |
MutableShortBag |
MutableShortValuesMap.select(ShortPredicate predicate) |
Copyright © 2004–2021. All rights reserved.