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.collector | |
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.ordered.mutable | |
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 | Description |
---|---|---|
MutableMapIterable<T,java.lang.Integer> |
ImmutableBagIterable.toMapOfItemToCount() |
|
MutableMapIterable<T,java.lang.Integer> |
MutableBagIterable.toMapOfItemToCount() |
Modifier and Type | Interface | Description |
---|---|---|
interface |
MutableBiMap<K,V> |
A
BiMap whose contents can be altered after initialization. |
Modifier and Type | Interface | 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 | Description |
---|---|---|
MutableMapIterable<K,V> |
MutableMapIterable.asSynchronized() |
Returns a synchronized wrapper backed by this 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(java.lang.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(java.lang.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 | Description |
---|---|---|
interface |
MutableSortedMap<K,V> |
A MutableSortedMap is similar to a JCF Map but adds additional useful internal iterator methods.
|
Modifier and Type | Class | 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 | Method | Description |
---|---|---|
static <T,K,R extends MutableMapIterable<K,T>> |
Collectors2.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends T> zeroValueFactory,
Function2<? super T,? super T,? extends T> aggregator,
java.util.function.Supplier<R> supplier) |
Groups the elements using the
groupBy function and all the elements that map to the same key are
aggregated together using the aggregator function. |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractSynchronizedMapIterable<K,V> |
A synchronized view of a map.
|
Modifier and Type | Method | Description |
---|---|---|
<VV> MutableMapIterable<VV,V> |
AbstractSynchronizedMapIterable.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
MutableMapIterable<K,V> |
AbstractSynchronizedMapIterable.tap(Procedure<? super V> procedure) |
Modifier and Type | Class | 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 | Description |
---|---|---|
<VV> MutableMapIterable<VV,V> |
AbstractMutableMapIterable.groupByUniqueKey(Function<? super V,? extends VV> function) |
Constructor | Description |
---|---|
SynchronizedMapSerializationProxy(MutableMapIterable<K,V> map) |
Modifier and Type | Class | Description |
---|---|---|
class |
OrderedMapAdapter<K,V> |
Modifier and Type | Class | 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 | Description |
---|---|---|
MutableMapIterable<V,K> |
SynchronizedSortedMap.flipUniqueValues() |
|
MutableMapIterable<V,K> |
UnmodifiableTreeMap.flipUniqueValues() |
Modifier and Type | Class | 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 | Description |
---|---|---|
static void |
Verify.assertContainsAllKeyValues(java.lang.String mutableMapIterableName,
MutableMapIterable<?,?> mutableMapIterable,
java.lang.Object... expectedKeyValues) |
Assert that the given
MutableMapIterable contains all of the given keys and values. |
static void |
Verify.assertContainsAllKeyValues(MutableMapIterable<?,?> mutableMapIterable,
java.lang.Object... keyValues) |
Assert that the given
MutableMapIterable contains all of the given keys and values. |
static void |
Verify.assertContainsKey(java.lang.Object expectedKey,
MutableMapIterable<?,?> mutableMapIterable) |
Assert that the given
MutableMapIterable contains an entry with the given key. |
static void |
Verify.assertContainsKey(java.lang.String mutableMapIterableName,
java.lang.Object expectedKey,
MutableMapIterable<?,?> mutableMapIterable) |
Assert that the given
MutableMapIterable contains an entry with the given key. |
static void |
Verify.assertContainsKeyValue(java.lang.Object expectedKey,
java.lang.Object expectedValue,
MutableMapIterable<?,?> mapIterable) |
Assert that the given
MutableMapIterable 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,
MutableMapIterable<?,?> mutableMapIterable) |
Assert that the given
MutableMapIterable contains an entry with the given key and value. |
static void |
Verify.assertEmpty(java.lang.String mutableMapIterableName,
MutableMapIterable<?,?> actualMutableMapIterable) |
Assert that the given
Collection is empty. |
static void |
Verify.assertEmpty(MutableMapIterable<?,?> actualMutableMapIterable) |
Assert that the given
MutableMapIterable is empty. |
static void |
Verify.assertNotEmpty(java.lang.String mutableMapIterableName,
MutableMapIterable<?,?> actualMutableMapIterable) |
Assert that the given
MutableMapIterable is not empty. |
static void |
Verify.assertNotEmpty(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(java.lang.String mapName,
int expectedSize,
MutableMapIterable<?,?> mutableMapIterable) |
Assert the size of the given
MutableMapIterable . |
Copyright © 2004–2018. All rights reserved.