public class MultiSet<E> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
MultiSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E key)
Erhöht den Count für
key im 1. |
void |
addCount(E key,
Long c) |
void |
clear() |
int |
distinctSize()
Returns the number of distinct values contained in this multiset.
|
Long |
getCount(E key)
Liefert den Count für
key zurück. |
double |
getPercentage(E key)
Deprecated.
|
Long |
getTotal() |
Set<E> |
getValues() |
boolean |
hasValue(E v) |
Iterator<E> |
iterator()
This returns an iterator that can be used to iterate over the
set of distinct values contained in this multi-set.
|
E |
remove(E o) |
E |
removeAll(E o) |
int |
size()
Returns the number of values contained in this set.
|
String |
toString() |
public static final long serialVersionUID
public void add(E key)
key im 1.key - public double getPercentage(E key)
key - public Long getTotal()
public boolean hasValue(E v)
public Iterator<E> iterator()
public int size()
public int distinctSize()
public void clear()
Copyright © 2013. All Rights Reserved.