| 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 |
|---|---|
MutableLongBag |
LongIterable.toBag()
Converts the LongIterable to a new MutableLongBag.
|
| Modifier and Type | Method and Description |
|---|---|
default MutableLongBag |
MutableBag.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongBag |
MutableLongBag.asSynchronized() |
MutableLongBag |
MutableLongBag.asUnmodifiable() |
default MutableLongBag |
MutableLongBag.newEmpty()
Creates a new empty mutable version of the same Bag type.
|
MutableLongBag |
MutableLongBag.reject(LongPredicate predicate) |
MutableLongBag |
MutableLongBag.select(LongPredicate predicate) |
MutableLongBag |
MutableLongBag.selectByOccurrences(IntPredicate predicate)
Returns all elements of the bag that have a number of occurrences that satisfy the predicate.
|
default MutableLongBag |
MutableLongBag.selectDuplicates()
Returns all elements of the bag that have more than one occurrence.
|
default MutableLongBag |
MutableLongBag.tap(LongProcedure procedure) |
MutableLongBag |
MutableLongBag.with(long element) |
MutableLongBag |
MutableLongBag.withAll(LongIterable elements) |
MutableLongBag |
MutableLongBag.without(long element) |
MutableLongBag |
MutableLongBag.withoutAll(LongIterable elements) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongBag |
MutableLongBagFactory.empty() |
MutableLongBag |
MutableLongBagFactory.of()
Same as
MutableLongBagFactory.empty(). |
MutableLongBag |
MutableLongBagFactory.of(long... items)
Same as
MutableLongBagFactory.with(long[]). |
MutableLongBag |
MutableLongBagFactory.ofAll(Iterable<Long> iterable)
|
MutableLongBag |
MutableLongBagFactory.ofAll(LongIterable items)
|
MutableLongBag |
MutableLongBagFactory.ofAll(LongStream items) |
MutableLongBag |
MutableLongBagFactory.with()
Same as
MutableLongBagFactory.empty(). |
MutableLongBag |
MutableLongBagFactory.with(long... items) |
MutableLongBag |
MutableLongBagFactory.withAll(Iterable<Long> iterable) |
MutableLongBag |
MutableLongBagFactory.withAll(LongIterable items) |
MutableLongBag |
MutableLongBagFactory.withAll(LongStream items) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongBag |
MutableMap.collectLong(LongFunction<? super V> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongBag |
MutablePrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) |
MutableLongBag |
MutableLongValuesMap.reject(LongPredicate predicate) |
MutableLongBag |
MutableLongValuesMap.select(LongPredicate predicate) |
Copyright © 2004–2022. All rights reserved.