Package org.openjdk.asmtools.jasm
Class DataVector<T extends DataWriter>
java.lang.Object
org.openjdk.asmtools.jasm.DataVector<T>
- All Implemented Interfaces:
Iterable<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddElement(T element) elementAt(int k) intiterator()intsize()voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
elements
ArrayList<T extends DataWriter> elements
-
-
Constructor Details
-
DataVector
public DataVector(int initSize) -
DataVector
public DataVector()
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<T extends DataWriter>
-
add
-
addAll
-
getLength
public int getLength() -
write
- Throws:
IOException
-
writeElements
- Throws:
IOException
-
addElement
-
size
public int size() -
elementAt
-