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