public class AttributeList extends Vector<Attribute>
This class extends Vector to provide specialized methods for managing collections of Attribute objects. It includes methods for finding attributes by name.
capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
AttributeList()
Creates an empty AttributeList.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
getAttribute(int n)
Gets the attribute at the specified index.
|
Attribute |
getAttribute(String name)
Gets the first attribute with the specified name.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, streampublic Attribute getAttribute(int n)
n - the index of the attribute to retrieve