title: Java explode method for int array
body: <p>currently trying to create an explode method for integers similar to php's with no luck because I can't find information on this subject unless it's a string. My end goal is to make (for ex.) 1,2,3 -> 1,1,2,2,3,3</p>