(Object o)
| 449 | } |
| 450 | |
| 451 | public int indexOf(Object o) { |
| 452 | if (o instanceof Number) { |
| 453 | long l = ((Number) o).longValue(); |
| 454 | for (int j = i; j < array.length; j++) |
| 455 | if (l == array[j]) return j - i; |
| 456 | } |
| 457 | |
| 458 | return -1; |
| 459 | } |
| 460 | |
| 461 | public int lastIndexOf(Object o) { |
| 462 | if (o instanceof Number) { |