public override byte ByteVal(int doc) { return((byte)arr.Get(doc)); }
public override int Compare(ScoreDoc doc1, ScoreDoc doc2) { return(m_values.Get(doc1.Doc) - m_values.Get(doc2.Doc)); }