java.lang.Object
com.lowagie.text.pdf.hyphenation.CharVector
- All Implemented Interfaces:
Serializable,Cloneable
Deprecated.
This class implements a simple char vector with access to the underlying array.
- Author:
- Carlos Villegas
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.CharVector(char[] a) Deprecated.CharVector(char[] a, int capacity) Deprecated.CharVector(int capacity) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintalloc(int size) Deprecated.intcapacity()Deprecated.returns current capacity of arrayvoidclear()Deprecated.Reset Vector but don't resize or clear elementsclone()Deprecated.charget(int index) Deprecated.char[]getArray()Deprecated.intlength()Deprecated.voidput(int index, char val) Deprecated.voidDeprecated.
-
Constructor Details
-
CharVector
public CharVector()Deprecated. -
CharVector
public CharVector(int capacity) Deprecated. -
CharVector
public CharVector(char[] a) Deprecated. -
CharVector
public CharVector(char[] a, int capacity) Deprecated.
-
-
Method Details
-
clear
public void clear()Deprecated.Reset Vector but don't resize or clear elements -
clone
Deprecated. -
getArray
public char[] getArray()Deprecated. -
length
public int length()Deprecated.- Returns:
- the number of items in array
-
capacity
public int capacity()Deprecated.returns current capacity of array- Returns:
- the current capacity of array
-
put
public void put(int index, char val) Deprecated. -
get
public char get(int index) Deprecated. -
alloc
public int alloc(int size) Deprecated. -
trimToSize
public void trimToSize()Deprecated.
-