public class CollectionProxy
extends java.lang.Object
implements java.util.Collection
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection |
adaptee_
_more_
|
Constructor and Description |
---|
CollectionProxy(java.util.Collection adaptee)
_more_
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object arg)
_more_
|
boolean |
addAll(java.util.Collection arg)
_more_
|
void |
clear()
_more_
|
boolean |
contains(java.lang.Object arg)
_more_
|
boolean |
containsAll(java.util.Collection arg)
_more_
|
boolean |
isEmpty()
_more_
|
java.util.Iterator |
iterator()
_more_
|
static void |
main(java.lang.String[] args)
_more_
|
boolean |
remove(java.lang.Object arg)
_more_
|
boolean |
removeAll(java.util.Collection arg)
_more_
|
boolean |
retainAll(java.util.Collection arg)
_more_
|
int |
size()
_more_
|
java.lang.Object[] |
toArray()
_more_
|
java.lang.Object[] |
toArray(java.lang.Object[] arg)
_more_
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CollectionProxy(java.util.Collection adaptee)
adaptee
- public boolean add(java.lang.Object arg)
add
in interface java.util.Collection
arg
- public boolean addAll(java.util.Collection arg)
addAll
in interface java.util.Collection
arg
- public void clear()
clear
in interface java.util.Collection
public boolean contains(java.lang.Object arg)
contains
in interface java.util.Collection
arg
- public boolean containsAll(java.util.Collection arg)
containsAll
in interface java.util.Collection
arg
- public boolean isEmpty()
isEmpty
in interface java.util.Collection
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
public boolean remove(java.lang.Object arg)
remove
in interface java.util.Collection
arg
- public boolean removeAll(java.util.Collection arg)
removeAll
in interface java.util.Collection
arg
- public boolean retainAll(java.util.Collection arg)
retainAll
in interface java.util.Collection
arg
- public int size()
size
in interface java.util.Collection
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
public java.lang.Object[] toArray(java.lang.Object[] arg)
toArray
in interface java.util.Collection
arg
- public static void main(java.lang.String[] args)
args
-