public class ShardedTreeMap<K extends Comparable<K>,V> extends Updatable implements SortedMap<K,V>
Constructor and Description |
---|
ShardedTreeMap() |
ShardedTreeMap(Integer threshhold) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Comparator<? super K> |
comparator() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
K |
firstKey() |
V |
get(Object o) |
int |
hashCode() |
SortedMap<K,V> |
headMap(K toKey) |
boolean |
isEmpty() |
Set<K> |
keySet() |
K |
lastKey() |
V |
put(K k,
V v) |
void |
putAll(Map<? extends K,? extends V> map) |
void |
readExternal(ObjectInput objectInput) |
V |
remove(Object o) |
int |
size() |
SortedMap<K,V> |
subMap(K k,
K k2) |
SortedMap<K,V> |
tailMap(K fromKey) |
String |
toString() |
Collection<V> |
values() |
void |
writeExternal(ObjectOutput objectOutput) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public ShardedTreeMap()
public ShardedTreeMap(Integer threshhold)
public K firstKey()
public boolean equals(Object o)
public int hashCode()
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public boolean containsKey(Object o)
containsKey
in interface Map<K extends Comparable<K>,V>
public Collection<V> values()
public boolean containsValue(Object o)
containsValue
in interface Map<K extends Comparable<K>,V>
public Comparator<? super K> comparator()
comparator
in interface SortedMap<K extends Comparable<K>,V>
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.