public class NameList
extends java.lang.Object
implements java.io.Serializable
Name objects.| Constructor and Description |
|---|
NameList()
Deprecated.
Constructs a new, empty NameList.
|
NameList(int initialSize)
Deprecated.
Constructs a new, empty NameList, with the initial capacity specified.
|
NameList(Name initialName)
Deprecated.
Construct a NameList with an initial
Name. |
public NameList()
public NameList(int initialSize)
initialSize - the initial capacity of the NameList.public void add(Name name)
Name to the NameList.name - the Name to be added.public Name get(int index)
Name at the specified index.int - the index of the Name to be retrieved.public int size()
Name objects in the NameList.