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