public class Multiset<K> extends Object
| Constructor and Description |
|---|
Multiset() |
Multiset(Map<K,Integer> map) |
Multiset(Multiset<K> mset) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(K k) |
void |
add(K k,
int val) |
void |
addAll(Iterable<K> c) |
void |
clear() |
Iterable<Map.Entry<K,Integer>> |
entriesInDecreasingFrequency() |
Iterable<Map.Entry<K,Integer>> |
entrySet() |
int |
getCount(K k) |
boolean |
isEmpty() |
int |
numKeys() |
boolean |
remove(K k) |
Set<K> |
uniqueKeys() |
Copyright © 2003–2015. All rights reserved.