public class SimpMultiset<T>
extends java.lang.Object
implements java.util.Collection<T>, java.io.Serializable
Constructor and Description |
---|
SimpMultiset() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object arg0) |
boolean |
addAll(java.util.Collection arg0) |
boolean |
addFirst(T arg0) |
boolean |
addLast(T arg0) |
void |
clear() |
boolean |
contains(java.lang.Object arg0) |
boolean |
containsAll(java.util.Collection arg0) |
int |
count(T other) |
boolean |
equals(java.lang.Object obj) |
T |
get(int x) |
boolean |
isEmpty() |
java.util.Iterator |
iterator() |
java.util.ListIterator<T> |
listiterator() |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listiterator(int x) |
java.util.ListIterator<T> |
listIterator(int x) |
boolean |
remove(java.lang.Object arg0) |
boolean |
removeAll(java.util.Collection arg0) |
boolean |
retainAll(java.util.Collection arg0) |
int |
size() |
boolean |
subset(SimpMultiset<T> other) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] arg0) |
java.util.LinkedList<T> |
toList() |
public int count(T other)
public java.util.LinkedList<T> toList()
public java.util.ListIterator<T> listIterator()
public java.util.ListIterator<T> listIterator(int x)
public java.util.ListIterator<T> listiterator()
public java.util.ListIterator<T> listiterator(int x)
public boolean addFirst(T arg0)
public boolean addLast(T arg0)
public T get(int x)
public boolean add(java.lang.Object arg0)
add
in interface java.util.Collection<T>
public boolean addAll(java.util.Collection arg0)
addAll
in interface java.util.Collection<T>
public void clear()
clear
in interface java.util.Collection<T>
public boolean contains(java.lang.Object arg0)
contains
in interface java.util.Collection<T>
public boolean subset(SimpMultiset<T> other)
public boolean containsAll(java.util.Collection arg0)
containsAll
in interface java.util.Collection<T>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<T>
public java.util.Iterator iterator()
public boolean remove(java.lang.Object arg0)
remove
in interface java.util.Collection<T>
public boolean removeAll(java.util.Collection arg0)
removeAll
in interface java.util.Collection<T>
public boolean retainAll(java.util.Collection arg0)
retainAll
in interface java.util.Collection<T>
public int size()
size
in interface java.util.Collection<T>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<T>
public java.lang.Object[] toArray(java.lang.Object[] arg0)
toArray
in interface java.util.Collection<T>
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Collection<T>
equals
in class java.lang.Object