org.apache.commons.collections.primitives.adapters

Class AbstractCollectionShortCollection

abstract class AbstractCollectionShortCollection extends Object implements ShortCollection

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Constructor Summary
protected AbstractCollectionShortCollection()
Method Summary
booleanadd(short element)
booleanaddAll(ShortCollection c)
voidclear()
booleancontains(short element)
booleancontainsAll(ShortCollection c)
protected abstract CollectiongetCollection()
booleanisEmpty()
ShortIteratoriterator()
wraps the java.util.Iterator Iterator returned by my underlying Collection Collection, if any.
booleanremoveAll(ShortCollection c)
booleanremoveElement(short element)
booleanretainAll(ShortCollection c)
intsize()
short[]toArray()
short[]toArray(short[] dest)
StringtoString()

Constructor Detail

AbstractCollectionShortCollection

protected AbstractCollectionShortCollection()

Method Detail

add

public boolean add(short element)

addAll

public boolean addAll(ShortCollection c)

clear

public void clear()

contains

public boolean contains(short element)

containsAll

public boolean containsAll(ShortCollection c)

getCollection

protected abstract Collection getCollection()

isEmpty

public boolean isEmpty()

iterator

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

removeAll

public boolean removeAll(ShortCollection c)

removeElement

public boolean removeElement(short element)

retainAll

public boolean retainAll(ShortCollection c)

size

public int size()

toArray

public short[] toArray()

toArray

public short[] toArray(short[] dest)

toString

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