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