| Package | Description |
|---|---|
| org.eclipse.collections.api.collection | |
| org.eclipse.collections.api.factory.map.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.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
<V> MutableObjectLongMap<V> |
MutableCollection.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> MutableObjectLongMap<V> |
MutableCollection.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.empty() |
<K> MutableObjectLongMap<K> |
MutableObjectLongHashingStrategyMapFactory.empty(HashingStrategy<? super K> hashingStrategy) |
<T,K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
MutableObjectLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.of()
Same as
MutableObjectLongMapFactory.empty(). |
<K> MutableObjectLongMap<K> |
MutableObjectLongHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.of(K key,
long value) |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.of(K key1,
long value1,
K key2,
long value2) |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.of(K key1,
long value1,
K key2,
long value2,
K key3,
long value3) |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.of(K key1,
long value1,
K key2,
long value2,
K key3,
long value3,
K key4,
long value4) |
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.ofAll(ObjectLongMap<? extends K> map)
|
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.ofInitialCapacity(int capacity)
Same as
MutableObjectLongMapFactory.empty(). |
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.with()
Same as
MutableObjectLongMapFactory.empty(). |
<K> MutableObjectLongMap<K> |
MutableObjectLongHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.with(K key,
long value) |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.with(K key1,
long value1,
K key2,
long value2) |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.with(K key1,
long value1,
K key2,
long value2,
K key3,
long value3) |
default <K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.with(K key1,
long value1,
K key2,
long value2,
K key3,
long value3,
K key4,
long value4) |
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.withAll(ObjectLongMap<? extends K> map) |
<K> MutableObjectLongMap<K> |
MutableObjectLongHashingStrategyMapFactory.withInitialCapacity(HashingStrategy<? super K> hashingStrategy,
int initialCapacity)
Same as
#empty() but takes in an initial capacity |
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.withInitialCapacity(int capacity)
Same as
MutableObjectLongMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
<V1> MutableObjectLongMap<V1> |
MutableMapIterable.sumByInt(Function<? super V,? extends V1> groupBy,
IntFunction<? super V> function) |
<V1> MutableObjectLongMap<V1> |
MutableMapIterable.sumByLong(Function<? super V,? extends V1> groupBy,
LongFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
MutableObjectLongMap<K> |
MutableObjectLongMap.asSynchronized() |
MutableObjectLongMap<K> |
MutableObjectLongMap.asUnmodifiable() |
MutableObjectLongMap<V> |
MutableLongObjectMap.flipUniqueValues() |
MutableObjectLongMap<K> |
MutableObjectLongMap.reject(ObjectLongPredicate<? super K> predicate) |
MutableObjectLongMap<K> |
MutableObjectLongMap.select(ObjectLongPredicate<? super K> predicate) |
<VV> MutableObjectLongMap<VV> |
MutablePrimitiveObjectMap.sumByInt(Function<? super V,? extends VV> groupBy,
IntFunction<? super V> function) |
<VV> MutableObjectLongMap<VV> |
MutablePrimitiveObjectMap.sumByLong(Function<? super V,? extends VV> groupBy,
LongFunction<? super V> function) |
default MutableObjectLongMap<K> |
MutableObjectLongMap.tap(LongProcedure procedure) |
default MutableObjectLongMap<K> |
MutableObjectLongMap.withAllKeyValues(Iterable<ObjectLongPair<K>> keyValuePairs) |
MutableObjectLongMap<K> |
MutableObjectLongMap.withKeyValue(K key,
long value)
Associates a value with the specified key.
|
MutableObjectLongMap<K> |
MutableObjectLongMap.withoutAllKeys(Iterable<? extends K> keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableObjectLongMap<K> |
MutableObjectLongMap.withoutKey(K key)
Removes the mapping associated with the key, if one exists, from this map.
|
| Modifier and Type | Method and Description |
|---|---|
<V> MutableObjectLongMap<V> |
MutableStack.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> MutableObjectLongMap<V> |
MutableStack.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
Copyright © 2004–2023. All rights reserved.