Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » hyphenation » [javadoc | source]
com.lowagie.text.pdf.hyphenation
public class: ByteVector [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.hyphenation.ByteVector

All Implemented Interfaces:
    Serializable

This class implements a simple byte vector with access to the underlying array.
Constructor:
 public ByteVector() 
 public ByteVector(int capacity) 
 public ByteVector(byte[] a) 
 public ByteVector(byte[] a,
    int capacity) 
Method from com.lowagie.text.pdf.hyphenation.ByteVector Summary:
alloc,   capacity,   get,   getArray,   length,   put,   trimToSize
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.hyphenation.ByteVector Detail:
 public int alloc(int size) 
    This is to implement memory allocation in the array. Like malloc().
 public int capacity() 
    returns current capacity of array
 public byte get(int index) 
 public byte[] getArray() 
 public int length() 
    return number of items in array
 public  void put(int index,
    byte val) 
 public  void trimToSize()