Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ByteVector

    This class implements a simple byte 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
    ByteVector
    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 ByteVector

    Constructors

    ByteVector()

    This class implements a simple byte 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 ByteVector()

    ByteVector(byte[])

    This class implements a simple byte 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 ByteVector(byte[] a)
    Parameters
    Type Name Description
    byte[] a

    ByteVector(byte[], int)

    This class implements a simple byte 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 ByteVector(byte[] a, int capacity)
    Parameters
    Type Name Description
    byte[] a
    int capacity

    ByteVector(int)

    This class implements a simple byte 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 ByteVector(int capacity)
    Parameters
    Type Name Description
    int capacity

    Properties

    Array

    This class implements a simple byte 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 byte[] Array { get; }
    Property Value
    Type Description
    byte[]

    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 byte this[int index] { get; set; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    byte

    Length

    return number of items in array

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

    Methods

    Alloc(int)

    This is to implement memory allocation in the array. Like malloc().

    Declaration
    public virtual int Alloc(int size)
    Parameters
    Type Name Description
    int size
    Returns
    Type Description
    int

    TrimToSize()

    This class implements a simple byte 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.