(char c)
| 1464 | } |
| 1465 | |
| 1466 | @Override |
| 1467 | public boolean matches(char c) { |
| 1468 | int index = Arrays.binarySearch(rangeStarts, c); |
| 1469 | if (index >= 0) { |
| 1470 | return true; |
| 1471 | } else { |
| 1472 | index = ~index - 1; |
| 1473 | return index >= 0 && c <= rangeEnds[index]; |
| 1474 | } |
| 1475 | } |
| 1476 | |
| 1477 | @Override |
| 1478 | public String toString() { |
nothing calls this directly
no test coverage detected