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