net.fortuna.ical4j.model
Class NumberList
ArrayListnet.fortuna.ical4j.model.NumberList
- Serializable
public class NumberList
extends ArrayList
implements Serializable
$Id: NumberList.java,v 1.13 2008/12/16 12:34:52 fortuna Exp $ [29-May-2004]
Defines a list of numbers.
NumberList()- Default constructor.
|
NumberList(String aString)- Constructor.
|
NumberList(int initialCapacity)- Creates a new instance with the specified initial capacity.
|
boolean | add(Integer aNumber)
|
boolean | add(Object arg0)- Overrides superclass to throw an
IllegalArgumentException
where argument is not a java.lang.Integer.
|
boolean | remove(Integer aNumber)
|
String | toString()
|
NumberList
public NumberList()
Default constructor.
NumberList
public NumberList(String aString)
Constructor.
aString - a string representation of a number list
NumberList
public NumberList(int initialCapacity)
Creates a new instance with the specified initial capacity.
initialCapacity - the initial capacity of the list
add
public final boolean add(Integer aNumber)
aNumber - a number to add to the list
add
public final boolean add(Object arg0)
Overrides superclass to throw an IllegalArgumentException
where argument is not a java.lang.Integer.
remove
public final boolean remove(Integer aNumber)
aNumber - a number to remove from the list
toString
public final String toString()
java.lang.Object.toString()