V
- public class ConcurrentLongHashMap<V> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ConcurrentLongHashMap.EntryProcessor<V> |
Constructor and Description |
---|
ConcurrentLongHashMap() |
ConcurrentLongHashMap(int expectedItems) |
ConcurrentLongHashMap(int expectedItems,
int numSections) |
Modifier and Type | Method and Description |
---|---|
long |
capacity() |
void |
clear() |
V |
computeIfAbsent(long key,
LongFunction<V> provider) |
boolean |
containsKey(long key) |
void |
forEach(ConcurrentLongHashMap.EntryProcessor<V> processor) |
V |
get(long key) |
boolean |
isEmpty() |
List<Long> |
keys() |
ConcurrentLongHashSet |
keysLongHashSet() |
V |
put(long key,
V value) |
V |
putIfAbsent(long key,
V value) |
V |
remove(long key) |
boolean |
remove(long key,
Object value) |
int |
size() |
List<V> |
values() |
public ConcurrentLongHashMap()
public ConcurrentLongHashMap(int expectedItems)
public ConcurrentLongHashMap(int expectedItems, int numSections)
public int size()
public long capacity()
public boolean isEmpty()
public V get(long key)
public boolean containsKey(long key)
public V computeIfAbsent(long key, LongFunction<V> provider)
public V remove(long key)
public boolean remove(long key, Object value)
public void clear()
public void forEach(ConcurrentLongHashMap.EntryProcessor<V> processor)
public ConcurrentLongHashSet keysLongHashSet()
Copyright © 2018 JBoss by Red Hat. All rights reserved.