I need to put each digit of an integer in a position of a vector.
int a = 123;
List<Integer> numerosGerados = new ArrayList<>();
And now I need to put the number 1 in position 0 of the array , the number 2 in the 1, and so on. The number may be negative.