| 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> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.empty() |
<T,K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableObjectBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.of()
|
<K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.of(K key,
boolean value)
|
<K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.ofAll(ObjectBooleanMap<? extends K> map)
|
<K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.with()
|
<K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.with(K key,
boolean value) |
<K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.withAll(ObjectBooleanMap<? extends K> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMap.newWithKeyValue(K key,
boolean 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. |
ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMap.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.
|
ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMap.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.
|
ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMap.reject(ObjectBooleanPredicate<? super K> predicate) |
ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMap.select(ObjectBooleanPredicate<? super K> predicate) |
default ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMap.tap(BooleanProcedure procedure) |
ImmutableObjectBooleanMap<K> |
ObjectBooleanMap.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.