public override int CompareBottom(int doc)
{
System.String val2 = currentReaderValues[doc];
if (bottom == null)
{
if (val2 == null)
{
return 0;
}
return - 1;
}
else if (val2 == null)
{
return 1;
}
return collator.Compare(bottom.ToString(), val2.ToString());
}