Thanks @glv, put() was all I needed. Not sure why this is not listed on this page. I guess I was a bit confused with the java syntax for arrays too ^^