public abstract class ForwardingCollection<E>
extends java.lang.Object
implements java.util.Collection<E>
Constructor and Description |
---|
ForwardingCollection() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
boolean |
addAll(java.util.Collection<? extends E> collection) |
void |
clear() |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection<?> collection) |
protected abstract java.util.Collection<E> |
delegate() |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object object) |
boolean |
removeAll(java.util.Collection<?> collection) |
boolean |
retainAll(java.util.Collection<?> collection) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected abstract java.util.Collection<E> delegate()
public java.util.Iterator<E> iterator()
public int size()
size
in interface java.util.Collection<E>
public boolean removeAll(java.util.Collection<?> collection)
removeAll
in interface java.util.Collection<E>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<E>
public boolean contains(java.lang.Object object)
contains
in interface java.util.Collection<E>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<E>
public <T> T[] toArray(T[] array)
toArray
in interface java.util.Collection<E>
public boolean remove(java.lang.Object object)
remove
in interface java.util.Collection<E>
public boolean containsAll(java.util.Collection<?> collection)
containsAll
in interface java.util.Collection<E>
public boolean addAll(java.util.Collection<? extends E> collection)
addAll
in interface java.util.Collection<E>
public boolean retainAll(java.util.Collection<?> collection)
retainAll
in interface java.util.Collection<E>
public void clear()
clear
in interface java.util.Collection<E>
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.