public class Vector_Short 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_Short(int number) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(short value)
add an item
|
short[] |
get()
extract underlying data
|
protected static int |
incrementSize(int increment_size) |
Copyright © 2017. All rights reserved.