Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Converting an array list to a list

843785Jan 5 2009 — edited Jan 13 2009
Hi

I have this arrayList and I need to return this as List<TransactionSummary>.

Is there any way I could load the data from arrayList to List<TransactionSummary>

my ArrayList which is called list is doing this

list.add(parseResultSetRow(rs));

The method parseResultSetRow() is returning TransactionSummary type.

Hope this makes sense.

BTW you probably can tell i am very new at this... so please hlp.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2009
Added on Jan 5 2009
50 comments
594 views