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