Lines Matching refs:index
36 * Finds the index of the first element whose timestamp is greater or equal to
40 * @return The index of the matched element, or -1 if no such match exists.
44 // the closest index is returned.
73 * Finds the index of the first element whose timestamp is less than or equal to
77 * @return The index of the matched element, or -1 if no such match exists.
80 final int index = closestIndexOnOrAfter(time);
81 if (index < 0) {
86 if (keyAt(index) == time) {
87 return index;
89 return index - 1;