()
| 104 | } |
| 105 | |
| 106 | int length() { |
| 107 | int count = 1; |
| 108 | Path p = remainder; |
| 109 | while (p != null) { |
| 110 | count += 1; |
| 111 | p = p.remainder; |
| 112 | } |
| 113 | return count; |
| 114 | } |
| 115 | |
| 116 | Path subPath(int removeFromFront) { |
| 117 | int count = removeFromFront; |
no outgoing calls
no test coverage detected