org.apache.commons.collections.primitives.adapters

Class AbstractCollectionByteCollection

abstract class AbstractCollectionByteCollection extends Object implements ByteCollection

Since: Commons Collections 2.2

Version: $Revision: 1.1 $ $Date: 2003/10/13 22:46:48 $

Author: Rodney Waldhoff

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

Constructor Detail

AbstractCollectionByteCollection

protected AbstractCollectionByteCollection()

Method Detail

add

public boolean add(byte element)

addAll

public boolean addAll(ByteCollection c)

clear

public void clear()

contains

public boolean contains(byte element)

containsAll

public boolean containsAll(ByteCollection c)

getCollection

protected abstract Collection getCollection()

isEmpty

public boolean isEmpty()

iterator

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

removeAll

public boolean removeAll(ByteCollection c)

removeElement

public boolean removeElement(byte element)

retainAll

public boolean retainAll(ByteCollection c)

size

public int size()

toArray

public byte[] toArray()

toArray

public byte[] toArray(byte[] dest)

toString

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