C# Класс Lucene.Net.Analysis.Tokenattributes.CharTermAttribute

Default implementation of CharTermAttribute.
Наследование: Lucene.Net.Util.Attribute, ICharTermAttribute, ITermToBytesRefAttribute
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Append ( ICharSequence csq ) : ICharTermAttribute
Append ( ICharSequence csq, int start, int end ) : ICharTermAttribute
Append ( ICharTermAttribute ta ) : ICharTermAttribute
Append ( StringBuilder s ) : ICharTermAttribute
Append ( StringBuilder s, int start, int end ) : ICharTermAttribute
Append ( char c ) : ICharTermAttribute
Append ( char chars, int start, int end ) : ICharTermAttribute
Append ( string s ) : ICharTermAttribute
Append ( string csq, int start, int end ) : ICharTermAttribute
Buffer ( ) : char[]
CharAt ( int index ) : char
CharTermAttribute ( ) : Lucene.Net.Support

Initialize this attribute with empty term text

Clear ( ) : void
Clone ( ) : object
CopyBuffer ( char buffer, int offset, int length ) : void
CopyTo ( Attribute target ) : void
Equals ( object other ) : bool
FillBytesRef ( ) : void
GetHashCode ( ) : int
ReflectWith ( IAttributeReflector reflector ) : void
ResizeBuffer ( int newSize ) : char[]
SetEmpty ( ) : ICharTermAttribute
SetLength ( int length ) : ICharTermAttribute
SubSequence ( int start, int end ) : ICharSequence
ToString ( ) : string

Returns solely the term text as specified by the CharSequence interface.

this method changed the behavior with Lucene 3.1, before it returned a String representation of the whole term with all attributes. this affects especially the Lucene.Net.Analysis.Token subclass.

this ( int index ) : char

Приватные методы

Метод Описание
AppendNull ( ) : CharTermAttribute
CreateBuffer ( int length ) : char[]
GrowTermBuffer ( int newSize ) : void
InternalResizeBuffer ( int length ) : char[]

Описание методов

Append() публичный Метод

public Append ( ICharSequence csq ) : ICharTermAttribute
csq ICharSequence
Результат ICharTermAttribute

Append() публичный Метод

public Append ( ICharSequence csq, int start, int end ) : ICharTermAttribute
csq ICharSequence
start int
end int
Результат ICharTermAttribute

Append() публичный Метод

public Append ( ICharTermAttribute ta ) : ICharTermAttribute
ta ICharTermAttribute
Результат ICharTermAttribute

Append() публичный Метод

public Append ( StringBuilder s ) : ICharTermAttribute
s StringBuilder
Результат ICharTermAttribute

Append() публичный Метод

public Append ( StringBuilder s, int start, int end ) : ICharTermAttribute
s StringBuilder
start int
end int
Результат ICharTermAttribute

Append() публичный Метод

public Append ( char c ) : ICharTermAttribute
c char
Результат ICharTermAttribute

Append() публичный Метод

public Append ( char chars, int start, int end ) : ICharTermAttribute
chars char
start int
end int
Результат ICharTermAttribute

Append() публичный Метод

public Append ( string s ) : ICharTermAttribute
s string
Результат ICharTermAttribute

Append() публичный Метод

public Append ( string csq, int start, int end ) : ICharTermAttribute
csq string
start int
end int
Результат ICharTermAttribute

Buffer() публичный Метод

public Buffer ( ) : char[]
Результат char[]

CharAt() публичный Метод

public CharAt ( int index ) : char
index int
Результат char

CharTermAttribute() публичный Метод

Initialize this attribute with empty term text
public CharTermAttribute ( ) : Lucene.Net.Support
Результат Lucene.Net.Support

Clear() публичный Метод

public Clear ( ) : void
Результат void

Clone() публичный Метод

public Clone ( ) : object
Результат object

CopyBuffer() публичный Метод

public CopyBuffer ( char buffer, int offset, int length ) : void
buffer char
offset int
length int
Результат void

CopyTo() публичный Метод

public CopyTo ( Attribute target ) : void
target System.Attribute
Результат void

Equals() публичный Метод

public Equals ( object other ) : bool
other object
Результат bool

FillBytesRef() публичный Метод

public FillBytesRef ( ) : void
Результат void

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

ReflectWith() публичный Метод

public ReflectWith ( IAttributeReflector reflector ) : void
reflector IAttributeReflector
Результат void

ResizeBuffer() публичный Метод

public ResizeBuffer ( int newSize ) : char[]
newSize int
Результат char[]

SetEmpty() публичный Метод

public SetEmpty ( ) : ICharTermAttribute
Результат ICharTermAttribute

SetLength() публичный Метод

public SetLength ( int length ) : ICharTermAttribute
length int
Результат ICharTermAttribute

SubSequence() публичный Метод

public SubSequence ( int start, int end ) : ICharSequence
start int
end int
Результат ICharSequence

ToString() публичный Метод

Returns solely the term text as specified by the CharSequence interface.

this method changed the behavior with Lucene 3.1, before it returned a String representation of the whole term with all attributes. this affects especially the Lucene.Net.Analysis.Token subclass.

public ToString ( ) : string
Результат string

this() публичный Метод

public this ( int index ) : char
index int
Результат char