Java getting array keys.

Is there an equivalent function to array_keys in Java? Either in the form of arrays or array lists.
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前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准