How to make ArrayList that work as two dimentional array in java?

后端 未结 7 1773
时光说笑
时光说笑 2021-01-23 20:16

I want to make arrayList object in java that work as two dimentional array. My question is how can we access value from specific dimention from arrayList.

in two diment

7条回答
  •  野性不改
    2021-01-23 20:52

    Also consider Table collection provided by Google Guava library. ArrayTable is an implementation based on 2D array.

提交回复
热议问题