ChrisUK wrote:Where have you looked? The API? Because I'm staring at the API now and I see just the method...
Basically I have two Arraylist and I want to append one on to the end of another?
Any idea how to do this in Java in Python you just use the append function.. Cant find anything like this in Java though....
david_david wrote:Indeed. That initial line where an array is converted to an array only to convert it back to a list reminds me of a gesture a student of mine taught me. He was Iranian, so I wonder if this is an Iranian gesture or just one of his own devising. It goes like this:baskaraninfo wrote:Why don't use
list1.addAll(Arrays.asList(list2.toArray()));Edited by: david_david on Jan 31, 2008 12:16 PM