Re: Working with very big Collections
Sunday, October 7, 2001 08:59 AM
In my knowledge, there's no "smart" collection implementation as you are asking for. It's similar to a resultset. So you have to provide your own implementation. If you are retrieving data from a database I suggest you that your collection implementation as a wrapper of a resultset (maybe reading buffer of records at time to minimize db accesses). For elements read from a file you have to wrap a buffered Reader.