| 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 |
|---|---|
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.empty() |
<T,K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableObjectCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.of()
|
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.of(K key,
char value)
|
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.ofAll(ObjectCharMap<? extends K> map)
|
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.with()
|
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.with(K key,
char value) |
<K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.withAll(ObjectCharMap<? extends K> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableObjectCharMap<V> |
ImmutableCharObjectMap.flipUniqueValues() |
ImmutableObjectCharMap<K> |
ImmutableObjectCharMap.newWithKeyValue(K key,
char 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. |
ImmutableObjectCharMap<K> |
ImmutableObjectCharMap.newWithoutAllKeys(Iterable<? extends K> keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableObjectCharMap<K> |
ImmutableObjectCharMap.newWithoutKey(K key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableObjectCharMap<K> |
ImmutableObjectCharMap.reject(ObjectCharPredicate<? super K> predicate) |
ImmutableObjectCharMap<K> |
ImmutableObjectCharMap.select(ObjectCharPredicate<? super K> predicate) |
default ImmutableObjectCharMap<K> |
ImmutableObjectCharMap.tap(CharProcedure procedure) |
ImmutableObjectCharMap<K> |
ObjectCharMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2020. All rights reserved.