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

前端 未结 7 2018
眼角桃花
眼角桃花 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

    Check out http://jakarta.apache.org/jcs/. This provides a way to manage objects on disk and ram. Another possible solution may to use http://code.google.com/p/pcollections/

提交回复
热议问题