public class RemoveOnlyCollection<T> extends Object implements Collection<T>
| Constructor and Description |
|---|
RemoveOnlyCollection(Collection<T> delegate) |
RemoveOnlyCollection(T... elements) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object e) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic RemoveOnlyCollection(T... elements)
public RemoveOnlyCollection(Collection<T> delegate)
public int size()
size in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public boolean contains(Object o)
contains in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public Object[] toArray(Object[] a)
toArray in interface Collection<T>public boolean add(Object e)
add in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean containsAll(Collection c)
containsAll in interface Collection<T>public boolean addAll(Collection c)
addAll in interface Collection<T>public boolean removeAll(Collection c)
removeAll in interface Collection<T>public boolean retainAll(Collection c)
retainAll in interface Collection<T>public void clear()
clear in interface Collection<T>public int hashCode()
hashCode in interface Collection<T>hashCode in class Objectpublic boolean equals(Object obj)
equals in interface Collection<T>equals in class ObjectCopyright © 2016 JBoss by Red Hat. All rights reserved.