Skip to content

Instantly share code, notes, and snippets.

View svachmic's full-sized avatar
🔥
Compiling

Michal Švácha svachmic

🔥
Compiling
View GitHub Profile
Files.walk(Paths.get(location)).forEach(
file->{
if(Files.isRegularFile(file)) {
Car car = null;
try {
car = deserialize(file.toString());
} catch (Exception e) {
e.printStackTrace();
}
result.add(car);