karelpeeters
12/07/2017, 8:39 PMleaf
🙂.holgerbrandl
12/08/2017, 7:37 AMnodes
map feels a bit redundant because the nodes store the name anyway. A fun findByName(name:String) = nodes.first{it.name=name}
might work equally well but would allow to use a simple list.