org.apache.commons.collections.primitives.adapters

Class AbstractCollectionLongCollection

abstract class AbstractCollectionLongCollection extends Object implements LongCollection

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

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

Constructor Detail

AbstractCollectionLongCollection

protected AbstractCollectionLongCollection()

Method Detail

add

public boolean add(long element)

addAll

public boolean addAll(LongCollection c)

clear

public void clear()

contains

public boolean contains(long element)

containsAll

public boolean containsAll(LongCollection c)

getCollection

protected abstract Collection getCollection()

isEmpty

public boolean isEmpty()

iterator

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

removeAll

public boolean removeAll(LongCollection c)

removeElement

public boolean removeElement(long element)

retainAll

public boolean retainAll(LongCollection c)

size

public int size()

toArray

public long[] toArray()

toArray

public long[] toArray(long[] dest)

toString

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