Package | Description |
---|---|
com.devexperts.util |
Provides general utility classes.
|
Modifier and Type | Method and Description |
---|---|
IndexedMap<K,V> |
IndexedMap.clone()
Returns a shallow copy of this map - the keys and values themselves are not cloned.
|
static <V> IndexedMap<V,V> |
IndexedMap.create()
Creates new empty map with default indexer
IndexerFunction.DEFAULT . |
static <V> IndexedMap<Integer,V> |
IndexedMap.create(IndexerFunction.IntKey<? super V> indexer)
Deprecated.
|
static <V> IndexedMap<Integer,V> |
IndexedMap.create(IndexerFunction.IntKey<? super V> indexer,
Collection<? extends V> c)
Deprecated.
|
static <V> IndexedMap<Integer,V> |
IndexedMap.create(IndexerFunction.IntKey<? super V> indexer,
int initialCapacity)
Deprecated.
|
static <V> IndexedMap<Integer,V> |
IndexedMap.create(IndexerFunction.IntKey<? super V> indexer,
Map<Integer,? extends V> map)
Deprecated.
|
static <V> IndexedMap<Long,V> |
IndexedMap.create(IndexerFunction.LongKey<? super V> indexer)
Deprecated.
|
static <V> IndexedMap<Long,V> |
IndexedMap.create(IndexerFunction.LongKey<? super V> indexer,
Collection<? extends V> c)
Deprecated.
|
static <V> IndexedMap<Long,V> |
IndexedMap.create(IndexerFunction.LongKey<? super V> indexer,
int initialCapacity)
Deprecated.
|
static <V> IndexedMap<Long,V> |
IndexedMap.create(IndexerFunction.LongKey<? super V> indexer,
Map<Long,? extends V> map)
Deprecated.
|
static <K,V> IndexedMap<K,V> |
IndexedMap.create(IndexerFunction<K,? super V> indexer)
Creates new empty map with specified indexer.
|
static <K,V> IndexedMap<K,V> |
IndexedMap.create(IndexerFunction<K,? super V> indexer,
Collection<? extends V> c)
Deprecated.
|
static <K,V> IndexedMap<K,V> |
IndexedMap.create(IndexerFunction<K,? super V> indexer,
int initialCapacity)
Deprecated.
|
static <K,V> IndexedMap<K,V> |
IndexedMap.create(IndexerFunction<K,? super V> indexer,
Map<? extends K,? extends V> map)
Deprecated.
|
static <V> IndexedMap<V,V> |
IndexedMap.createIdentity()
Creates new empty map with default identity indexer.
|
static <K,V> IndexedMap<K,V> |
IndexedMap.createIdentity(IndexerFunction.IdentityKey<K,? super V> indexer)
Creates new empty map with specified identity indexer.
|
static <V> IndexedMap<Integer,V> |
IndexedMap.createInt(IndexerFunction.IntKey<? super V> indexer)
Creates new empty map with specified int indexer.
|
static <V> IndexedMap<Long,V> |
IndexedMap.createLong(IndexerFunction.LongKey<? super V> indexer)
Creates new empty map with specified long indexer.
|
IndexedMap<K,V> |
IndexedMap.withCapacity(int capacity)
Increases the capacity of this map instance, if necessary, to ensure that it
can hold at least the number of elements specified by the capacity argument.
|
IndexedMap<K,V> |
IndexedMap.withElements(Collection<? extends V> c)
Puts all of the elements in the specified collection into this map.
|
IndexedMap<K,V> |
IndexedMap.withElements(Map<K,? extends V> map)
Puts all of the elements in the specified map into this map.
|
Modifier and Type | Method and Description |
---|---|
static <V> Collector<V,?,? extends IndexedMap<V,V>> |
IndexedMap.collector()
Returns a
Collector that accumulates the input elements into a new IndexedMap with default indexer. |
static <V> Collector<V,?,? extends IndexedMap<Integer,V>> |
IndexedMap.collector(IndexerFunction.IntKey<? super V> indexer)
Deprecated.
|
static <V> Collector<V,?,? extends IndexedMap<Long,V>> |
IndexedMap.collector(IndexerFunction.LongKey<? super V> indexer)
Deprecated.
|
static <K,V> Collector<V,?,? extends IndexedMap<K,V>> |
IndexedMap.collector(IndexerFunction<K,? super V> indexer)
Returns a
Collector that accumulates the input elements into a new IndexedMap with specified indexer. |
static <V> Collector<V,?,? extends IndexedMap<V,V>> |
IndexedMap.collectorIdentity()
Returns a
Collector that accumulates the input elements into a new IndexedMap with default identity indexer. |
static <K,V> Collector<V,?,? extends IndexedMap<K,V>> |
IndexedMap.collectorIdentity(IndexerFunction.IdentityKey<K,? super V> indexer)
Returns a
Collector that accumulates the input elements into a new IndexedMap with specified identity indexer. |
static <V> Collector<V,?,? extends IndexedMap<Integer,V>> |
IndexedMap.collectorInt(IndexerFunction.IntKey<? super V> indexer)
Returns a
Collector that accumulates the input elements into a new IndexedMap with specified int indexer. |
static <V> Collector<V,?,? extends IndexedMap<Long,V>> |
IndexedMap.collectorLong(IndexerFunction.LongKey<? super V> indexer)
Returns a
Collector that accumulates the input elements into a new IndexedMap with specified long indexer. |
Copyright © 2002–2025 Devexperts LLC. All rights reserved.