Lines Matching refs:_values
35 this._values = values.slice();
36 this._values.sort();
48 while (firstIndex < this._values.length && this._values[firstIndex].indexOf(prefix) === 0)
49 results.push(this._values[firstIndex++]);
56 return (foundIndex === -1 ? "" : this._values[foundIndex]);
61 if (!this._values.length)
66 var maxIndex = this._values.length - 1;
72 if (this._values[middleIndex].indexOf(prefix) === 0) {
76 if (this._values[middleIndex] < prefix)
85 while (foundIndex && this._values[foundIndex - 1].indexOf(prefix) === 0)
93 return this._values.keySet();
111 var index = this._values.indexOf(str);
116 index = (index + this._values.length + shift) % this._values.length;
117 return this._values[index];