|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jwall.util.MultiSet<E>
public class MultiSet<E>
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
MultiSet()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public MultiSet()
| Method Detail |
|---|
public void add(E key)
key im 1.
key - public Long getCount(E key)
key zurück.
key -
public E remove(E o)
public E removeAll(E o)
public double getPercentage(E key)
key -
public Set<E> getValues()
public Long getTotal()
public String toString()
toString in class Objectpublic boolean hasValue(E v)
public Iterator<E> iterator()
public int size()
public int distinctSize()
public void clear()
public void addCount(E key,
Long c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||