package ru.matevosyan;

/**
 * TwoDementionIterator class.
 * Created on 28.04.2017.
 * @author Matevosyan Vardan
 * @version 1.0
 */

public class DimensionalIterator {


}

@@ -17,16 +17,43 @@
 osyan;%0A%0A
+import java.util.Objects;%0A%0A
 /**%0A * T
@@ -192,10 +192,409 @@
 tor 
-%7B%0A%0A
+implements ArrayIterator %7B%0A%0A    private int indexX = 0;%0A    private int indexY = 0;%0A    private final int%5B%5D%5B%5D array;%0A%0A    public DimensionalIterator(int%5B%5D%5B%5D array) %7B%0A        this.array = array;%0A    %7D%0A%0A    @Override%0A    public int next() %7B%0A        return array%5BindexX++%5D%5BindexY++%5D;%0A    %7D%0A%0A%0A    @Override%0A    public boolean hasNext() %7B%0A        return array.length %3E indexX && array.length %3E indexY;%0A    %7D
 %0A%7D%0A

add implementation