Method NewComparator
NewComparator(String, Int32, Int32, Boolean)
Creates a comparator for the field in the given index.
Declaration
public abstract FieldComparator NewComparator(String fieldname, int numHits, int sortPos, bool reversed)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldname | Name of the field to create comparator for. |
System.Int32 | numHits | |
System.Int32 | sortPos | |
System.Boolean | reversed |
Returns
Type | Description |
---|---|
FieldComparator | FieldComparator. |