Which collection is better to USE to improve performace
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Raghavender_G
Posted On:   Thursday, April 10, 2003 08:13 AM

Hi All,
We are getting recursive data. It's almost all i am getting more than 25,000 records from data base. In that i want to display the complete data.In this records we have to do some operations, so we are traversing the complete data.

Please suggest me ?

Thanks

Re: Which collection is better to USE to improve performace

Posted By:   rajeev_kumar  
Posted On:   Friday, April 11, 2003 03:28 PM

ArrayList

Re: Which collection is better to USE to improve performace

Posted By:   Andrew_Postoyanets  
Posted On:   Thursday, April 10, 2003 08:50 AM

If your records consist of multiple columns, and you want to keep them in memory and be able to sort them by different columns, why don't you use a sortable javax.swing.table.TableModel? (You will have to create an implementation)

(Please pardon me if I misunderstood your question.)

Re: Which collection is better to USE to improve performace

Posted By:   Andrew_Postoyanets  
Posted On:   Thursday, April 10, 2003 08:50 AM

If your records consist of multiple columns, and you want to keep them in memory and be able to sort them by different columns, why don't you use a sortable javax.swing.table.TableModel? (You will have to create an implementation)

(Please pardon me if I misunderstood your question.)
About | Sitemap | Contact