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)
    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 © 2020 Licensed to the Apache Software Foundation (ASF)