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 |
ObjLongMap.forEach(ObjLongConsumer<? super K> action)
Performs the given
action on each entry in this map until all entries
have been processed or the action throws an Exception . |
void |
ObjLongCursor.forEachForward(ObjLongConsumer<? super K> 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 |
---|---|
<K2 extends K> |
ObjLongMapFactory.newImmutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
ObjLongMapFactory.newImmutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
ObjLongMapFactory.newMutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
ObjLongMapFactory.newMutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
ObjLongMapFactory.newUpdatableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
ObjLongMapFactory.newUpdatableMap(Consumer<ObjLongConsumer<K2>> 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 <K> HashObjLongMap<K> |
HashObjLongMaps.newImmutableMap(Consumer<ObjLongConsumer<K>> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
static <K> HashObjLongMap<K> |
HashObjLongMaps.newImmutableMap(Consumer<ObjLongConsumer<K>> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
HashObjLongMapFactory.newImmutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier) |
<K2 extends K> |
HashObjLongMapFactory.newImmutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier,
int expectedSize) |
static <K> HashObjLongMap<K> |
HashObjLongMaps.newMutableMap(Consumer<ObjLongConsumer<K>> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
static <K> HashObjLongMap<K> |
HashObjLongMaps.newMutableMap(Consumer<ObjLongConsumer<K>> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
HashObjLongMapFactory.newMutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier) |
<K2 extends K> |
HashObjLongMapFactory.newMutableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier,
int expectedSize) |
static <K> HashObjLongMap<K> |
HashObjLongMaps.newUpdatableMap(Consumer<ObjLongConsumer<K>> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
static <K> HashObjLongMap<K> |
HashObjLongMaps.newUpdatableMap(Consumer<ObjLongConsumer<K>> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
<K2 extends K> |
HashObjLongMapFactory.newUpdatableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier) |
<K2 extends K> |
HashObjLongMapFactory.newUpdatableMap(Consumer<ObjLongConsumer<K2>> entriesSupplier,
int expectedSize) |