| 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 |
|---|---|
ImmutableIntByteMap |
ImmutableIntByteMapFactory.empty() |
<T> ImmutableIntByteMap |
ImmutableIntByteMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableIntByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableIntByteMap |
ImmutableIntByteMapFactory.of()
Same as
ImmutableIntByteMapFactory.empty(). |
ImmutableIntByteMap |
ImmutableIntByteMapFactory.of(int key,
byte value)
|
ImmutableIntByteMap |
ImmutableIntByteMapFactory.ofAll(IntByteMap map)
|
ImmutableIntByteMap |
ImmutableIntByteMapFactory.with()
Same as
ImmutableIntByteMapFactory.empty(). |
ImmutableIntByteMap |
ImmutableIntByteMapFactory.with(int key,
byte value) |
ImmutableIntByteMap |
ImmutableIntByteMapFactory.withAll(IntByteMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableIntByteMap |
ImmutableByteIntMap.flipUniqueValues() |
ImmutableIntByteMap |
ImmutableIntByteMap.newWithKeyValue(int key,
byte value)
Copy this map, associate the value with the key (replacing the value if one
already exists for
key), and return the copy as new immutable map. |
ImmutableIntByteMap |
ImmutableIntByteMap.newWithoutAllKeys(IntIterable keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableIntByteMap |
ImmutableIntByteMap.newWithoutKey(int key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableIntByteMap |
ImmutableIntByteMap.reject(IntBytePredicate predicate) |
ImmutableIntByteMap |
ImmutableIntByteMap.select(IntBytePredicate predicate) |
ImmutableIntByteMap |
IntByteMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2022. All rights reserved.