Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ByteRunAutomaton

    Automaton representation for matching UTF-8 byte[].

    Inheritance
    System.Object
    RunAutomaton
    ByteRunAutomaton
    Inherited Members
    RunAutomaton.m_accept
    RunAutomaton.m_initial
    RunAutomaton.m_transitions
    RunAutomaton.ToString()
    RunAutomaton.Count
    RunAutomaton.IsAccept(Int32)
    RunAutomaton.InitialState
    RunAutomaton.GetCharIntervals()
    RunAutomaton.Step(Int32, Int32)
    RunAutomaton.GetHashCode()
    RunAutomaton.Equals(Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Util.Automaton
    Assembly: Lucene.Net.dll
    Syntax
    public class ByteRunAutomaton : RunAutomaton

    Constructors

    | Improve this Doc View Source

    ByteRunAutomaton(Automaton)

    Declaration
    public ByteRunAutomaton(Automaton a)
    Parameters
    Type Name Description
    Automaton a
    | Improve this Doc View Source

    ByteRunAutomaton(Automaton, Boolean)

    Expert: if utf8 is true, the input is already byte-based

    Declaration
    public ByteRunAutomaton(Automaton a, bool utf8)
    Parameters
    Type Name Description
    Automaton a
    System.Boolean utf8

    Methods

    | Improve this Doc View Source

    Run(Byte[], Int32, Int32)

    Returns true if the given byte array is accepted by this automaton.

    Declaration
    public virtual bool Run(byte[] s, int offset, int length)
    Parameters
    Type Name Description
    System.Byte[] s
    System.Int32 offset
    System.Int32 length
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.