public final class FastStatementList extends Object
| Constructor and Description |
|---|
FastStatementList()
Construct a FastList with a default size of 32.
|
FastStatementList(int size)
Construct a FastList with a specfied size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Statement element)
Add an element to the tail of the FastList.
|
void |
clear()
Clear the FastList.
|
Statement |
get(int index)
Get the element at the specified index.
|
void |
remove(Object element)
This remove method is most efficient when the element being removed
is the last element.
|
int |
size()
Get the current number of elements in the FastList.
|
public FastStatementList()
public FastStatementList(int size)
size - the initial size of the FastListpublic void add(Statement element)
element - the element to addpublic Statement get(int index)
index - the index of the element to getpublic void remove(Object element)
element - the element to removepublic void clear()
public int size()
Copyright © 2014 Zaxxer.com. All rights reserved.