Package | Description |
---|---|
org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.immutable |
This package contains immutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.test |
This package contains
SerializeTestHelper and Verify classes. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableBiMap<K,V> |
A
BiMap whose contents cannot be altered after initialization. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableMap<K,V> |
An ImmutableMap is different than a JCF Map but in that it has no mutating methods.
|
interface |
ImmutableOrderedMap<K,V> |
Modifier and Type | Method | Description |
---|---|---|
<KK,VV> ImmutableMapIterable<KK,VV> |
ImmutableMapIterable.aggregateBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<KK,VV> ImmutableMapIterable<KK,VV> |
ImmutableMapIterable.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K2,V2> ImmutableMapIterable<K2,V2> |
ImmutableMapIterable.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<R> ImmutableMapIterable<K,R> |
ImmutableMapIterable.collectValues(Function2<? super K,? super V,? extends R> function) |
|
ImmutableMapIterable<V,K> |
ImmutableMapIterable.flipUniqueValues() |
|
<V1> ImmutableMapIterable<V1,V> |
ImmutableMapIterable.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.newWithAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.newWithAllKeyValues(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.newWithKeyValue(K key,
V value) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.newWithoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.newWithoutKey(K key) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.reject(Predicate2<? super K,? super V> predicate) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.select(Predicate2<? super K,? super V> predicate) |
|
ImmutableMapIterable<K,V> |
ImmutableMapIterable.tap(Procedure<? super V> procedure) |
|
ImmutableMapIterable<K,V> |
MapIterable.toImmutable() |
|
ImmutableMapIterable<K,V> |
MutableMapIterable.toImmutable() |
Returns an immutable copy of this map.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableSortedMap<K,V> |
An ImmutableSortedMap is different than a JCF SortedMap in that it has no mutating methods, but it shares
the read-only protocol of a SortedMap.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableBiMap<K,V> |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableMap<K,V> |
|
class |
ImmutableUnifiedMap<K,V> |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableSortedMap<K,V> |
|
class |
ImmutableTreeMap<K,V> |
Modifier and Type | Class | Description |
---|---|---|
class |
ImmutableUnifiedMapWithHashingStrategy<K,V> |
Modifier and Type | Method | Description |
---|---|---|
static void |
Verify.assertContainsAllKeyValues(java.lang.String immutableMapIterableName,
ImmutableMapIterable<?,?> immutableMapIterable,
java.lang.Object... expectedKeyValues) |
Assert that the given
ImmutableMapIterable contains all of the given keys and values. |
static void |
Verify.assertContainsAllKeyValues(ImmutableMapIterable<?,?> immutableMapIterable,
java.lang.Object... keyValues) |
Assert that the given
ImmutableMapIterable contains all of the given keys and values. |
static void |
Verify.assertContainsKey(java.lang.Object expectedKey,
ImmutableMapIterable<?,?> immutableMapIterable) |
Assert that the given
ImmutableMapIterable contains an entry with the given key. |
static void |
Verify.assertContainsKey(java.lang.String immutableMapIterableName,
java.lang.Object expectedKey,
ImmutableMapIterable<?,?> immutableMapIterable) |
Assert that the given
ImmutableMapIterable contains an entry with the given key. |
static void |
Verify.assertContainsKeyValue(java.lang.Object expectedKey,
java.lang.Object expectedValue,
ImmutableMapIterable<?,?> mapIterable) |
Assert that the given
ImmutableMapIterable contains an entry with the given key and value. |
static void |
Verify.assertContainsKeyValue(java.lang.String mapIterableName,
java.lang.Object expectedKey,
java.lang.Object expectedValue,
ImmutableMapIterable<?,?> immutableMapIterable) |
Assert that the given
ImmutableMapIterable contains an entry with the given key and value. |
Copyright © 2004–2020. All rights reserved.