java.lang.Object
com.lowagie.text.pdf.hyphenation.CharVector
All Implemented Interfaces:
Serializable, Cloneable

@Deprecated public class CharVector extends Object implements Cloneable, Serializable
Deprecated.
This class implements a simple char vector with access to the underlying array.
Author:
Carlos Villegas
See Also:
  • 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

      public Object clone()
      Deprecated.
      Overrides:
      clone in class Object
    • 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.