| Package | Description |
|---|---|
| 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 |
|---|---|
MutableIntShortMap |
MutableIntShortMapFactory.empty() |
<T> MutableIntShortMap |
MutableIntShortMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableIntShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableIntShortMap |
MutableIntShortMapFactory.of()
Same as
MutableIntShortMapFactory.empty(). |
MutableIntShortMap |
MutableIntShortMapFactory.ofAll(IntShortMap map)
|
MutableIntShortMap |
MutableIntShortMapFactory.ofInitialCapacity(int capacity)
Same as
MutableIntShortMapFactory.empty(). |
MutableIntShortMap |
MutableIntShortMapFactory.with()
Same as
MutableIntShortMapFactory.empty(). |
MutableIntShortMap |
MutableIntShortMapFactory.withAll(IntShortMap map) |
MutableIntShortMap |
MutableIntShortMapFactory.withInitialCapacity(int capacity)
Same as
MutableIntShortMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableIntShortMap |
MutableIntShortMap.asSynchronized()
Returns a synchronized view of this map, delegating all operations to this map but
ensuring only one caller has access to the map at a time.
|
MutableIntShortMap |
MutableIntShortMap.asUnmodifiable()
Returns an unmodifiable view of this map, delegating all read-only operations to this
map and throwing an
UnsupportedOperationException for all mutating operations. |
MutableIntShortMap |
MutableShortIntMap.flipUniqueValues() |
MutableIntShortMap |
MutableIntShortMap.reject(IntShortPredicate predicate) |
MutableIntShortMap |
MutableIntShortMap.select(IntShortPredicate predicate) |
default MutableIntShortMap |
MutableIntShortMap.withAllKeyValues(Iterable<IntShortPair> keyValuePairs)
Puts all of the key/value mappings from the specified pairs into this map.
|
MutableIntShortMap |
MutableIntShortMap.withKeyValue(int key,
short value)
Associates a value with the specified key.
|
MutableIntShortMap |
MutableIntShortMap.withoutAllKeys(IntIterable keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableIntShortMap |
MutableIntShortMap.withoutKey(int key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2020. All rights reserved.