org.apache.commons.collections.primitives.adapters

Class AbstractCollectionIntCollection

abstract class AbstractCollectionIntCollection extends Object implements IntCollection

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

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

Constructor Detail

AbstractCollectionIntCollection

protected AbstractCollectionIntCollection()

Method Detail

add

public boolean add(int element)

addAll

public boolean addAll(IntCollection c)

clear

public void clear()

contains

public boolean contains(int element)

containsAll

public boolean containsAll(IntCollection c)

getCollection

protected abstract Collection getCollection()

isEmpty

public boolean isEmpty()

iterator

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

removeAll

public boolean removeAll(IntCollection c)

removeElement

public boolean removeElement(int element)

retainAll

public boolean retainAll(IntCollection c)

size

public int size()

toArray

public int[] toArray()

toArray

public int[] toArray(int[] dest)

toString

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