|
Bridges-Java-2.3.3
2.3.3
Bridges(JavaAPI)
|
This is a class in BRIDGES for representing an (n x n) grid. More...
Public Member Functions | |
| String | getDataStructType () |
| Grid () | |
| Grid (int size) | |
| Grid (int rows, int cols) | |
| Grid (int[] size) | |
| int[] | getDimensions () |
| E | get (Integer row, Integer col) |
| void | set (Integer row, Integer col, E val) |
Public Member Functions inherited from bridges.base.DataStruct | |
| abstract String | getDataStructType () |
Protected Attributes | |
| ArrayList< ArrayList< E > > | grid |
Protected Attributes inherited from bridges.base.DataStruct | |
| String | QUOTE = "\"" |
Static Protected Attributes | |
| static int[] | gridSize = {10, 10} |
| static int[] | maxGridSize = {480, 640} |
This is a class in BRIDGES for representing an (n x n) grid.
| bridges.base.Grid< E >.Grid | ( | ) |
Grid constructors
| bridges.base.Grid< E >.Grid | ( | int | size | ) |
| bridges.base.Grid< E >.Grid | ( | int | rows, |
| int | cols | ||
| ) |
| bridges.base.Grid< E >.Grid | ( | int[] | size | ) |
| E bridges.base.Grid< E >.get | ( | Integer | row, |
| Integer | col | ||
| ) |
| String bridges.base.Grid< E >.getDataStructType | ( | ) |
| int [] bridges.base.Grid< E >.getDimensions | ( | ) |
| void bridges.base.Grid< E >.set | ( | Integer | row, |
| Integer | col, | ||
| E | val | ||
| ) |
|
protected |
|
staticprotected |
|
staticprotected |
1.8.10