eric.kolotyluk
02/05/2016, 10:16 PMval files = ArrayList<Path>()
class fileVisitor : SimpleFileVisitor<Path>() {
override fun visitFile(path: Path, fileAttributes: BasicFileAttributes) : FileVisitResult {
println(path)
files.add(path)
return CONTINUE
}
}
Again, I got tripped up doing things the Scala way instead of the Java way. I just don't grok collections in Kotlin yet.