(Object o)
| 293 | } |
| 294 | |
| 295 | public int indexOf(Object o) { |
| 296 | if (o instanceof Number) { |
| 297 | float f = ((Number) o).floatValue(); |
| 298 | for (int j = i; j < array.length; j++) |
| 299 | if (f == array[j]) return j - i; |
| 300 | } |
| 301 | return -1; |
| 302 | } |
| 303 | |
| 304 | public int lastIndexOf(Object o) { |
| 305 | if (o instanceof Number) { |
nothing calls this directly
no test coverage detected