| java.lang.Object com.lowagie.text.pdf.hyphenation.ByteVector
ByteVector | public class ByteVector implements Serializable(Code) | | This class implements a simple byte vector with access to the
underlying array.
author: Carlos Villegas |
Method Summary | |
public int | alloc(int size) This is to implement memory allocation in the array. | public int | capacity() | public byte | get(int index) | public byte[] | getArray() | public int | length() | public void | put(int index, byte val) | public void | trimToSize() |
ByteVector | public ByteVector()(Code) | | |
ByteVector | public ByteVector(int capacity)(Code) | | |
ByteVector | public ByteVector(byte[] a)(Code) | | |
ByteVector | public ByteVector(byte[] a, int capacity)(Code) | | |
alloc | public int alloc(int size)(Code) | | This is to implement memory allocation in the array. Like malloc().
|
capacity | public int capacity()(Code) | | returns current capacity of array
|
get | public byte get(int index)(Code) | | |
getArray | public byte[] getArray()(Code) | | |
length | public int length()(Code) | | return number of items in array
|
put | public void put(int index, byte val)(Code) | | |
trimToSize | public void trimToSize()(Code) | | |
|
|