org.apache.commons.collections.primitives.adapters

Class AbstractCollectionCharCollection

abstract class AbstractCollectionCharCollection extends Object implements CharCollection

Since: Commons Primitives 0.1

Version: $Revision: 1.2 $ $Date: 2003/10/14 20:04:17 $

Author: Rodney Waldhoff

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

Constructor Detail

AbstractCollectionCharCollection

protected AbstractCollectionCharCollection()

Method Detail

add

public boolean add(char element)

addAll

public boolean addAll(CharCollection c)

clear

public void clear()

contains

public boolean contains(char element)

containsAll

public boolean containsAll(CharCollection c)

getCollection

protected abstract Collection getCollection()

isEmpty

public boolean isEmpty()

iterator

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

removeAll

public boolean removeAll(CharCollection c)

removeElement

public boolean removeElement(char element)

retainAll

public boolean retainAll(CharCollection c)

size

public int size()

toArray

public char[] toArray()

toArray

public char[] toArray(char[] dest)

toString

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