|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.hyphenation.CharVector
This class implements a simple char vector with access to the underlying array.
Constructor Summary | |
CharVector()
|
|
CharVector(char[] a)
|
|
CharVector(char[] a,
int capacity)
|
|
CharVector(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 |
java.lang.Object |
clone()
|
char |
get(int index)
|
char[] |
getArray()
|
int |
length()
return number of items in array |
void |
put(int index,
char val)
|
void |
trimToSize()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CharVector()
public CharVector(int capacity)
public CharVector(char[] a)
public CharVector(char[] a, int capacity)
Method Detail |
public void clear()
public java.lang.Object clone()
public char[] getArray()
public int length()
public int capacity()
public void put(int index, char val)
public char get(int index)
public int alloc(int size)
public void trimToSize()
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |