Hello,
Is there a way to convert a LinkedList to an ArrayList.
There reason I am asking, is, I am using Spring DAO to execute a Stored PRocedure that returns a Oracle Cursor as one of the output parameters. For some reason, the java object that I used as ParameterizedRowMapper for this out parameter, returns a LinkedList of these java objects...
and I need to do Random accesss, so I wanted to convert this LinkedList to ArrayList...
Any thoughts?
pat
Is there a way to convert a LinkedList to an ArrayList.
There reason I am asking, is, I am using Spring DAO to execute a Stored PRocedure that returns a Oracle Cursor as one of the output parameters. For some reason, the java object that I used as ParameterizedRowMapper for this out parameter, returns a LinkedList of these java objects...
and I need to do Random accesss, so I wanted to convert this LinkedList to ArrayList...
Any thoughts?
pat