| 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 |
|---|---|
LazyShortIterable |
LazyShortIterable.collectShort(ShortToShortFunction function) |
default <R extends MutableShortCollection> |
ShortIterable.collectShort(ShortToShortFunction function,
R target)
Returns the target
MutableShortCollection with the results of applying the specified function on each element
of the source collection. |
| Modifier and Type | Method and Description |
|---|---|
short |
MutableShortShortMap.getIfAbsentPutWithKey(short key,
ShortToShortFunction 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.
|
short |
MutableByteShortMap.updateValue(byte key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableCharShortMap.updateValue(char key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableDoubleShortMap.updateValue(double key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableFloatShortMap.updateValue(float key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableIntShortMap.updateValue(int key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableObjectShortMap.updateValue(K key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableLongShortMap.updateValue(long key,
short initialValueIfAbsent,
ShortToShortFunction 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.
|
short |
MutableShortShortMap.updateValue(short key,
short initialValueIfAbsent,
ShortToShortFunction 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.