Implementation of ArrayUtil.getValue left as an exercise for the reader. :-)