Interface | Description |
---|---|
Grid.InternalRepresentation |
The
InternalRepresentation interface specifies
the methods that any internal representation of the
Grid class must implement. |
Grid.ValidityChecker |
A
ValidityChecker specifies a strategy for determining
the validity of a location in a grid. |
Class | Description |
---|---|
ArrayListGrid |
Grid Container Package:
The ArrayListGrid class encapsulates two public inner
classes that extend the Grid class to
model a two-dimensional grid by keeping track of their contents
in ArrayList objects. |
ArrayListGrid.ArrayListGridRep |
Internal representation for an
ArrayList -based
implementation of a Grid class. |
ArrayListGrid.Bounded |
An
ArrayListGrid.Bounded object is a rectangular,
bounded two-dimensional container data structure implemented as
an ArrayList of the objects it contains. |
ArrayListGrid.Unbounded |
An
ArrayListGrid.Unounded object is an unbounded
two-dimensional container data structure implemented as
an ArrayList of the objects it contains. |
BoundedGrid |
Grid Container Package:
A BoundedGrid is a rectangular, bounded two-dimensional
container data structure. |
BoundedGrid.Array2DGridRep |
The
Array2DGridRep class represents an internal bounded
grid using a two-dimensional array. |
ColorBlock |
Grid Container Package:
A ColorBlock object encapsulates a color for a colored
cell in a grid. |
Direction |
AP® Computer Science Marine Biology Simulation:
The Direction class encapsulates the notion of a compass
direction such as North, East, South, West. |
Grid |
Grid Container Package:
A Grid is a two-dimensional, rectangular container
data structure. |
Grid.BoundedGridValidityChecker |
A
BoundedGridValidityChecker implements a strategy for
determining the validity of a location in a bounded grid. |
Grid.UnboundedGridValidityChecker |
An
UnboundedGridValidityChecker implements a strategy
for determining the validity of a location in an unbounded grid. |
GridObject |
Grid Container Package:
A GridObject object is an object that can be contained
in a grid. |
Location |
AP® Computer Science Marine Biology Simulation:
A Location object represents the row and column of a
location in a two-dimensional grid. |
PictureBlock |
Grid Container Package:
A PictureBlock object encapsulates a picture (an image
read from a file) to be put in a cell in a grid. |
TextCell |
Grid Container Package:
A TextCell object encapsulates text to go in a
cell in a grid. |