org.apache.commons.collections.primitives

Class AbstractFloatCollection

public abstract class AbstractFloatCollection extends Object implements FloatCollection

Abstract base class for FloatCollections.

Read-only subclasses must override AbstractFloatCollection and AbstractFloatCollection. Mutable subclasses should also override AbstractFloatCollection and FloatIterator.remove. All other methods have at least some base implementation derived from these. Subclasses may choose to override these methods to provide a more efficient implementation.

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Constructor Summary
protected AbstractFloatCollection()
Method Summary
booleanadd(float element)
Unsupported in this base implementation.
booleanaddAll(FloatCollection c)
voidclear()
booleancontains(float element)
booleancontainsAll(FloatCollection c)
booleanisEmpty()
abstract FloatIteratoriterator()
booleanremoveAll(FloatCollection c)
booleanremoveElement(float element)
booleanretainAll(FloatCollection c)
abstract intsize()
float[]toArray()
float[]toArray(float[] a)

Constructor Detail

AbstractFloatCollection

protected AbstractFloatCollection()

Method Detail

add

public boolean add(float element)
Unsupported in this base implementation.

addAll

public boolean addAll(FloatCollection c)

clear

public void clear()

contains

public boolean contains(float element)

containsAll

public boolean containsAll(FloatCollection c)

isEmpty

public boolean isEmpty()

iterator

public abstract FloatIterator iterator()

removeAll

public boolean removeAll(FloatCollection c)

removeElement

public boolean removeElement(float element)

retainAll

public boolean retainAll(FloatCollection c)

size

public abstract int size()

toArray

public float[] toArray()

toArray

public float[] toArray(float[] a)
Copyright (c) 2002-2003 - Apache Software Foundation