FileWalkDirection

JVM
1.0
enum class FileWalkDirection
(source)

An enumeration to describe possible walk directions. There are two of them: beginning from parents, ending with children, and beginning from children, ending with parents. Both use depth-first search.

Enum Values

JVM
1.0

TOP_DOWN

Depth-first search, directory is visited BEFORE its files

JVM
1.0

BOTTOM_UP

Depth-first search, directory is visited AFTER its files

Extension Properties

JVM
1.7

declaringJavaClass

Returns a Java Class instance of the enum the given constant belongs to.

val <E : Enum<E>> Enum<E>.declaringJavaClass: Class<E>