Package org.pkl.core.module
Class PathElement.TreePathElement
- java.lang.Object
-
- org.pkl.core.module.PathElement
-
- org.pkl.core.module.PathElement.TreePathElement
-
- Enclosing class:
- PathElement
public static class PathElement.TreePathElement extends PathElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pkl.core.module.PathElement
PathElement.TreePathElement
-
-
Field Summary
-
Fields inherited from class org.pkl.core.module.PathElement
comparator
-
-
Constructor Summary
Constructors Constructor Description TreePathElement(java.lang.String name, boolean isDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.graalvm.collections.EconomicMap<java.lang.String,PathElement.TreePathElement>getChildren()java.util.List<PathElement>getChildrenValues()@Nullable PathElement.TreePathElementgetElement(java.lang.String basePath)Returns the element at pathbasePath, given a path string.@Nullable PathElement.TreePathElementgetElement(java.nio.file.Path basePath)Returns the element at pathbasePath, given aPath.PathElement.TreePathElementputIfAbsent(java.lang.String name, PathElement.TreePathElement child)-
Methods inherited from class org.pkl.core.module.PathElement
equals, getName, hashCode, isDirectory, opaque, toString, withName
-
-
-
-
Method Detail
-
putIfAbsent
public PathElement.TreePathElement putIfAbsent(java.lang.String name, PathElement.TreePathElement child)
-
getElement
public @Nullable PathElement.TreePathElement getElement(java.nio.file.Path basePath)
Returns the element at pathbasePath, given aPath.
-
getElement
public @Nullable PathElement.TreePathElement getElement(java.lang.String basePath)
Returns the element at pathbasePath, given a path string.
-
getChildren
public org.graalvm.collections.EconomicMap<java.lang.String,PathElement.TreePathElement> getChildren()
-
getChildrenValues
public java.util.List<PathElement> getChildrenValues()
-
-