equal
deleted
inserted
replaced
45 * Return the level of each character into the levels array starting at start. |
45 * Return the level of each character into the levels array starting at start. |
46 * This is a convenience method for clients who prefer to use an explicit levels |
46 * This is a convenience method for clients who prefer to use an explicit levels |
47 * array instead of iterating over the runs. |
47 * array instead of iterating over the runs. |
48 * |
48 * |
49 * @param levels the array to receive the character levels |
49 * @param levels the array to receive the character levels |
50 * @param start the starting offset into the the array |
50 * @param start the starting offset into the array |
51 * @throws IndexOutOfBoundsException if <code>start</code> is less than 0 or |
51 * @throws IndexOutOfBoundsException if <code>start</code> is less than 0 or |
52 * <code>start + getLength()</code> is greater than <code>levels.length</code>. |
52 * <code>start + getLength()</code> is greater than <code>levels.length</code>. |
53 */ |
53 */ |
54 public static void getLevels(Bidi bidi, byte[] levels, int start) { |
54 public static void getLevels(Bidi bidi, byte[] levels, int start) { |
55 int limit = start + bidi.getLength(); |
55 int limit = start + bidi.getLength(); |