public class MiniSet<E>
extends java.util.AbstractSet<E>
Constructor and Description |
---|
MiniSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
void |
clear() |
boolean |
containsAll(java.util.Collection<?> c) |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
addAll, contains, isEmpty, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public java.util.Iterator<E> iterator()
public int size()
public boolean add(E e)
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean containsAll(java.util.Collection<?> c)