import java.util.ArrayList;
import java.util.List;
public class Map2D<E> {
private List<E> values;
protected int xSize;
<BUG>protected int ySize;
public Map2D(int xSize, int ySize) {</BUG>
this(xSize, ySize, null);
}
public Map2D(int xSize, int ySize, E defaultVal) {

import java.util.ArrayList;
import java.util.List;
public class Map2D<E> {
private List<E> values;
protected int xSize;
protected int ySize;
public Map2D(){
}
public Map2D(int xSize, int ySize) {
this(xSize, ySize, null);
}
public Map2D(int xSize, int ySize, E defaultVal) {
