<commit_before>package ru.ematveev.iterator;

import java.util.Iterator;

/**
 * @author <NAME>.
 */
public class IteratorArray implements Iterator {
    private final int[][] value = {{1, 2}, {3, 4}};
    private int i = 0;
    private int j = 0;

    @Override
    public boolean hasNext() {
        return value.length > j;
    }

    @Override
    public Object next() {
        if (j == value[i].length) {
            i++;
            j = 0;
        }
        return value[i][j++];
    }
}


<commit_msg>IteratorArray - add <Integer><commit_after>package ru.ematveev.iterator;

import java.util.Iterator;

/**
 * @author <NAME>.
 */
public class IteratorArray implements Iterator<Integer> {
    private final int[][] value = {{1, 2}, {3, 4}};
    private int i = 0;
    private int j = 0;

    @Override
    public boolean hasNext() {
        return value.length > j;
    }

    @Override
    public Integer next() {
        if (j == value[i].length) {
            i++;
            j = 0;
        }
        return value[i][j++];
    }
}



{'fraction_non_alphanumeric': 0.14655172413793102, 'fraction_numerical': 0.013409961685823755, 'mean_word_length': 1.994269340974212, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4044109', 'n_tokens_mistral': 349, 'n_tokens_neox': 331, 'n_words': 94}