| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| 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 |
|---|---|
LazyLongIterable |
LazyLongIterable.collectLong(LongToLongFunction function) |
default <R extends MutableLongCollection> |
LongIterable.collectLong(LongToLongFunction function,
R target)
Returns the target
MutableLongCollection with the results of applying the specified function on each element
of the source collection. |
| Modifier and Type | Method and Description |
|---|---|
long |
MutableLongLongMap.getIfAbsentPutWithKey(long key,
LongToLongFunction function)
Retrieves the value associated with the key if one exists; if it does not,
associates the result of invoking the value function with the key.
|
long |
MutableByteLongMap.updateValue(byte key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableCharLongMap.updateValue(char key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableDoubleLongMap.updateValue(double key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableFloatLongMap.updateValue(float key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableIntLongMap.updateValue(int key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableObjectLongMap.updateValue(K key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableLongLongMap.updateValue(long key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
long |
MutableShortLongMap.updateValue(short key,
long initialValueIfAbsent,
LongToLongFunction function)
Updates or sets the value associated with the key by applying the function to the
existing value, if one exists, or to the specified initial value if one does not.
|
Copyright © 2004–2022. All rights reserved.