V - type of values stored in the Mappublic class Long2NullableObjectHashMap<V> extends Long2ObjectHashMap<V>
Long2ObjectHashMap that allows null values.Long2ObjectHashMap.EntryIterator, Long2ObjectHashMap.EntrySet, Long2ObjectHashMap.KeyIterator, Long2ObjectHashMap.KeySet, Long2ObjectHashMap.ValueCollection, Long2ObjectHashMap.ValueIterator| Constructor and Description | 
|---|
Long2NullableObjectHashMap()  | 
Long2NullableObjectHashMap(int initialCapacity,
                          float loadFactor)  | 
Long2NullableObjectHashMap(int initialCapacity,
                          float loadFactor,
                          boolean shouldAvoidAllocation)
Construct a new map allowing a configuration for initial capacity and load factor. 
 | 
Long2NullableObjectHashMap(Long2ObjectHashMap<V> mapToCopy)
Copy construct a new map from an existing one. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.Object | 
mapNullValue(java.lang.Object value)  | 
protected V | 
unmapNullValue(java.lang.Object value)  | 
capacity, clear, compact, computeIfAbsent, containsKey, containsKey, containsValue, entrySet, equals, get, get, getMapped, hashCode, isEmpty, keySet, loadFactor, put, put, putAll, remove, remove, replace, replace, resizeThreshold, size, toString, valuespublic Long2NullableObjectHashMap()
public Long2NullableObjectHashMap(int initialCapacity,
                                  float loadFactor)
public Long2NullableObjectHashMap(int initialCapacity,
                                  float loadFactor,
                                  boolean shouldAvoidAllocation)
initialCapacity - for the backing arrayloadFactor - limit for resizing on putsshouldAvoidAllocation - should allocation be avoided by caching iterators and map entries.public Long2NullableObjectHashMap(Long2ObjectHashMap<V> mapToCopy)
mapToCopy - for construction.protected java.lang.Object mapNullValue(java.lang.Object value)
mapNullValue in class Long2ObjectHashMap<V>protected V unmapNullValue(java.lang.Object value)
unmapNullValue in class Long2ObjectHashMap<V>Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.