getOrPut

fun getOrPut(childName: String, createData: () -> T): TreeNode<T>