V - type of values stored in the Mappublic class BiInt2NullableObjectMap<V> extends BiInt2ObjectMap<V>
BiInt2ObjectMap that allows null values.BiInt2ObjectMap.EntryConsumer<V>, BiInt2ObjectMap.EntryFunction<V>, BiInt2ObjectMap.EntryRemap<V,V1>| Constructor and Description |
|---|
BiInt2NullableObjectMap()
Constructs map with default settings.
|
BiInt2NullableObjectMap(int initialCapacity,
float loadFactor)
Constructs map with given initial capacity and load factory and enables caching of iterators.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
mapNullValue(Object value)
Interceptor for masking null values.
|
protected V |
unmapNullValue(Object value)
Interceptor for unmasking null values.
|
capacity, clear, compact, compute, computeIfAbsent, computeIfPresent, containsKey, forEach, forEach, get, getOrDefault, isEmpty, loadFactor, merge, put, putIfAbsent, remove, remove, replace, replace, resizeThreshold, size, toStringpublic BiInt2NullableObjectMap()
public BiInt2NullableObjectMap(int initialCapacity,
float loadFactor)
initialCapacity - for the backing array.loadFactor - limit for resizing on puts.protected Object mapNullValue(Object value)
BiInt2ObjectMapmapNullValue in class BiInt2ObjectMap<V>value - value to mask.protected V unmapNullValue(Object value)
BiInt2ObjectMapunmapNullValue in class BiInt2ObjectMap<V>value - value to unmask.Copyright © 2014-2022 Real Logic Limited. All Rights Reserved.