MCPcopy Index your code
hub / github.com/lightbend/config / subPath

Method subPath

config/src/main/java/com/typesafe/config/impl/Path.java:116–124  ·  view source on GitHub ↗
(int removeFromFront)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 4

appendKeyMethod · 0.95
firstMethod · 0.95
remainderMethod · 0.95
resultMethod · 0.95

Tested by

no test coverage detected