| Package | Description |
|---|---|
| org.eclipse.collections.api.collection | |
| 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.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableObjectLongMap<V> |
ImmutableCollection.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> ImmutableObjectLongMap<V> |
ImmutableCollection.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.empty() |
<T,K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableObjectLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.of()
|
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.of(K key,
long value)
|
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.ofAll(ObjectLongMap<? extends K> map)
|
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.with()
|
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.with(K key,
long value) |
<K> ImmutableObjectLongMap<K> |
ImmutableObjectLongMapFactory.withAll(ObjectLongMap<? extends K> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableObjectLongMap<V> |
ImmutableLongObjectMap.flipUniqueValues() |
ImmutableObjectLongMap<K> |
ImmutableObjectLongMap.newWithKeyValue(K key,
long value)
Copy this map, associate the value with the key (replacing the value if one
already exists for
key), and return the copy as new immutable map. |
ImmutableObjectLongMap<K> |
ImmutableObjectLongMap.newWithoutAllKeys(Iterable<? extends K> keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableObjectLongMap<K> |
ImmutableObjectLongMap.newWithoutKey(K key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableObjectLongMap<K> |
ImmutableObjectLongMap.reject(ObjectLongPredicate<? super K> predicate) |
ImmutableObjectLongMap<K> |
ImmutableObjectLongMap.select(ObjectLongPredicate<? super K> predicate) |
<VV> ImmutableObjectLongMap<VV> |
ImmutablePrimitiveObjectMap.sumByInt(Function<? super V,? extends VV> groupBy,
IntFunction<? super V> function) |
<VV> ImmutableObjectLongMap<VV> |
ImmutablePrimitiveObjectMap.sumByLong(Function<? super V,? extends VV> groupBy,
LongFunction<? super V> function) |
default ImmutableObjectLongMap<K> |
ImmutableObjectLongMap.tap(LongProcedure procedure) |
ImmutableObjectLongMap<K> |
ObjectLongMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableObjectLongMap<V> |
ImmutableStack.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> ImmutableObjectLongMap<V> |
ImmutableStack.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
Copyright © 2004–2023. All rights reserved.