Showing posts with label arraylist. Show all posts
Showing posts with label arraylist. Show all posts

Thursday, December 27, 2012

Increment certain values in an ArrayList.

I needed to add 1 to certain values in an ArrayList and this was the only way I could figure it out easily.

It is basically calling to set q3 at location 1 with the former q3 value +1.  IN this case 6+1=7;