|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.c5corp.c5utm.Grid
public class Grid
Grid is a 2d array of DemMetadata objects. It sorts them based on their relative locations.
Constructor Summary | |
---|---|
Grid(DemMetadata r)
Constructor for Grid |
Method Summary | |
---|---|
DemMetadata |
getDemMetadata(int x,
int y)
returnd a DemMetadata object from the Grid |
int |
getHeight()
returns the hight of the Grid |
int |
getWidth()
returns the width of the Grid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grid(DemMetadata r)
r
- the root DemMetadata (starting point for analysis of database contents)Method Detail |
---|
public DemMetadata getDemMetadata(int x, int y)
x
- the x locy
- the y loc
public int getHeight()
public int getWidth()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |