public class Multiset<K>
extends java.lang.Object
Constructor and Description |
---|
Multiset() |
Multiset(java.util.Map<K,java.lang.Integer> map) |
Multiset(Multiset<K> mset) |
Modifier and Type | Method and Description |
---|---|
void |
add(K k) |
void |
add(K k,
int val) |
void |
addAll(java.lang.Iterable<K> c) |
void |
clear() |
java.lang.Iterable<java.util.Map.Entry<K,java.lang.Integer>> |
entriesInDecreasingFrequency() |
java.lang.Iterable<java.util.Map.Entry<K,java.lang.Integer>> |
entrySet() |
int |
getCount(K k) |
boolean |
isEmpty() |
int |
numKeys() |
boolean |
remove(K k) |
java.util.Set<K> |
uniqueKeys() |
public Multiset()
public Multiset(java.util.Map<K,java.lang.Integer> map)
public void clear()
public boolean isEmpty()
public int numKeys()
public void add(K k)
public boolean remove(K k)
public void add(K k, int val)
public void addAll(java.lang.Iterable<K> c)
public int getCount(K k)
public java.lang.Iterable<java.util.Map.Entry<K,java.lang.Integer>> entrySet()
public java.util.Set<K> uniqueKeys()
public java.lang.Iterable<java.util.Map.Entry<K,java.lang.Integer>> entriesInDecreasingFrequency()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.