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