ariba.util.core
Class NamedList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
ariba.util.core.Vector
ariba.util.core.NamedList
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List
public class NamedList
- extends Vector
- implements java.io.Externalizable
- See Also:
- Serialized Form
Constructor Summary |
NamedList()
|
NamedList(java.util.List original)
This constructor creates NamedList of NamedLists
from a vector of vectors. |
NamedList(java.lang.String name)
|
Method Summary |
java.lang.String |
name()
|
NamedList |
namedListNamed(java.lang.String vectorName)
|
void |
readExternal(java.io.ObjectInput input)
Reads object data from the given input and restores the contents of this
object. |
java.lang.String |
toString()
Returns the Vector's string representation. |
void |
writeExternal(java.io.ObjectOutput output)
Writes this Vector's data out to the given stream. |
Methods inherited from class ariba.util.core.Vector |
add, add, addAll, addElement, addElementIfAbsent, addElements, addElementsIfAbsent, capacity, clear, clone, contains, containsIdentical, copyInto, copyInto, count, elementArray, elementArrayNoCopy, elementAt, elements, elements, ensureCapacity, equals, firstElement, get, indexOf, indexOf, indexOfIdentical, indexOfIdentical, insertElementAfter, insertElementAt, insertElementBefore, isEmpty, isModifiable, lastElement, lastIndexOf, lastIndexOf, onlyContains, remove, remove, removeAll, removeAll, removeAllElements, removeElement, removeElementAt, removeElementIdentical, removeFirstElement, removeLastElement, removeRange, replaceElement, replaceElementAt, set, setElementAt, setUnmodifiable, size, sort, sortStrings, trimToSize |
Methods inherited from class java.util.AbstractList |
addAll, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, retainAll, toArray, toArray |
NamedList
public NamedList(java.lang.String name)
NamedList
public NamedList(java.util.List original)
- This constructor creates NamedList of NamedLists
from a vector of vectors.
NamedList
public NamedList()
name
public java.lang.String name()
namedListNamed
public NamedList namedListNamed(java.lang.String vectorName)
toString
public java.lang.String toString()
- Description copied from class:
Vector
- Returns the Vector's string representation.
- Overrides:
toString
in class Vector
- Returns:
- a formatted string representation of the Vector's
contents. It will be recursivly formated if the Vector
contains other Lists or Maps.
writeExternal
public void writeExternal(java.io.ObjectOutput output)
throws java.io.IOException
- Description copied from class:
Vector
- Writes this Vector's data out to the given stream. Implementation of
the Externalizable interface
- Specified by:
writeExternal
in interface java.io.Externalizable
- Overrides:
writeExternal
in class Vector
- Parameters:
output
- the stream to write the object to
- Throws:
java.io.IOException
- Includes any I/O exceptions that may occur
readExternal
public void readExternal(java.io.ObjectInput input)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from class:
Vector
- Reads object data from the given input and restores the contents of this
object. Implementation of the Externalizable interface.
- Specified by:
readExternal
in interface java.io.Externalizable
- Overrides:
readExternal
in class Vector
- Parameters:
input
- the stream to read data from in order to restore the object
- Throws:
java.io.IOException
- if I/O errors occur
java.lang.ClassNotFoundException
- If the class for an object being
restored cannot be found.
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.