(Regexp[] array, int start, int end)
| 1700 | |
| 1701 | // Returns a new copy of the specified subarray. |
| 1702 | static Regexp[] subarray(Regexp[] array, int start, int end) { |
| 1703 | Regexp[] r = new Regexp[end - start]; |
| 1704 | for (int i = start; i < end; ++i) { |
| 1705 | r[i - start] = array[i]; |
| 1706 | } |
| 1707 | return r; |
| 1708 | } |
| 1709 | |
| 1710 | private static class Pair<F, S> { |
| 1711 | final F first; |
no outgoing calls
no test coverage detected