IntIntArrayColumnIterator (Groovy 5.1.0)
Description: declaration: package: org.codehaus.groovy.util, class: IntIntArrayColumnIterator

Package org.codehaus.groovy.util

# Class IntIntArrayColumnIterator

java.lang.Object
org.codehaus.groovy.util.IntIntArrayColumnIterator

All Implemented Interfaces:
  `Iterator<int[]>`

public class IntIntArrayColumnIterator extends Object implements Iterator<int[]>
An iterator providing the columns of an int[][]. In the case of an array with different size rows, the number of columns will be equal to the length of the smallest row.

Since:
  5.0.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IntIntArrayColumnIterator(int[][] array)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  `int[]`
  `next()`
  `void`
  `remove()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.Iterator

  `forEachRemaining`

- ## Constructor Details

  - ### IntIntArrayColumnIterator

    public IntIntArrayColumnIterator(int[][] array)

- ## Method Details

  - ### hasNext

    public boolean hasNext()
    Specified by:
      `hasNext` in interface `Iterator<int[]>`

  - ### next

    public int[] next()
    Specified by:
      `next` in interface `Iterator<int[]>`

  - ### remove

    public void remove()
    Specified by:
      `remove` in interface `Iterator<int[]>`