C# Class Lucene.Net.Analysis.Tokenattributes.CharTermAttribute

Default implementation of CharTermAttribute.
Inheritance: Lucene.Net.Util.Attribute, ICharTermAttribute, ITermToBytesRefAttribute
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AppendNull ( ) : CharTermAttribute
CreateBuffer ( int length ) : char[]
GrowTermBuffer ( int newSize ) : void
InternalResizeBuffer ( int length ) : char[]

Method Details

Append() public méthode

public Append ( ICharSequence csq ) : ICharTermAttribute
csq ICharSequence
Résultat ICharTermAttribute

Append() public méthode

public Append ( ICharSequence csq, int start, int end ) : ICharTermAttribute
csq ICharSequence
start int
end int
Résultat ICharTermAttribute

Append() public méthode

public Append ( ICharTermAttribute ta ) : ICharTermAttribute
ta ICharTermAttribute
Résultat ICharTermAttribute

Append() public méthode

public Append ( StringBuilder s ) : ICharTermAttribute
s StringBuilder
Résultat ICharTermAttribute

Append() public méthode

public Append ( StringBuilder s, int start, int end ) : ICharTermAttribute
s StringBuilder
start int
end int
Résultat ICharTermAttribute

Append() public méthode

public Append ( char c ) : ICharTermAttribute
c char
Résultat ICharTermAttribute

Append() public méthode

public Append ( char chars, int start, int end ) : ICharTermAttribute
chars char
start int
end int
Résultat ICharTermAttribute

Append() public méthode

public Append ( string s ) : ICharTermAttribute
s string
Résultat ICharTermAttribute

Append() public méthode

public Append ( string csq, int start, int end ) : ICharTermAttribute
csq string
start int
end int
Résultat ICharTermAttribute

Buffer() public méthode

public Buffer ( ) : char[]
Résultat char[]

CharAt() public méthode

public CharAt ( int index ) : char
index int
Résultat char

CharTermAttribute() public méthode

Initialize this attribute with empty term text
public CharTermAttribute ( ) : Lucene.Net.Support
Résultat Lucene.Net.Support

Clear() public méthode

public Clear ( ) : void
Résultat void

Clone() public méthode

public Clone ( ) : object
Résultat object

CopyBuffer() public méthode

public CopyBuffer ( char buffer, int offset, int length ) : void
buffer char
offset int
length int
Résultat void

CopyTo() public méthode

public CopyTo ( Attribute target ) : void
target System.Attribute
Résultat void

Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool

FillBytesRef() public méthode

public FillBytesRef ( ) : void
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ReflectWith() public méthode

public ReflectWith ( IAttributeReflector reflector ) : void
reflector IAttributeReflector
Résultat void

ResizeBuffer() public méthode

public ResizeBuffer ( int newSize ) : char[]
newSize int
Résultat char[]

SetEmpty() public méthode

public SetEmpty ( ) : ICharTermAttribute
Résultat ICharTermAttribute

SetLength() public méthode

public SetLength ( int length ) : ICharTermAttribute
length int
Résultat ICharTermAttribute

SubSequence() public méthode

public SubSequence ( int start, int end ) : ICharSequence
start int
end int
Résultat ICharSequence

ToString() public méthode

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
Résultat string

this() public méthode

public this ( int index ) : char
index int
Résultat char