Show / Hide Table of Contents

    Class CharArrayIterator

    A CharacterIterator used internally for use with ICU4N.Text.BreakIterator

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    ICU4N.Support.Text.CharacterIterator
    CharArrayIterator
    Inherited Members
    ICU4N.Support.Text.CharacterIterator.Done
    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.Util
    Assembly: Lucene.Net.ICU.dll
    Syntax
    public abstract class CharArrayIterator : CharacterIterator

    Properties

    | Improve this Doc View Source

    BeginIndex

    Declaration
    public override int BeginIndex { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    ICU4N.Support.Text.CharacterIterator.BeginIndex
    | Improve this Doc View Source

    Current

    Declaration
    public override char Current { get; }
    Property Value
    Type Description
    System.Char
    Overrides
    ICU4N.Support.Text.CharacterIterator.Current
    | Improve this Doc View Source

    EndIndex

    Declaration
    public override int EndIndex { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    ICU4N.Support.Text.CharacterIterator.EndIndex
    | Improve this Doc View Source

    Index

    Declaration
    public override int Index { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    ICU4N.Support.Text.CharacterIterator.Index
    | Improve this Doc View Source

    Length

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

    Start

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

    Text

    Declaration
    public virtual char[] Text { get; }
    Property Value
    Type Description
    System.Char[]

    Methods

    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    ICU4N.Support.Text.CharacterIterator.Clone()
    | Improve this Doc View Source

    First()

    Declaration
    public override char First()
    Returns
    Type Description
    System.Char
    Overrides
    ICU4N.Support.Text.CharacterIterator.First()
    | Improve this Doc View Source

    JreBugWorkaround(Char)

    Declaration
    protected abstract char JreBugWorkaround(char ch)
    Parameters
    Type Name Description
    System.Char ch
    Returns
    Type Description
    System.Char
    | Improve this Doc View Source

    Last()

    Declaration
    public override char Last()
    Returns
    Type Description
    System.Char
    Overrides
    ICU4N.Support.Text.CharacterIterator.Last()
    | Improve this Doc View Source

    NewSentenceInstance()

    Create a new CharArrayIterator that works around JRE bugs in a manner suitable for ICU4N.Text.BreakIterator.GetSentenceInstance().

    Declaration
    public static CharArrayIterator NewSentenceInstance()
    Returns
    Type Description
    CharArrayIterator
    | Improve this Doc View Source

    NewWordInstance()

    Create a new CharArrayIterator that works around JRE bugs in a manner suitable for ICU4N.Text.BreakIterator.GetWordInstance().

    Declaration
    public static CharArrayIterator NewWordInstance()
    Returns
    Type Description
    CharArrayIterator
    | Improve this Doc View Source

    Next()

    Declaration
    public override char Next()
    Returns
    Type Description
    System.Char
    Overrides
    ICU4N.Support.Text.CharacterIterator.Next()
    | Improve this Doc View Source

    Previous()

    Declaration
    public override char Previous()
    Returns
    Type Description
    System.Char
    Overrides
    ICU4N.Support.Text.CharacterIterator.Previous()
    | Improve this Doc View Source

    SetIndex(Int32)

    Declaration
    public override char SetIndex(int position)
    Parameters
    Type Name Description
    System.Int32 position
    Returns
    Type Description
    System.Char
    Overrides
    ICU4N.Support.Text.CharacterIterator.SetIndex(System.Int32)
    | Improve this Doc View Source

    SetText(Char[], Int32, Int32)

    Set a new region of text to be examined by this iterator

    Declaration
    public virtual void SetText(char[] array, int start, int length)
    Parameters
    Type Name Description
    System.Char[] array

    text buffer to examine

    System.Int32 start

    offset into buffer

    System.Int32 length

    maximum length to examine

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)