Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    CharVector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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()
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.