Hello,
Does anyone know an efficient way of converting an ArrayList which stores Integer objects to an array of ints?
I think I have a pretty cool
int [] find(
String [] criteria)
method implementation for the Data class. Except, I cannot covert the ArrayList which gathers the "good" records stored in the ArrayList to int [] array. Here is my code fragment which makes me kinda mad!
You can see my sledge-hammer conversion. I know, performance is not the criteria, but there is got to be a better way than this. retVal is the ArrayList in the above example.
Thanks.
Bharat
SCJP,SCJD,SCWCD,SCBCD,SCDJWS,SCEA