Microsoft SDK for Java

ReadOnlyAttributes Class Constructors

The ReadOnlyAttributes class contains the following constructors:

ReadOnlyAttributes()
ReadOnlyAttributes(Vector v)
ReadOnlyAttributes(int elems)

ReadOnlyAttributes()

Constructs an empty read-only Attribute collection.

Syntax

public ReadOnlyAttributes();

ReadOnlyAttributes(Vector v)

Constructs a read-only collection of Attribute objects using the given Vector of Attributes.

Syntax

public ReadOnlyAttributes(Vector v);

Parameters

v The Vector that contains the Attribute objects.

ReadOnlyAttributes(int elems)

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.

Syntax

public ReadOnlyAttributes(int elems);

Parameters

elems The number of Attribute objects to initially reserve space for in the collection.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.