5758596061626364656667
if(arrayChunkedBuffer.next()!=i){ throw new RuntimeException(); } } long[] bufferAsArray = arrayChunkedBuffer.toArray(); for (int i = 0; i < bufferAsArray.length; i++) { if(bufferAsArray[i]!=max-i-1){ throw new RuntimeException(); }
6869707172737475767778
} arrayChunkedBuffer.setIteratorDirection(true); bufferAsArray = arrayChunkedBuffer.toArray(); for (int i = 0; i < bufferAsArray.length; i++) { if (bufferAsArray[i] != i) { throw new RuntimeException(); }