Class CharVector
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Inherited Members
Namespace: Lucene.Net.Analysis.Compound.Hyphenation
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class CharVector
Constructors
CharVector()
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public CharVector()
CharVector(char[])
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public CharVector(char[] a)
Parameters
Type | Name | Description |
---|---|---|
char[] | a |
CharVector(char[], int)
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public CharVector(char[] a, int capacity)
Parameters
Type | Name | Description |
---|---|---|
char[] | a | |
int | capacity |
CharVector(int)
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public CharVector(int capacity)
Parameters
Type | Name | Description |
---|---|---|
int | capacity |
Properties
Array
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public virtual char[] Array { get; }
Property Value
Type | Description |
---|---|
char[] |
Capacity
returns current capacity of array
Declaration
public virtual int Capacity { get; }
Property Value
Type | Description |
---|---|
int |
this[int]
LUCENENET indexer for .NET
Declaration
public virtual char this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
int | index |
Property Value
Type | Description |
---|---|
char |
Length
return number of items in array
Declaration
public virtual int Length { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Alloc(int)
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public virtual int Alloc(int size)
Parameters
Type | Name | Description |
---|---|---|
int | size |
Returns
Type | Description |
---|---|
int |
Clear()
Reset Vector but don't resize or clear elements
Declaration
public virtual void Clear()
Clone()
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
object |
TrimToSize()
This class implements a simple char vector with access to the underlying array.
This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Declaration
public virtual void TrimToSize()