protected class AbstractPersistentCollection.SetProxy extends Object implements Set
Modifier and Type | Field and Description |
---|---|
protected Collection |
set |
Constructor and Description |
---|
SetProxy(Collection set) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
protected final Collection set
public SetProxy(Collection set)
public boolean add(Object o)
add
in interface Collection
add
in interface Set
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface Set
public void clear()
clear
in interface Collection
clear
in interface Set
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
public boolean containsAll(Collection c)
containsAll
in interface Collection
containsAll
in interface Set
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface Set
public Iterator iterator()
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
public boolean removeAll(Collection c)
removeAll
in interface Collection
removeAll
in interface Set
public boolean retainAll(Collection c)
retainAll
in interface Collection
retainAll
in interface Set
public int size()
size
in interface Collection
size
in interface Set
public Object[] toArray()
toArray
in interface Collection
toArray
in interface Set
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.