All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- addLayoutComponent(String, Component).
Method in class map.ColumnLayout
- Adds the specified component to the layout.
- adjoin(Element).
Method in class set.Set
- Adjoin an element to a set.
- BOOM.
Static variable in interface map.Map
- Boom return code.
- but_first().
Method in class set.Set
- The set minus its first element.
- card().
Method in class set.Set
- Set Cardinality.
- ColumnLayout().
Constructor for class map.ColumnLayout
- Constructs a new ColumnLayout
with default values for the
horizontal and vertical gap.
- ColumnLayout(int, int).
Constructor for class map.ColumnLayout
- Constructs a new ColumnLayout.
- columns().
Method in interface map.Map
- Provide the number of columns in this mine map.
- columns().
Method in class map.MineMap
- Provide the number of columns in this mine map.
- display().
Method in interface map.Map
- Display the mine map on the standard output stream.
- display().
Method in class map.MineMap
- Display the mine map on the standard output stream.
- display().
Method in class sp.Point
- Display the point on the standard output stream.
- done().
Method in interface map.Map
- Is this game finished?
The game is finished if it has been won or if a cell with a
mine has been probed.
- done().
Method in class map.MineMap
- Is this game finished?
The game is finished if it has been won or if a cell with a
mine has been probed.
- ElementComparisonException().
Constructor for class set.ElementComparisonException
- Constructor
- ElementComparisonException(String).
Constructor for class set.ElementComparisonException
- Constructor with a detail message
- empty().
Method in class set.Set
- Is this the empty set?
- EqnStrategy().
Constructor for class eqn.EqnStrategy
-
- first().
Method in class set.Set
- Pick an element from the set.
- init().
Method in class map.PGMS
- Initialize applet by processing the attributes.
- intersect(Set).
Method in class set.Set
- Set intersection.
- layoutContainer(Container).
Method in class map.ColumnLayout
- Lays out the container.
- less(Element).
Method in interface set.Element
- Is this element less than some other element?
- less(Element).
Method in class sp.Point
- Is this element less than some other element?
- less(Element).
Method in class set.Set
- Is this element less than some other element?
- look(int, int).
Method in interface map.Map
- Look at a cell.
- look(int, int).
Method in class map.MineMap
- Look at a cell.
- main(String[]).
Static method in class map.PGMS
- Application entry point.
- mark(int, int).
Method in interface map.Map
- Mark a cell.
- mark(int, int).
Method in class map.MineMap
- Mark a cell.
- MARKED.
Static variable in interface map.Map
- Marked return code.
- member(Element).
Method in class set.Set
- Is an element a member of this set?
- mines_minus_marks().
Method in interface map.Map
- Provide the number of mines minus the
number of marks in this mine map.
- mines_minus_marks().
Method in class map.MineMap
- Provide the number of mines minus the
number of marks in this mine map.
- minimumLayoutSize(Container).
Method in class map.ColumnLayout
- Returns the minimum dimensions needed to layout the components
contained in the specified target container.
- OUT_OF_BOUNDS.
Static variable in interface map.Map
- Out of bounds return code.
- PGMS().
Constructor for class map.PGMS
- Create applet PGMS
- pick(int).
Method in interface map.Map
- Pick a number at random.
- pick(int).
Method in class map.MineMap
- Pick a number at random.
- play(Map).
Method in class eqn.EqnStrategy
- Invoke the Equation Strategy.
- play(Map).
Method in class sp.SinglePointStrategy
- Invoke the Single Point Strategy.
- play(Map).
Method in interface map.Strategy
- Plays a game of mine sweeper.
- Point(int, int).
Constructor for class sp.Point
- Construct a point from an x coordinate and a y coordinate.
- preferredLayoutSize(Container).
Method in class map.ColumnLayout
- Returns the preferred dimensions for this layout given the components
in the specified target container.
- probe(int, int).
Method in interface map.Map
- Probe a cell for a mine.
- probe(int, int).
Method in class map.MineMap
- Probe a cell for a mine.
- proper_subset(Set).
Method in class set.Set
- Is this set a proper subset of another set?
- remove(Element).
Method in class set.Set
- Remove an element from a set.
- removeLayoutComponent(Component).
Method in class map.ColumnLayout
- Removes the specified component from the layout.
- rows().
Method in interface map.Map
- Provide the number of rows in this mine map.
- rows().
Method in class map.MineMap
- Provide the number of rows in this mine map.
- same(Element).
Method in interface set.Element
- Is this element equal to some other element?
- same(Element).
Method in class sp.Point
- Is this element equal to some other element?
- same(Element).
Method in class set.Set
- Is this element equal to some other element?
- Set().
Constructor for class set.Set
-
- set_difference(Set).
Method in class set.Set
- Set difference.
- SinglePointStrategy().
Constructor for class sp.SinglePointStrategy
-
- start().
Method in class map.PGMS
-
- stop().
Method in class map.PGMS
-
- toString().
Method in class map.ColumnLayout
- Returns the String representation of this ColumnLayout's values.
- union(Set).
Method in class set.Set
- Set union.
- unmark(int, int).
Method in interface map.Map
- Unmark a cell.
- unmark(int, int).
Method in class map.MineMap
- Unmark a cell.
- UNPROBED.
Static variable in interface map.Map
- Unprobed return code.
- won().
Method in interface map.Map
- Has this game been won?
A game is won if every cell which does not contain a mine has
been probed, but no cell with a mine has been probed.
- won().
Method in class map.MineMap
- Has this game been won?
A game is won if every cell which does not contain a mine has
been probed, but no cell with a mine has been probed.
- x().
Method in class sp.Point
- Access the x coordinate of a point.
- y().
Method in class sp.Point
- Access the y coordinate of a point.