K - V - public class TrieMap<K,V> extends AbstractMap<K,V> implements ConcurrentMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TrieMap() |
TrieMap(com.romix.scala.collection.concurrent.TrieMap.Hashing<K> hashf,
com.romix.scala.collection.concurrent.TrieMap.Equiv<K> ef) |
| Modifier and Type | Method and Description |
|---|---|
TrieMap<K,V> |
add(K k,
V v) |
void |
clear() |
boolean |
containsKey(Object key) |
static <K,V> TrieMap<K,V> |
empty() |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object k) |
Iterator<Map.Entry<K,V>> |
iterator()
Return an iterator over a TrieMap.
|
V |
put(Object key,
Object value) |
V |
putIfAbsent(Object k,
Object v) |
Option<V> |
putIfAbsentOpt(K k,
V v) |
Option<V> |
putOpt(Object key,
Object value) |
Iterator<Map.Entry<K,V>> |
readOnlyIterator()
Return an iterator over a TrieMap.
|
TrieMap<K,V> |
readOnlySnapshot()
Returns a read-only snapshot of this TrieMap.
|
V |
remove(Object k) |
boolean |
remove(Object k,
Object v) |
boolean |
replace(K k,
V oldvalue,
V newvalue) |
V |
replace(Object k,
Object v) |
Option<V> |
replaceOpt(K k,
V v) |
int |
size() |
TrieMap<K,V> |
snapshot()
Returns a snapshot of this TrieMap.
|
String |
string() |
void |
update(K k,
V v) |
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, valuespublic TrieMap(com.romix.scala.collection.concurrent.TrieMap.Hashing<K> hashf, com.romix.scala.collection.concurrent.TrieMap.Equiv<K> ef)
public TrieMap()
public static <K,V> TrieMap<K,V> empty()
public String string()
public final TrieMap<K,V> snapshot()
public final TrieMap<K,V> readOnlySnapshot()
public final void clear()
public final V putIfAbsent(Object k, Object v)
putIfAbsent in interface ConcurrentMap<K,V>public boolean remove(Object k, Object v)
remove in interface ConcurrentMap<K,V>public boolean replace(K k, V oldvalue, V newvalue)
replace in interface ConcurrentMap<K,V>public Iterator<Map.Entry<K,V>> iterator()
public Iterator<Map.Entry<K,V>> readOnlyIterator()
public int size()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015