package com.github.notyy.reafactoring.gameBoard;

import java.util.ArrayList;
import java.util.List;

public class MineSweeper {
    List<int[]> theList = new ArrayList<int[]>();

    public List<int[]> getThem() {
        List<int[]> list1 = new ArrayList<int[]>();
        for(int[] x: theList){
            if(x[0] == 4){
                list1.add(x);
            }
        }
        return list1;
    }
}

add a new minesweeper example