org.apache.commons.collections.primitives.adapters

Class AbstractCollectionDoubleCollection

abstract class AbstractCollectionDoubleCollection extends Object implements DoubleCollection

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

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

Constructor Detail

AbstractCollectionDoubleCollection

protected AbstractCollectionDoubleCollection()

Method Detail

add

public boolean add(double element)

addAll

public boolean addAll(DoubleCollection c)

clear

public void clear()

contains

public boolean contains(double element)

containsAll

public boolean containsAll(DoubleCollection c)

getCollection

protected abstract Collection getCollection()

isEmpty

public boolean isEmpty()

iterator

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

removeAll

public boolean removeAll(DoubleCollection c)

removeElement

public boolean removeElement(double element)

retainAll

public boolean retainAll(DoubleCollection c)

size

public int size()

toArray

public double[] toArray()

toArray

public double[] toArray(double[] dest)

toString

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