This has been bugging me for the last hour, and I feel I'm getting nowhere.
I have an ArrayList of characters, and I need to convert the number characters into integers, and put it in a new array. So:
ArrayList<Character> charList contains [5, ,1,5, ,7, ,1,1]
I'd like to take the current charList and put the contents into a new ArrayList of type Integer, which obviously wouldn't contain the spaces.
ArrayList<Integer> intList contains [5, 15, 7, 11]
Any help right now would be greatly appreciated.