How to save list items on disk instead of memory in Java

前端 未结 7 2052
眼角桃花
眼角桃花 2020-12-09 06:50

I\'m looking for a data structure same as ArrayList in Java that saves items on disk instead of memory. Does java have such a data structure? Thanks

I want to have a

7条回答
  •  孤街浪徒
    2020-12-09 07:35

    If you need to change data in this ArrayList often, changing disk image, then why not consider something like http://www.hibernate.org/ ? Well, it is much more complicated than ArrayList but also gives more featues.

提交回复
热议问题