org.sourceforge.jemm.util.managed.bucket
Interface ECMapBucket<K,V>
- Type Parameters:
K
- The map key type.V
- The map value type.
- All Known Implementing Classes:
- BucketLockedBucket
public interface ECMapBucket<K,V>
An EnhancedConcurrentMap bucket.
- Author:
- Rory Graves
perform
void perform(K key,
ECMAction<K,V> action)
size
int size()
- Returns:
- The number of entries currently stored within the bucket.
clear
void clear()
containsKey
boolean containsKey(K key)
contains
boolean contains(V value)
putIfAbsent
V putIfAbsent(K key,
V value)
remove
boolean remove(K key,
V value)
replace
V replace(K key,
V value)
replace
boolean replace(K key,
V oldValue,
V newValue)
get
V get(K key)
put
V put(K key,
V value)
remove
V remove(K key)
Copyright © 2009. All Rights Reserved.