C# Класс Lucene.Net.Search.FieldComparator.FloatComparator

Parses field's values as float (using FieldCache.GetFloats(Lucene.Net.Index.IndexReader,string) and sorts by ascending value
Наследование: FieldComparator
Показать файл Открыть проект

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

Метод Описание
Compare ( int slot1, int slot2 ) : int
CompareBottom ( int doc ) : int
Copy ( int slot, int doc ) : void
SetBottom ( int bottom ) : void
SetNextReader ( Lucene.Net.Index.IndexReader reader, int docBase ) : void
this ( int slot ) : IComparable

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

Метод Описание
FloatComparator ( int numHits, System field, Lucene parser ) : System

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

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

public Compare ( int slot1, int slot2 ) : int
slot1 int
slot2 int
Результат int

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

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

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

public Copy ( int slot, int doc ) : void
slot int
doc int
Результат void

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

public SetBottom ( int bottom ) : void
bottom int
Результат void

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

public SetNextReader ( Lucene.Net.Index.IndexReader reader, int docBase ) : void
reader Lucene.Net.Index.IndexReader
docBase int
Результат void

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

public this ( int slot ) : IComparable
slot int
Результат IComparable