Java Get Value From Array By Index