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
    System.Object
    CharVector
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Compound.Hyphenation
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class CharVector

    Constructors

    | Improve this Doc View Source

    CharVector()

    Declaration
    public CharVector()
    | Improve this Doc View Source

    CharVector(Char[])

    Declaration
    public CharVector(char[] a)
    Parameters
    Type Name Description
    System.Char[] a
    | Improve this Doc View Source

    CharVector(Char[], Int32)

    Declaration
    public CharVector(char[] a, int capacity)
    Parameters
    Type Name Description
    System.Char[] a
    System.Int32 capacity
    | Improve this Doc View Source

    CharVector(Int32)

    Declaration
    public CharVector(int capacity)
    Parameters
    Type Name Description
    System.Int32 capacity

    Properties

    | Improve this Doc View Source

    Array

    Declaration
    public virtual char[] Array { get; }
    Property Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    Capacity

    returns current capacity of array

    Declaration
    public virtual int Capacity { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Item[Int32]

    LUCENENET indexer for .NET

    Declaration
    public virtual char this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    Length

    return number of items in array

    Declaration
    public virtual int Length { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Alloc(Int32)

    Declaration
    public virtual int Alloc(int size)
    Parameters
    Type Name Description
    System.Int32 size
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Clear()

    Reset Vector but don't resize or clear elements

    Declaration
    public virtual void Clear()
    | Improve this Doc View Source

    Clone()

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    TrimToSize()

    Declaration
    public virtual void TrimToSize()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.