public final class PathVirtualEnum extends Object implements Enumeration<PathVirtual>
The sequential enumeration of the ancestors of a path is defined as a list of the prefixes of the path, with the first element being the shortest (the root).
Values of this type cannot be accessed safely from multiple threads without explicit synchronization.
| Modifier and Type | Method and Description |
|---|---|
static PathVirtualEnum |
enumerate(PathVirtual p)
Construct a new path enumeration.
|
boolean |
hasMoreElements() |
PathVirtual |
nextElement() |
public static PathVirtualEnum enumerate(PathVirtual p)
p - The pathpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<PathVirtual>public PathVirtual nextElement()
nextElement in interface Enumeration<PathVirtual>Copyright © 2014 <code@io7m.com> http://io7m.com