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 |
ShortDoubleMap.forEach(ShortDoubleConsumer action)
Performs the given
action on each entry in this map until all entries
have been processed or the action throws an Exception . |
void |
ShortDoubleCursor.forEachForward(ShortDoubleConsumer 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 |
---|---|
ShortDoubleMap |
ShortDoubleMapFactory.newImmutableMap(Consumer<ShortDoubleConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
ShortDoubleMap |
ShortDoubleMapFactory.newImmutableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
ShortDoubleMap |
ShortDoubleMapFactory.newMutableMap(Consumer<ShortDoubleConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
ShortDoubleMap |
ShortDoubleMapFactory.newMutableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
ShortDoubleMap |
ShortDoubleMapFactory.newUpdatableMap(Consumer<ShortDoubleConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
ShortDoubleMap |
ShortDoubleMapFactory.newUpdatableMap(Consumer<ShortDoubleConsumer> 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 |
---|---|
HashShortDoubleMap |
HashShortDoubleMapFactory.newImmutableMap(Consumer<ShortDoubleConsumer> entriesSupplier) |
static HashShortDoubleMap |
HashShortDoubleMaps.newImmutableMap(Consumer<ShortDoubleConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortDoubleMap |
HashShortDoubleMapFactory.newImmutableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize) |
static HashShortDoubleMap |
HashShortDoubleMaps.newImmutableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortDoubleMap |
HashShortDoubleMapFactory.newMutableMap(Consumer<ShortDoubleConsumer> entriesSupplier) |
static HashShortDoubleMap |
HashShortDoubleMaps.newMutableMap(Consumer<ShortDoubleConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortDoubleMap |
HashShortDoubleMapFactory.newMutableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize) |
static HashShortDoubleMap |
HashShortDoubleMaps.newMutableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortDoubleMap |
HashShortDoubleMapFactory.newUpdatableMap(Consumer<ShortDoubleConsumer> entriesSupplier) |
static HashShortDoubleMap |
HashShortDoubleMaps.newUpdatableMap(Consumer<ShortDoubleConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashShortDoubleMap |
HashShortDoubleMapFactory.newUpdatableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize) |
static HashShortDoubleMap |
HashShortDoubleMaps.newUpdatableMap(Consumer<ShortDoubleConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|