This is more of a hypothetical question for slightly more readable code. Is there a more elegant way of doing something like this, apart from having another function to return the array? I've come across this code several times while writing JUnit Tests and it's just an eye sore. I have like 10 functions to generate specific types of random arrays and it's very cluttered.This is more of a hypothetical question for sli