| 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 |
|---|---|
LazyIntIterable |
LazyIntIterable.collectInt(IntToIntFunction function) |
default <R extends MutableIntCollection> |
IntIterable.collectInt(IntToIntFunction function,
R target)
Returns the target
MutableIntCollection with the results of applying the specified function on each element
of the source collection. |
| Modifier and Type | Method and Description |
|---|---|
int |
MutableIntIntMap.getIfAbsentPutWithKey(int key,
IntToIntFunction 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.
|
int |
MutableByteIntMap.updateValue(byte key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableCharIntMap.updateValue(char key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableDoubleIntMap.updateValue(double key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableFloatIntMap.updateValue(float key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableIntIntMap.updateValue(int key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableObjectIntMap.updateValue(K key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableLongIntMap.updateValue(long key,
int initialValueIfAbsent,
IntToIntFunction 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.
|
int |
MutableShortIntMap.updateValue(short key,
int initialValueIfAbsent,
IntToIntFunction 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.