ucar.unidata.util
Class CollectionProxy

java.lang.Object
  extended by ucar.unidata.util.CollectionProxy
All Implemented Interfaces:
Iterable, Collection
Direct Known Subclasses:
SetProxy

public class CollectionProxy
extends Object
implements Collection

Version:
$Revision: 1.11 $ $Date: 2006/05/05 19:19:33 $
Author:
$Author: jeffmc $

Field Summary
protected  Collection adaptee_
          _more_
 
Constructor Summary
CollectionProxy(Collection adaptee)
          _more_
 
Method Summary
 boolean add(Object arg)
          _more_
 boolean addAll(Collection arg)
          _more_
 void clear()
          _more_
 boolean contains(Object arg)
          _more_
 boolean containsAll(Collection arg)
          _more_
 boolean isEmpty()
          _more_
 Iterator iterator()
          _more_
static void main(String[] args)
          _more_
 boolean remove(Object arg)
          _more_
 boolean removeAll(Collection arg)
          _more_
 boolean retainAll(Collection arg)
          _more_
 int size()
          _more_
 Object[] toArray()
          _more_
 Object[] toArray(Object[] arg)
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

adaptee_

protected final Collection adaptee_
_more_

Constructor Detail

CollectionProxy

public CollectionProxy(Collection adaptee)
_more_

Parameters:
adaptee -
Method Detail

add

public boolean add(Object arg)
_more_

Specified by:
add in interface Collection
Parameters:
arg -
Returns:
_more_

addAll

public boolean addAll(Collection arg)
_more_

Specified by:
addAll in interface Collection
Parameters:
arg -
Returns:
_more_

clear

public void clear()
_more_

Specified by:
clear in interface Collection

contains

public boolean contains(Object arg)
_more_

Specified by:
contains in interface Collection
Parameters:
arg -
Returns:
_more_

containsAll

public boolean containsAll(Collection arg)
_more_

Specified by:
containsAll in interface Collection
Parameters:
arg -
Returns:
_more_

isEmpty

public boolean isEmpty()
_more_

Specified by:
isEmpty in interface Collection
Returns:
_more_

iterator

public Iterator iterator()
_more_

Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Returns:
_more_

remove

public boolean remove(Object arg)
_more_

Specified by:
remove in interface Collection
Parameters:
arg -
Returns:
_more_

removeAll

public boolean removeAll(Collection arg)
_more_

Specified by:
removeAll in interface Collection
Parameters:
arg -
Returns:
_more_

retainAll

public boolean retainAll(Collection arg)
_more_

Specified by:
retainAll in interface Collection
Parameters:
arg -
Returns:
_more_

size

public int size()
_more_

Specified by:
size in interface Collection
Returns:
_more_

toArray

public Object[] toArray()
_more_

Specified by:
toArray in interface Collection
Returns:
_more_

toArray

public Object[] toArray(Object[] arg)
_more_

Specified by:
toArray in interface Collection
Parameters:
arg -
Returns:
_more_

main

public static void main(String[] args)
_more_

Parameters:
args -