public class ForwardingSet<E> extends ForwardingCollection<E,Set<E>> implements Set<E>
| 构造器和说明 |
|---|
ForwardingSet() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(E e) |
boolean |
addAll(Collection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
Set<E> |
getDelegate() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
setDelegate(Set<E> delegate) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic void setDelegate(Set<E> delegate)
setDelegate 在接口中 Delegatable<Set<E>>setDelegate 在类中 ForwardingCollection<E,Set<E>>public Set<E> getDelegate()
getDelegate 在接口中 Delegatable<Set<E>>getDelegate 在类中 ForwardingCollection<E,Set<E>>public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll 在接口中 Collection<E>containsAll 在接口中 Set<E>containsAll 在类中 ForwardingCollection<E,Set<E>>public boolean addAll(Collection<? extends E> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
Copyright © 2022. All rights reserved.