org.apache.commons.collections.primitives.adapters

Class AbstractShortCollectionCollection

abstract class AbstractShortCollectionCollection extends Object implements Collection

Since: Commons Primitives 1.0

Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:39 $

Author: Rodney Waldhoff

Method Summary
booleanadd(Object element)
booleanaddAll(Collection c)
voidclear()
booleancontains(Object element)
booleancontainsAll(Collection c)
protected abstract ShortCollectiongetShortCollection()
booleanisEmpty()
Iteratoriterator()
wraps the ShortIterator returned by my underlying ShortCollection, if any.
booleanremove(Object element)
booleanremoveAll(Collection c)
booleanretainAll(Collection c)
intsize()
Object[]toArray()
Object[]toArray(Object[] A)
StringtoString()

Method Detail

add

public boolean add(Object element)

addAll

public boolean addAll(Collection c)

clear

public void clear()

contains

public boolean contains(Object element)

containsAll

public boolean containsAll(Collection c)

getShortCollection

protected abstract ShortCollection getShortCollection()

isEmpty

public boolean isEmpty()

iterator

public Iterator iterator()
wraps the ShortIterator returned by my underlying ShortCollection, if any.

remove

public boolean remove(Object element)

removeAll

public boolean removeAll(Collection c)

retainAll

public boolean retainAll(Collection c)

size

public int size()

toArray

public Object[] toArray()

toArray

public Object[] toArray(Object[] A)

toString

public String toString()
Copyright (c) 2002-2003 - Apache Software Foundation