Package | Description |
---|---|
org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
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.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.mutable |
This package contains mutable 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 | Method and Description |
---|---|
MutableMapIterable<T,Integer> |
MutableBagIterable.toMapOfItemToCount() |
MutableMapIterable<T,Integer> |
ImmutableBagIterable.toMapOfItemToCount() |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableBiMap<K,V>
A
BiMap whose contents can be altered after initialization. |
Modifier and Type | Interface and Description |
---|---|
interface |
ConcurrentMutableMap<K,V>
A ConcurrentMutableMap provides an api which combines and supports both MutableMap and ConcurrentMap.
|
interface |
FixedSizeMap<K,V>
A FixedSizeMap is a map that may be mutated, but cannot grow or shrink in size.
|
interface |
MutableMap<K,V>
A MutableMap is similar to a JCF Map but adds additional useful internal iterator methods.
|
interface |
MutableOrderedMap<K,V> |
Modifier and Type | Method and Description |
---|---|
MutableMapIterable<K,V> |
MutableMapIterable.asSynchronized()
Returns a synchronized (thread-safe) map backed by the specified map.
|
MutableMapIterable<K,V> |
MutableMapIterable.asUnmodifiable()
Returns an unmodifiable view of this map.
|
<K2,V2> MutableMapIterable<K2,V2> |
MutableMapIterable.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
<R> MutableMapIterable<K,R> |
MutableMapIterable.collectValues(Function2<? super K,? super V,? extends R> function) |
MutableMapIterable<V,K> |
MutableMapIterable.flipUniqueValues() |
<V1> MutableMapIterable<V1,V> |
MutableMapIterable.groupByUniqueKey(Function<? super V,? extends V1> function) |
MutableMapIterable<K,V> |
MutableMapIterable.newEmpty()
Creates a new instance of the same type, using the default capacity and growth parameters.
|
MutableMapIterable<K,V> |
MutableMapIterable.reject(Predicate2<? super K,? super V> predicate) |
MutableMapIterable<K,V> |
MutableMapIterable.select(Predicate2<? super K,? super V> predicate) |
MutableMapIterable<K,V> |
MutableMapIterable.tap(Procedure<? super V> procedure) |
MutableMapIterable<K,V> |
MutableMapIterable.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs)
Convenience var-args version of withAllKeyValues
|
MutableMapIterable<K,V> |
MutableMapIterable.withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues)
This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing
elements.
|
MutableMapIterable<K,V> |
MutableMapIterable.withKeyValue(K key,
V value)
This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing
elements.
|
MutableMapIterable<K,V> |
MutableMapIterable.withoutAllKeys(Iterable<? extends K> keys)
This method allows mutable, fixed size, and immutable maps the ability to remove elements from their existing
elements.
|
MutableMapIterable<K,V> |
MutableMapIterable.withoutKey(K key)
This method allows mutable, fixed size, and immutable maps the ability to remove elements from their existing
elements.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableSortedMap<K,V>
A MutableSortedMap is similar to a JCF Map but adds additional useful internal iterator methods.
|
Modifier and Type | Class and Description |
---|---|
class |
HashBiMap<K,V>
A
MutableBiMap which uses two hash tables as its underlying data store. |
class |
SynchronizedBiMap<K,V> |
class |
UnmodifiableBiMap<K,V> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSynchronizedMapIterable<K,V>
A synchronized view of a map.
|
Modifier and Type | Method and Description |
---|---|
<VV> MutableMapIterable<VV,V> |
AbstractSynchronizedMapIterable.groupByUniqueKey(Function<? super V,? extends VV> function) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMutableMap<K,V> |
class |
AbstractMutableMapIterable<K,V> |
class |
ConcurrentHashMap<K,V> |
class |
ConcurrentHashMapUnsafe<K,V> |
class |
ConcurrentMutableHashMap<K,V>
Deprecated.
since 2.0
|
class |
MapAdapter<K,V>
This class provides a MutableMap wrapper around a JDK Collections Map interface instance.
|
class |
SynchronizedMutableMap<K,V>
A synchronized view of a
MutableMap . |
class |
UnifiedMap<K,V>
UnifiedMap stores key/value pairs in a single array, where alternate slots are keys and values.
|
class |
UnmodifiableMutableMap<K,V>
An unmodifiable view of a map.
|
Modifier and Type | Method and Description |
---|---|
<VV> MutableMapIterable<VV,V> |
AbstractMutableMapIterable.groupByUniqueKey(Function<? super V,? extends VV> function) |
Constructor and Description |
---|
SynchronizedMapSerializationProxy(MutableMapIterable<K,V> map) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMutableSortedMap<K,V> |
class |
SortedMapAdapter<K,V>
This class provides a MutableSortedMap wrapper around a JDK Collections SortedMap interface instance.
|
class |
SynchronizedSortedMap<K,V>
A synchronized view of a SortedMap.
|
class |
TreeSortedMap<K,V> |
class |
UnmodifiableTreeMap<K,V>
An unmodifiable view of a map.
|
Modifier and Type | Method and Description |
---|---|
MutableMapIterable<V,K> |
SynchronizedSortedMap.flipUniqueValues() |
MutableMapIterable<V,K> |
UnmodifiableTreeMap.flipUniqueValues() |
Modifier and Type | Class and Description |
---|---|
class |
UnifiedMapWithHashingStrategy<K,V>
UnifiedMapWithHashingStrategy stores key/value pairs in a single array, where alternate slots are keys and values.
|
Modifier and Type | Method and Description |
---|---|
static void |
Verify.assertContainsAllKeyValues(MutableMapIterable<?,?> mutableMapIterable,
Object... keyValues)
Assert that the given
MutableMapIterable contains all of the given keys and values. |
static void |
Verify.assertContainsAllKeyValues(String mutableMapIterableName,
MutableMapIterable<?,?> mutableMapIterable,
Object... expectedKeyValues)
Assert that the given
MutableMapIterable contains all of the given keys and values. |
static void |
Verify.assertContainsKey(Object expectedKey,
MutableMapIterable<?,?> mutableMapIterable)
Assert that the given
MutableMapIterable contains an entry with the given key. |
static void |
Verify.assertContainsKey(String mutableMapIterableName,
Object expectedKey,
MutableMapIterable<?,?> mutableMapIterable)
Assert that the given
MutableMapIterable contains an entry with the given key. |
static void |
Verify.assertContainsKeyValue(Object expectedKey,
Object expectedValue,
MutableMapIterable<?,?> mapIterable)
Assert that the given
MutableMapIterable contains an entry with the given key and value. |
static void |
Verify.assertContainsKeyValue(String mapIterableName,
Object expectedKey,
Object expectedValue,
MutableMapIterable<?,?> mutableMapIterable)
Assert that the given
MutableMapIterable contains an entry with the given key and value. |
static void |
Verify.assertEmpty(MutableMapIterable<?,?> actualMutableMapIterable)
Assert that the given
MutableMapIterable is empty. |
static void |
Verify.assertEmpty(String mutableMapIterableName,
MutableMapIterable<?,?> actualMutableMapIterable)
Assert that the given
Collection is empty. |
static void |
Verify.assertNotEmpty(MutableMapIterable<?,?> actualMutableMapIterable)
Assert that the given
MutableMapIterable is not empty. |
static void |
Verify.assertNotEmpty(String mutableMapIterableName,
MutableMapIterable<?,?> actualMutableMapIterable)
Assert that the given
MutableMapIterable is not empty. |
static void |
Verify.assertSize(int expectedSize,
MutableMapIterable<?,?> mutableMapIterable)
Assert the size of the given
MutableMapIterable . |
static void |
Verify.assertSize(String mapName,
int expectedSize,
MutableMapIterable<?,?> mutableMapIterable)
Assert the size of the given
MutableMapIterable . |
Copyright © 2004–2016. All rights reserved.