public class WeakHashSet<T> extends Object implements Set<T>
Constructor and Description |
---|
WeakHashSet() |
WeakHashSet(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> arg0) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection arg0) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection collection) |
boolean |
retainAll(Collection collection) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
public boolean add(T o)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public boolean remove(Object o)
public boolean removeAll(Collection collection)
public boolean retainAll(Collection collection)
public void clear()
public Object[] toArray()
public boolean containsAll(Collection arg0)
containsAll
in interface Collection<T>
containsAll
in interface Set<T>
public boolean addAll(Collection<? extends T> arg0)
Copyright © 2001-2015 JRuby. All Rights Reserved.