FlatTheArray This Java code takes an arbitrary Java Object array (of multiple arrays) and flaten all the nested arrays into one single Array.