C# 클래스 Egothor.Stemmer.Row

The Row class represents a row in a matrix representation of a Trie.
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
GetCells ( ) : int

Return the number of cells in use.

GetCellsPnt ( ) : int

Return the number of references (how many transitions) to other rows.

GetCellsVal ( ) : int

Return the number of patch commands saved in this Row.

GetCmd ( char way ) : int

Return the command in the Cell associated with the given char.

GetCnt ( char way ) : int

Return the number of patch commands were in the Cell associated with the given char before the Trie containing this Row was reduced.

GetRef ( char way ) : int

Return the reference to the next Row in the Cell associated with the given char.

Print ( TextWriter @out ) : void

Write the contents of this Row to the TextWriter.

Row ( ) : Lucene.Net.Support

The default constructor for the Row object.

Row ( IDataInput @is ) : Lucene.Net.Support

Construct a Row object from input carried in via the given input stream.

Row ( Row old ) : Lucene.Net.Support

Construct a Row using the cells of the given Row.

SetCmd ( char way, int cmd ) : void

Set the command in the Cell of the given char to the given int.

SetRef ( char way, int @ref ) : void

Set the reference to the next row in the Cell of the given char to the given int.

Store ( IDataOutput os ) : void

Write the contents of this Row to the given output stream.

UniformCmd ( bool eqSkip ) : int

Return the number of identical Cells (containing patch commands) in this Row.

비공개 메소드들

메소드 설명
At ( char index ) : Cell

메소드 상세

GetCells() 공개 메소드

Return the number of cells in use.
public GetCells ( ) : int
리턴 int

GetCellsPnt() 공개 메소드

Return the number of references (how many transitions) to other rows.
public GetCellsPnt ( ) : int
리턴 int

GetCellsVal() 공개 메소드

Return the number of patch commands saved in this Row.
public GetCellsVal ( ) : int
리턴 int

GetCmd() 공개 메소드

Return the command in the Cell associated with the given char.
public GetCmd ( char way ) : int
way char the associated with the holding the desired command
리턴 int

GetCnt() 공개 메소드

Return the number of patch commands were in the Cell associated with the given char before the Trie containing this Row was reduced.
public GetCnt ( char way ) : int
way char the associated with the desired
리턴 int

GetRef() 공개 메소드

Return the reference to the next Row in the Cell associated with the given char.
public GetRef ( char way ) : int
way char the associated with the desired
리턴 int

Print() 공개 메소드

Write the contents of this Row to the TextWriter.
public Print ( TextWriter @out ) : void
@out System.IO.TextWriter
리턴 void

Row() 공개 메소드

The default constructor for the Row object.
public Row ( ) : Lucene.Net.Support
리턴 Lucene.Net.Support

Row() 공개 메소드

Construct a Row object from input carried in via the given input stream.
if an I/O error occurs
public Row ( IDataInput @is ) : Lucene.Net.Support
@is IDataInput the input stream
리턴 Lucene.Net.Support

Row() 공개 메소드

Construct a Row using the cells of the given Row.
public Row ( Row old ) : Lucene.Net.Support
old Row the to copy
리턴 Lucene.Net.Support

SetCmd() 공개 메소드

Set the command in the Cell of the given char to the given int.
public SetCmd ( char way, int cmd ) : void
way char the defining the
cmd int the new command
리턴 void

SetRef() 공개 메소드

Set the reference to the next row in the Cell of the given char to the given int.
public SetRef ( char way, int @ref ) : void
way char the defining the
@ref int
리턴 void

Store() 공개 메소드

Write the contents of this Row to the given output stream.
if an I/O error occurs
public Store ( IDataOutput os ) : void
os IDataOutput the output stream
리턴 void

UniformCmd() 공개 메소드

Return the number of identical Cells (containing patch commands) in this Row.
public UniformCmd ( bool eqSkip ) : int
eqSkip bool when set to false the removed patch commands are considered
리턴 int