(char c)
| 1475 | } |
| 1476 | |
| 1477 | @Override |
| 1478 | public boolean matches(char c) { |
| 1479 | int index = Arrays.binarySearch(rangeStarts, c); |
| 1480 | if (index >= 0) { |
| 1481 | return true; |
| 1482 | } else { |
| 1483 | index = ~index - 1; |
| 1484 | return index >= 0 && c <= rangeEnds[index]; |
| 1485 | } |
| 1486 | } |
| 1487 | |
| 1488 | @Override |
| 1489 | public String toString() { |
nothing calls this directly
no test coverage detected