📄 index-all.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Aug 22 02:03:57 EDT 2002 --><TITLE>Marine Biology Simulation: Index</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>AP® Computer Science Marine Biology Simulation</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_W_">W</A> <HR><A NAME="_A_"><!-- --></A><H2><B>A</B></H2><DL><DT><A HREF="Fish.html#act()"><B>act()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Acts for one step in the simulation.<DT><A HREF="BoundedEnv.html#add(Locatable)"><B>add(Locatable)</B></A> - Method in class <A HREF="BoundedEnv.html">BoundedEnv</A><DD>Adds a new object to this environment at the location it specifies.<DT><A HREF="Environment.html#add(Locatable)"><B>add(Locatable)</B></A> - Method in interface <A HREF="Environment.html">Environment</A><DD>Adds a new object to this environment at the location it specifies.<DT><A HREF="UnboundedEnv.html#add(Locatable)"><B>add(Locatable)</B></A> - Method in class <A HREF="UnboundedEnv.html">UnboundedEnv</A><DD>Adds a new object to this environment at the location it specifies.<DT><A HREF="BoundedEnv.html#allObjects()"><B>allObjects()</B></A> - Method in class <A HREF="BoundedEnv.html">BoundedEnv</A><DD>Returns all the objects in this environment.<DT><A HREF="Environment.html#allObjects()"><B>allObjects()</B></A> - Method in interface <A HREF="Environment.html">Environment</A><DD>Returns all the objects in this environment.<DT><A HREF="UnboundedEnv.html#allObjects()"><B>allObjects()</B></A> - Method in class <A HREF="UnboundedEnv.html">UnboundedEnv</A><DD>Returns all the objects in this environment.</DL><HR><A NAME="_B_"><!-- --></A><H2><B>B</B></H2><DL><DT><A HREF="BoundedEnv.html"><B>BoundedEnv</B></A> - class <A HREF="BoundedEnv.html">BoundedEnv</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> The <code>BoundedEnv</code> class models a bounded, two-dimensional, grid-like environment containing locatable objects.<DT><A HREF="BoundedEnv.html#BoundedEnv(int, int)"><B>BoundedEnv(int, int)</B></A> - Constructor for class <A HREF="BoundedEnv.html">BoundedEnv</A><DD>Constructs an empty BoundedEnv object with the given dimensions.<DT><A HREF="Fish.html#breed()"><B>breed()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Attempts to breed into neighboring locations.</DL><HR><A NAME="_C_"><!-- --></A><H2><B>C</B></H2><DL><DT><A HREF="Fish.html#changeDirection(Direction)"><B>changeDirection(Direction)</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Modifies this fish's direction.<DT><A HREF="Fish.html#changeLocation(Location)"><B>changeLocation(Location)</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Modifies this fish's location and notifies the environment.<DT><A HREF="Location.html#col()"><B>col()</B></A> - Method in class <A HREF="Location.html">Location</A><DD>Returns the column coordinate of this location.<DT><A HREF="Fish.html#color()"><B>color()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Returns this fish's color.<DT><A HREF="Location.html#compareTo(java.lang.Object)"><B>compareTo(Object)</B></A> - Method in class <A HREF="Location.html">Location</A><DD>Compares this location to <code>other</code> for ordering.</DL><HR><A NAME="_D_"><!-- --></A><H2><B>D</B></H2><DL><DT><A HREF="DarterFish.html"><B>DarterFish</B></A> - class <A HREF="DarterFish.html">DarterFish</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> The <code>DarterFish</code> class represents a fish in the Marine Biology Simulation that darts forward two spaces if it can, moves forward one space if it can't move two, and reverses direction (without moving) if it cannot move forward.<DT><A HREF="DarterFish.html#DarterFish(Environment, Location)"><B>DarterFish(Environment, Location)</B></A> - Constructor for class <A HREF="DarterFish.html">DarterFish</A><DD>Constructs a darter fish at the specified location in a given environment.<DT><A HREF="DarterFish.html#DarterFish(Environment, Location, Direction)"><B>DarterFish(Environment, Location, Direction)</B></A> - Constructor for class <A HREF="DarterFish.html">DarterFish</A><DD>Constructs a darter fish at the specified location and direction in a given environment.<DT><A HREF="DarterFish.html#DarterFish(Environment, Location, Direction, java.awt.Color)"><B>DarterFish(Environment, Location, Direction, Color)</B></A> - Constructor for class <A HREF="DarterFish.html">DarterFish</A><DD>Constructs a darter fish of the specified color at the specified location and direction.<DT><A HREF="Debug.html"><B>Debug</B></A> - class <A HREF="Debug.html">Debug</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> The <code>Debug</code> class supports conditional printing of debugging messages.<DT><A HREF="Debug.html#Debug()"><B>Debug()</B></A> - Constructor for class <A HREF="Debug.html">Debug</A><DD> <DT><A HREF="Fish.html#die()"><B>die()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Removes this fish from the environment.<DT><A HREF="Direction.html"><B>Direction</B></A> - class <A HREF="Direction.html">Direction</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> The <code>Direction</code> class encapsulates the notion of a compass direction such as North, East, South, West.<DT><A HREF="Fish.html#direction()"><B>direction()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Returns this fish's direction.<DT><A HREF="Direction.html#Direction()"><B>Direction()</B></A> - Constructor for class <A HREF="Direction.html">Direction</A><DD>Constructs a default <code>Direction</code> object facing North.<DT><A HREF="Direction.html#Direction(int)"><B>Direction(int)</B></A> - Constructor for class <A HREF="Direction.html">Direction</A><DD>Constructs a <code>Direction</code> object.<DT><A HREF="Direction.html#Direction(java.lang.String)"><B>Direction(String)</B></A> - Constructor for class <A HREF="Direction.html">Direction</A><DD>Constructs a <code>Direction</code> object.</DL><HR><A NAME="_E_"><!-- --></A><H2><B>E</B></H2><DL><DT><A HREF="Direction.html#EAST"><B>EAST</B></A> - Static variable in class <A HREF="Direction.html">Direction</A><DD> <DT><A HREF="Fish.html#emptyNeighbors()"><B>emptyNeighbors()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Finds empty locations adjacent to this fish.<DT><A HREF="EnvDisplay.html"><B>EnvDisplay</B></A> - interface <A HREF="EnvDisplay.html">EnvDisplay</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> The <code>EnvDisplay</code> interface describes the methods needed by all <code>EnvDisplay</code> objects.<DT><A HREF="Environment.html"><B>Environment</B></A> - interface <A HREF="Environment.html">Environment</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> <code>Environment</code> provides an interface for a two-dimensional, grid-like environment containing locatable objects.<DT><A HREF="Fish.html#environment()"><B>environment()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Returns this fish's environment.<DT><A HREF="Direction.html#equals(java.lang.Object)"><B>equals(Object)</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Indicates whether some other <code>Direction</code> object is "equal to" this one.<DT><A HREF="Location.html#equals(java.lang.Object)"><B>equals(Object)</B></A> - Method in class <A HREF="Location.html">Location</A><DD>Indicates whether some other <code>Location</code> object is "equal to" this one.</DL><HR><A NAME="_F_"><!-- --></A><H2><B>F</B></H2><DL><DT><A HREF="Fish.html"><B>Fish</B></A> - class <A HREF="Fish.html">Fish</A>.<DD>AP® Computer Science Marine Biology Simulation:<br> A <code>Fish</code> object represents a fish in the Marine Biology Simulation.<DT><A HREF="Fish.html#Fish(Environment, Location)"><B>Fish(Environment, Location)</B></A> - Constructor for class <A HREF="Fish.html">Fish</A><DD>Constructs a fish at the specified location in a given environment.<DT><A HREF="Fish.html#Fish(Environment, Location, Direction)"><B>Fish(Environment, Location, Direction)</B></A> - Constructor for class <A HREF="Fish.html">Fish</A><DD>Constructs a fish at the specified location and direction in a given environment.<DT><A HREF="Fish.html#Fish(Environment, Location, Direction, java.awt.Color)"><B>Fish(Environment, Location, Direction, Color)</B></A> - Constructor for class <A HREF="Fish.html">Fish</A><DD>Constructs a fish of the specified color at the specified location and direction.<DT><A HREF="Direction.html#FULL_CIRCLE"><B>FULL_CIRCLE</B></A> - Static variable in class <A HREF="Direction.html">Direction</A><DD>Number of degrees in compass (will not be tested on the Advanced Placement exam).</DL><HR><A NAME="_G_"><!-- --></A><H2><B>G</B></H2><DL><DT><A HREF="DarterFish.html#generateChild(Location)"><B>generateChild(Location)</B></A> - Method in class <A HREF="DarterFish.html">DarterFish</A><DD>Creates a new darter fish.<DT><A HREF="Fish.html#generateChild(Location)"><B>generateChild(Location)</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Creates a new fish with the color of its parent.<DT><A HREF="SlowFish.html#generateChild(Location)"><B>generateChild(Location)</B></A> - Method in class <A HREF="SlowFish.html">SlowFish</A><DD>Creates a new slow fish.<DT><A HREF="Environment.html#getDirection(Location, Location)"><B>getDirection(Location, Location)</B></A> - Method in interface <A HREF="Environment.html">Environment</A><DD>Returns the direction from one location to another.<DT><A HREF="SquareEnvironment.html#getDirection(Location, Location)"><B>getDirection(Location, Location)</B></A> - Method in class <A HREF="SquareEnvironment.html">SquareEnvironment</A><DD>Returns the direction from one location to another.<DT><A HREF="RandNumGenerator.html#getInstance()"><B>getInstance()</B></A> -
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -