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