public class Long2LongMapHsa extends Object implements Long2LongMap
Long2LongMap implemented in terms of a HashSlotArray8byteKey.| Constructor and Description |
|---|
Long2LongMapHsa(long nullValue,
MemoryManager memMgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(long key) |
LongLongCursor |
cursor() |
void |
dispose() |
long |
get(long key) |
boolean |
isEmpty() |
long |
put(long key,
long value) |
void |
putAll(Long2LongMap from) |
long |
putIfAbsent(long key,
long value) |
long |
remove(long key) |
boolean |
remove(long key,
long value) |
long |
replace(long key,
long value) |
boolean |
replace(long key,
long oldValue,
long newValue) |
long |
size() |
public Long2LongMapHsa(long nullValue,
MemoryManager memMgr)
nullValue - the value that represents "null" or missing valuememMgr - memory manager to use. It is safe for its MemoryManager.getAccessor() method
to return an accessor that only supports aligned memory access.public long get(long key)
get in interface Long2LongMappublic long put(long key,
long value)
put in interface Long2LongMappublic long putIfAbsent(long key,
long value)
putIfAbsent in interface Long2LongMappublic void putAll(Long2LongMap from)
putAll in interface Long2LongMappublic boolean replace(long key,
long oldValue,
long newValue)
replace in interface Long2LongMappublic long replace(long key,
long value)
replace in interface Long2LongMappublic long remove(long key)
remove in interface Long2LongMappublic boolean remove(long key,
long value)
remove in interface Long2LongMappublic boolean containsKey(long key)
containsKey in interface Long2LongMappublic long size()
size in interface Long2LongMappublic boolean isEmpty()
isEmpty in interface Long2LongMappublic void clear()
clear in interface Long2LongMappublic void dispose()
dispose in interface Long2LongMappublic LongLongCursor cursor()
cursor in interface Long2LongMapCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.