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 |
ShortObjMap.forEach(ShortObjConsumer<? super V> action)
Performs the given
action on each entry in this map until all entries
have been processed or the action throws an Exception . |
void |
ShortObjCursor.forEachForward(ShortObjConsumer<? super V> 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 |
---|---|
<V2 extends V> |
ShortObjMapFactory.newImmutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
ShortObjMapFactory.newImmutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
ShortObjMapFactory.newMutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
ShortObjMapFactory.newMutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
ShortObjMapFactory.newUpdatableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
ShortObjMapFactory.newUpdatableMap(Consumer<ShortObjConsumer<V2>> 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 |
---|---|
static <V> HashShortObjMap<V> |
HashShortObjMaps.newImmutableMap(Consumer<ShortObjConsumer<V>> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
static <V> HashShortObjMap<V> |
HashShortObjMaps.newImmutableMap(Consumer<ShortObjConsumer<V>> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
HashShortObjMapFactory.newImmutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier) |
<V2 extends V> |
HashShortObjMapFactory.newImmutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier,
int expectedSize) |
static <V> HashShortObjMap<V> |
HashShortObjMaps.newMutableMap(Consumer<ShortObjConsumer<V>> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
static <V> HashShortObjMap<V> |
HashShortObjMaps.newMutableMap(Consumer<ShortObjConsumer<V>> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
HashShortObjMapFactory.newMutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier) |
<V2 extends V> |
HashShortObjMapFactory.newMutableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier,
int expectedSize) |
static <V> HashShortObjMap<V> |
HashShortObjMaps.newUpdatableMap(Consumer<ShortObjConsumer<V>> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
static <V> HashShortObjMap<V> |
HashShortObjMaps.newUpdatableMap(Consumer<ShortObjConsumer<V>> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
<V2 extends V> |
HashShortObjMapFactory.newUpdatableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier) |
<V2 extends V> |
HashShortObjMapFactory.newUpdatableMap(Consumer<ShortObjConsumer<V2>> entriesSupplier,
int expectedSize) |