| 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 |
|---|---|
MutableShortBooleanMap |
MutableShortBooleanMapFactory.empty() |
<T> MutableShortBooleanMap |
MutableShortBooleanMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableShortBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableShortBooleanMap |
MutableShortBooleanMapFactory.of()
|
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.of(short key,
boolean value) |
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.of(short key1,
boolean value1,
short key2,
boolean value2) |
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.of(short key1,
boolean value1,
short key2,
boolean value2,
short key3,
boolean value3) |
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.of(short key1,
boolean value1,
short key2,
boolean value2,
short key3,
boolean value3,
short key4,
boolean value4) |
MutableShortBooleanMap |
MutableShortBooleanMapFactory.ofAll(ShortBooleanMap map)
|
MutableShortBooleanMap |
MutableShortBooleanMapFactory.ofInitialCapacity(int capacity)
|
MutableShortBooleanMap |
MutableShortBooleanMapFactory.with()
|
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.with(short key,
boolean value) |
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.with(short key1,
boolean value1,
short key2,
boolean value2) |
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.with(short key1,
boolean value1,
short key2,
boolean value2,
short key3,
boolean value3) |
default MutableShortBooleanMap |
MutableShortBooleanMapFactory.with(short key1,
boolean value1,
short key2,
boolean value2,
short key3,
boolean value3,
short key4,
boolean value4) |
MutableShortBooleanMap |
MutableShortBooleanMapFactory.withAll(ShortBooleanMap map) |
MutableShortBooleanMap |
MutableShortBooleanMapFactory.withInitialCapacity(int capacity)
|
| Modifier and Type | Method and Description |
|---|---|
MutableShortBooleanMap |
MutableShortBooleanMap.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.
|
MutableShortBooleanMap |
MutableShortBooleanMap.asUnmodifiable()
Returns an unmodifiable view of this map, delegating all read-only operations to this
map and throwing an
UnsupportedOperationException for all mutating operations. |
MutableShortBooleanMap |
MutableShortBooleanMap.reject(ShortBooleanPredicate predicate) |
MutableShortBooleanMap |
MutableShortBooleanMap.select(ShortBooleanPredicate predicate) |
default MutableShortBooleanMap |
MutableShortBooleanMap.withAllKeyValues(Iterable<ShortBooleanPair> keyValuePairs)
Puts all of the key/value mappings from the specified pairs into this map.
|
MutableShortBooleanMap |
MutableShortBooleanMap.withKeyValue(short key,
boolean value)
Associates a value with the specified key.
|
MutableShortBooleanMap |
MutableShortBooleanMap.withoutAllKeys(ShortIterable keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableShortBooleanMap |
MutableShortBooleanMap.withoutKey(short key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2022. All rights reserved.