I am trying to get all the keys of a certain level from a multidimensional array of N depth. I have a way to do it in PHP and part of it is the array_keys function. Maybe there is a better way to achieve this in Java. I dont know the elements of the array as it is tree being built recursively on the fly.
以上就是Java getting array keys.的详细内容，更多请关注web前端其它相关文章！