public class DescriptionList
extends java.lang.Object
implements java.io.Serializable
Description
objects.Constructor and Description |
---|
DescriptionList()
Deprecated.
Constructs a new, empty DescriptionList.
|
DescriptionList(int initialSize)
Deprecated.
Constructs a new, empty DescriptionList, with the initial capacity specified.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Description description)
Deprecated.
Adds a
Description to the DescriptionList. |
Description |
get(int index)
Deprecated.
Returns the
Description at the specified index. |
int |
size()
Deprecated.
Returns the number of
Description objects in the DescriptionList. |
public DescriptionList()
public DescriptionList(int initialSize)
initialSize
- the initial capacity of the DescriptionList.public void add(Description description)
Description
to the DescriptionList.description
- the Description to be added.public Description get(int index)
Description
at the specified index.int
- the index of the Description to be retrieved.public int size()
Description
objects in the DescriptionList.