* Returns the index of the first occurrence of character in buffer,
* starting from offset, or -1 if not found.
*/
- public static int indexOf(char character, char[] buffer, int offset) {
- for (int i = offset; i < buffer.length; i++) {
- if (buffer[i] == character) {
- return i;
- }
- }
- return -1;
- }
+// public static int indexOf(char character, char[] buffer, int offset) {
+// for (int i = offset; i < buffer.length; i++) {
+// if (buffer[i] == character) {
+// return i;
+// }
+// }
+// return -1;
+// }
/**
* Extracts a sub-array from the given array, starting at the given