public class WeakHashSet extends Object implements Set, Serializable
| Constructor and Description |
|---|
WeakHashSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object obj) |
boolean |
addAll(Collection collection) |
void |
clear() |
boolean |
contains(Object obj) |
boolean |
containsAll(Collection collection) |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object obj) |
boolean |
removeAll(Collection collection) |
boolean |
retainAll(Collection collection) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic Iterator iterator()
public int size()
size in interface Collectionsize in interface Setpublic boolean add(Object obj)
add in interface Collectionadd in interface Setpublic boolean addAll(Collection collection)
addAll in interface CollectionaddAll in interface Setpublic void clear()
clear in interface Collectionclear in interface Setpublic boolean contains(Object obj)
contains in interface Collectioncontains in interface Setpublic boolean containsAll(Collection collection)
containsAll in interface CollectioncontainsAll in interface Setpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Setpublic boolean remove(Object obj)
remove in interface Collectionremove in interface Setpublic boolean removeAll(Collection collection)
removeAll in interface CollectionremoveAll in interface Setpublic boolean retainAll(Collection collection)
retainAll in interface CollectionretainAll in interface Setpublic Object[] toArray()
toArray in interface CollectiontoArray in interface SetCopyright © 2017 SAP SE. All Rights Reserved.