public class MatrixOfList<T> extends Object
List<T>[]
grid
int
height
width
MatrixOfList(int width, int height)
List<T>
createSingleList()
get(int x, int y)
getHeight()
getWidth()
boolean
isInBounds(int x, int y)
void
reset()
reshape(int width, int height)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public List<T>[] grid
public int width
public int height
public MatrixOfList(int width, int height)
public void reshape(int width, int height)
public void reset()
public List<T> get(int x, int y)
public int getWidth()
public int getHeight()
public List<T> createSingleList()
public boolean isInBounds(int x, int y)
Copyright © 2013. All Rights Reserved.