Exemplo n.º 1
0
        // What it actually does is find the index in the records[] that
        // this record inhabits, and if it doesn't, suggests what index it would
        // inhabit while setting the high bit.
        //

        public int GetIndex(int record)
        {
            int index = records.GetIndexByKey(record);

            return(index);
        }
Exemplo n.º 2
0
 // What it actually does is find the index in the records[] that
 // this record inhabits, and if it doesn't, suggests what index it would
 // inhabit while setting the high bit.
 public int GetIndex(int record) => _records.GetIndexByKey(record);