Package | Description |
---|---|
com.koloboke.collect.map |
Contains interfaces of
Map specializations, their factories and cursors. |
com.koloboke.collect.map.hash |
Contains interfaces of
Map specializations, based on hash tables,
their factories and static factory methods. |
Modifier and Type | Method and Description |
---|---|
void |
IntDoubleMap.forEach(IntDoubleConsumer action)
Performs the given
action on each entry in this map until all entries
have been processed or the action throws an Exception . |
void |
IntDoubleCursor.forEachForward(IntDoubleConsumer action)
Performs the given action for each entry of the iteration after the cursor in forward
direction until all entries have been processed or the action throws an exception.
|
Modifier and Type | Method and Description |
---|---|
IntDoubleMap |
IntDoubleMapFactory.newImmutableMap(Consumer<IntDoubleConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
IntDoubleMap |
IntDoubleMapFactory.newImmutableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
IntDoubleMap |
IntDoubleMapFactory.newMutableMap(Consumer<IntDoubleConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
IntDoubleMap |
IntDoubleMapFactory.newMutableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
IntDoubleMap |
IntDoubleMapFactory.newUpdatableMap(Consumer<IntDoubleConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
IntDoubleMap |
IntDoubleMapFactory.newUpdatableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
Modifier and Type | Method and Description |
---|---|
HashIntDoubleMap |
HashIntDoubleMapFactory.newImmutableMap(Consumer<IntDoubleConsumer> entriesSupplier) |
static HashIntDoubleMap |
HashIntDoubleMaps.newImmutableMap(Consumer<IntDoubleConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntDoubleMap |
HashIntDoubleMapFactory.newImmutableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize) |
static HashIntDoubleMap |
HashIntDoubleMaps.newImmutableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntDoubleMap |
HashIntDoubleMapFactory.newMutableMap(Consumer<IntDoubleConsumer> entriesSupplier) |
static HashIntDoubleMap |
HashIntDoubleMaps.newMutableMap(Consumer<IntDoubleConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntDoubleMap |
HashIntDoubleMapFactory.newMutableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize) |
static HashIntDoubleMap |
HashIntDoubleMaps.newMutableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntDoubleMap |
HashIntDoubleMapFactory.newUpdatableMap(Consumer<IntDoubleConsumer> entriesSupplier) |
static HashIntDoubleMap |
HashIntDoubleMaps.newUpdatableMap(Consumer<IntDoubleConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashIntDoubleMap |
HashIntDoubleMapFactory.newUpdatableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize) |
static HashIntDoubleMap |
HashIntDoubleMaps.newUpdatableMap(Consumer<IntDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|