| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.factory.map.primitive | |
| 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 |
|---|---|
<V> ObjectLongMap<V> |
RichIterable.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function)
Groups and sums the values using the two specified functions.
|
<V> ObjectLongMap<V> |
RichIterable.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function)
Groups and sums the values using the two specified functions.
|
| Modifier and Type | Method and Description |
|---|---|
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.ofAll(ObjectLongMap<? extends K> map)
|
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.ofAll(ObjectLongMap<? extends K> map)
|
<K> MutableObjectLongMap<K> |
MutableObjectLongMapFactory.withAll(ObjectLongMap<? extends K> map) |
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.withAll(ObjectLongMap<? extends K> map) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableObjectLongMap<K>
This file was automatically generated from template file immutableObjectPrimitiveMap.stg.
|
interface |
MutableObjectLongMap<K>
This file was automatically generated from template file mutableObjectPrimitiveMap.stg.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectLongMap<V> |
LongObjectMap.flipUniqueValues()
Return the ObjectLongMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ObjectLongMap<K> |
ObjectLongMap.reject(ObjectLongPredicate<? super K> predicate)
Return a copy of this map containing only the key/value pairs that do not match the
predicate.
|
ObjectLongMap<K> |
ObjectLongMap.select(ObjectLongPredicate<? super K> predicate)
Return a copy of this map containing only the key/value pairs that match the predicate.
|
default ObjectLongMap<K> |
ObjectLongMap.tap(LongProcedure procedure) |
| Modifier and Type | Method and Description |
|---|---|
void |
MutableObjectLongMap.putAll(ObjectLongMap<? extends K> map)
Puts all of the key/value mappings from the specified map into this map.
|
Copyright © 2004–2021. All rights reserved.