(int removeFromFront)
| 114 | } |
| 115 | |
| 116 | Path subPath(int removeFromFront) { |
| 117 | int count = removeFromFront; |
| 118 | Path p = this; |
| 119 | while (p != null && count > 0) { |
| 120 | count -= 1; |
| 121 | p = p.remainder; |
| 122 | } |
| 123 | return p; |
| 124 | } |
| 125 | |
| 126 | Path subPath(int firstIndex, int lastIndex) { |
| 127 | if (lastIndex < firstIndex) |