|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A List for storing CHTCode objects.
| Method Summary | |
void |
add(CHTCode code)
Adds a CHTCode to the end of this list. |
CHTCode |
get(int index)
Gets a CHTCode from this list. |
boolean |
isEmpty()
Queries if this list is empty. |
CHTCodeIterator |
iterator()
Gets an iterator for the elements in this list. |
CHTCode |
remove(int index)
Removes a CHTCode from this list at position index. |
int |
size()
Gets the size of this list (the element count). |
| Method Detail |
public void add(CHTCode code)
code - the CHTCode to add.
public CHTCode remove(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The position in the list to remove.
java.lang.ArrayIndexOutOfBoundsException - if the index in not valid (0
< index < size())
public CHTCode get(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The index of the CHTCode to get.
java.lang.ArrayIndexOutOfBoundsException - if the index in not valid (0
< index < size())public int size()
public boolean isEmpty()
public CHTCodeIterator iterator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||