| Constructor and Description |
|---|
MutableDoubleArrayTrie() |
MutableDoubleArrayTrie(Map<String,V> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Comparator<? super String> |
comparator() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,V>> |
entrySet() |
String |
firstKey() |
V |
get(Object key) |
SortedMap<String,V> |
headMap(String toKey) |
boolean |
isEmpty() |
Iterator<Map.Entry<String,V>> |
iterator() |
Set<String> |
keySet() |
String |
lastKey() |
void |
loseWeight()
去掉多余的buffer
|
V |
put(String key,
V value) |
void |
putAll(Map<? extends String,? extends V> m) |
V |
remove(Object key) |
int |
size() |
SortedMap<String,V> |
subMap(String fromKey,
String toKey) |
SortedMap<String,V> |
tailMap(String fromKey) |
String |
toString() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllforEach, spliteratorpublic void loseWeight()
public Comparator<? super String> comparator()
comparator in interface SortedMap<String,V>public boolean containsKey(Object key)
containsKey in interface Map<String,V>public boolean containsValue(Object value)
containsValue in interface Map<String,V>public Collection<V> values()
Copyright © 2014–2021 码农场. All rights reserved.