Java Concatenate String Array Python Methods