| 构造器和说明 |
|---|
FrequencyWriteRankMap(Comparator<V> comparator,
int capacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
List<V> |
getAll() |
V |
getAt(int at)
获取指定位置的元数
|
int |
getIndex(K key)
找到此Key在排行榜的名次
|
List<V> |
getRange(int startIndex,
int endIndex)
获取一个范围的数据
|
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> map) |
V |
remove(Object key) |
int |
size()
集合大小
|
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, replaceAllpublic FrequencyWriteRankMap(Comparator<V> comparator, int capacity)
public void clear()
public int size()
IRankMappublic boolean containsValue(Object value)
Copyright © 2017. All rights reserved.