public class Vector_Path extends Object implements Serializable
Much faster because not synchronized and no cast Does not double in size each time
| Modifier and Type | Field and Description |
|---|---|
protected int |
current_item |
| Constructor and Description |
|---|
Vector_Path() |
Vector_Path(int number) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(GeneralPath value)
add an item
|
void |
clear()
clear the array
|
GeneralPath |
elementAt(int id)
remove element at
|
GeneralPath[] |
get()
extract underlying data
|
protected static int |
incrementSize(int increment_size) |
void |
set(GeneralPath[] new_items)
replace underlying data
|
void |
setCurrent_item(int current_item)
sets the current item
|
int |
size()
return the size+1 as in last item (so an array of 0 values is 1)
|
protected static int incrementSize(int increment_size)
public final GeneralPath[] get()
public final void clear()
public final void set(GeneralPath[] new_items)
public final GeneralPath elementAt(int id)
public final void addElement(GeneralPath value)
public final int size()
public void setCurrent_item(int current_item)
NOT PART OF API and subject to change (DO NOT USE)
current_item - Copyright © 2017. All rights reserved.