@Override
        public Object next() {
            if (hasNext()) {
                return Array.get(arr, index++);
            } else {
                throw new NoSuchElementException("only " + size + " elements available");
            }
        }
@throws IllegalArgumentException if obj is not an array
core/src/main/java/org/jdbi/v3/core/internal/IterableLike.java