public class SetWrapper<E> extends Object implements Set<E>
| Constructor and Description |
|---|
SetWrapper(Set<E> set)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
boolean |
addAll(Collection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
Set<E> |
getWrappedSet()
Возвращает исходное множество, на которое происходят делегация вызывов
|
int |
hashCode() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic Set<E> getWrappedSet()
public <T> T[] toArray(T[] a)
public Object[] toArray()
public int size()
public boolean retainAll(Collection<?> c)
public boolean removeAll(Collection<?> c)
public boolean remove(Object o)
public boolean isEmpty()
public int hashCode()
public boolean equals(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean contains(Object o)
public void clear()
public boolean addAll(Collection<? extends E> c)
Copyright © 2017. All rights reserved.