Class CharVector
- Namespace
- iTextSharp.text.pdf.hyphenation
- Assembly
- iTextSharp.LGPLv2.Core.dll
This class implements a simple char vector with access to the underlying array. @author Carlos Villegas
public class CharVector : ICloneable
- Inheritance
-
CharVector
- Implements
- Inherited Members
Constructors
CharVector()
public CharVector()
CharVector(char[])
public CharVector(char[] a)
Parameters
a
char[]
CharVector(char[], int)
public CharVector(char[] a, int capacity)
Parameters
CharVector(int)
public CharVector(int capacity)
Parameters
capacity
int
Properties
Arr
The encapsulated array
public char[] Arr { get; }
Property Value
- char[]
Capacity
returns current capacity of array
public int Capacity { get; }
Property Value
this[int]
public char this[int index] { get; set; }
Parameters
index
int
Property Value
Length
return number of items in array
public int Length { get; }
Property Value
Methods
Alloc(int)
public int Alloc(int size)
Parameters
size
int
Returns
Clear()
Reset Vector but don't resize or clear elements
public void Clear()
Clone()
public object Clone()
Returns
TrimToSize()
public void TrimToSize()