Package org.openjdk.asmtools.jasm

## Class DataVector<T extends org.openjdk.asmtools.jasm.Data>

- java.lang.Object
- - org.openjdk.asmtools.jasm.DataVector<T>

- All Implemented Interfaces:
    `java.lang.Iterable<T>`

      public class DataVector<T extends org.openjdk.asmtools.jasm.Data>
      extends java.lang.Object
      implements java.lang.Iterable<T>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DataVector()` |
    `DataVector​(int initSize)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `add​(T element)` |
    `void` | `addAll​(java.util.List<T> collection)` |
    `void` | `addElement​(T element)` |
    `org.openjdk.asmtools.jasm.Data` | `elementAt​(int k)` |
    `int` | `getLength()` |
    `java.util.Iterator<T>` | `iterator()` |
    `int` | `size()` |
    `void` | `write​(CheckedDataOutputStream out)` |
    `void` | `writeElements​(CheckedDataOutputStream out)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### DataVector

          public DataVector​(int initSize)

    - #### DataVector

          public DataVector()

  - ### Method Detail

    - #### iterator

          public java.util.Iterator<T> iterator()

      Specified by:
        `iterator` in interface `java.lang.Iterable<T extends org.openjdk.asmtools.jasm.Data>`

    - #### add

          public void add​(T element)

    - #### addAll

          public void addAll​(java.util.List<T> collection)

    - #### getLength

          public int getLength()

    - #### write

          public void write​(CheckedDataOutputStream out)
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### writeElements

          public void writeElements​(CheckedDataOutputStream out)
                             throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### addElement

          public void addElement​(T element)

    - #### size

          public int size()

    - #### elementAt

          public org.openjdk.asmtools.jasm.Data elementAt​(int k)