public IntIterator iterator() {
    if (currentSlab == null) {
      allocateSlab();
    }

    int[][] itSlabs = slabs.toArray(new int[slabs.size() + 1][]);
    itSlabs[slabs.size()] = currentSlab;
    return new IntIterator(itSlabs, size());
  }
public IntIterator iterator() {
    if (currentSlab == null) {
      allocateSlab();
    }

    int[][] itSlabs = slabs.toArray(new int[slabs.size() + 1][]);
    itSlabs[slabs.size()] = currentSlab;
    return new IntIterator(itSlabs, size());
  }
public IntIterator iterator ( ) { if ( currentSlab == null ) { allocateSlab ( ) ; } int [ ] [ ] itSlabs = slabs . toArray ( new int [ slabs . size ( ) + 1 ] [ ] ) ; itSlabs [ slabs . size ( ) ] = currentSlab ; return new IntIterator ( itSlabs , size ( ) ) ; }
(not an actual Iterable)
@return an IntIterator on the content
( not an actual Iterable )