An ordered list of objects with names. The objects must implement the Nameable interface. The names are required to be unique and non-null.
This class is biased towards sequential accesses. If it is used with name lookups, the list should be small. It is implemented as a linked list rather than hash table to preserve ordering information, and thus would not provide efficient name lookup for large lists. Also, it permits the name of an object in the list to change without this list being informed.
An instance of this class may have a container, but that container is only used for error reporting.
@author Mudit Goel, Edward A. Lee
@version $Id: NamedList.java,v 1.53 2005/07/08 19:59:18 cxh Exp $
@since Ptolemy II 0.2
@Pt.ProposedRating Green (eal)
@Pt.AcceptedRating Green (johnr)
@see Nameable