com.lowagie.text.pdf.hyphenation
public class CharVector extends Object implements Cloneable, Serializable
Field Summary | |
---|---|
char[] | array
The encapsulated array |
int | blockSize |
static int | DEFAULT_BLOCK_SIZE
Capacity increment size |
int | n
Points to next free item |
static long | serialVersionUID |
Constructor Summary | |
---|---|
CharVector() | |
CharVector(int capacity) | |
CharVector(char[] a) | |
CharVector(char[] a, int capacity) |
Method Summary | |
---|---|
int | alloc(int size) |
int | capacity()
returns current capacity of array |
void | clear()
Reset Vector but don't resize or clear elements |
Object | clone() |
char | get(int index) |
char[] | getArray() |
int | length()
return number of items in array |
void | put(int index, char val) |
void | trimToSize() |