Lines Matching defs:position
47 * to find the column corresponding to a certain position.
53 * The following figure shows the relationship between size and position data
58 * alt="The first item begins at position 0, the second at the position equal
64 * The first column's position starts at 0,
70 * the position <em>size<sub>0</sub></em>
83 * Normally when storing the size and position of entries,
87 * rendering are: <code>getIndex(position)</code>
92 * that encloses a particular position is linear in the
248 * Returns the start position for the specified entry.
259 * @param index the index of the entry whose position is desired
260 * @return the starting position of the specified entry
281 * that corresponds to the specified position.
283 * since the first entry always starts at position 0.
285 * @param position the position of the entry
286 * @return the index of the entry that occupies the specified position
288 public int getIndex(int position) {
289 return getIndex(0, a.length, position);
292 private int getIndex(int from, int to, int position) {
298 if (position < pivot) {
299 return getIndex(from, m, position);
302 return getIndex(m + 1, to, position - pivot);