The ReadOnlyAttributes class contains the following constructors:
ReadOnlyAttributes()
ReadOnlyAttributes(Vector v)
ReadOnlyAttributes(int elems)
Constructs an empty read-only Attribute collection.
public ReadOnlyAttributes();
Constructs a read-only collection of Attribute objects using the given Vector of Attributes.
public ReadOnlyAttributes(Vector v);
v | The Vector that contains the Attribute objects. |
Constructs an empty Attribute collection of the specified size. If you add more Attribute objects to the collection than the initially specified size, it grows automatically.
public ReadOnlyAttributes(int elems);
elems | The number of Attribute objects to initially reserve space for in the collection. |