⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index-all.html

📁 java学习的好范例
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  <code>java.util.Random</code> object for random number generation.<DT><A HREF="RandNumGenerator.html#RandNumGenerator()"><B>RandNumGenerator()</B></A> - Constructor for class <A HREF="RandNumGenerator.html">RandNumGenerator</A><DD>&nbsp;<DT><A HREF="Fish.html#randomColor()"><B>randomColor()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Generates a random color.<DT><A HREF="Direction.html#randomDirection()"><B>randomDirection()</B></A> - Static method in class <A HREF="Direction.html">Direction</A><DD>Returns a random direction.<DT><A HREF="Environment.html#randomDirection()"><B>randomDirection()</B></A> - Method in interface <A HREF="Environment.html">Environment</A><DD>Generates a random direction.<DT><A HREF="SquareEnvironment.html#randomDirection()"><B>randomDirection()</B></A> - Method in class <A HREF="SquareEnvironment.html">SquareEnvironment</A><DD>Generates a random direction.<DT><A HREF="BoundedEnv.html#recordMove(Locatable, Location)"><B>recordMove(Locatable, Location)</B></A> - Method in class <A HREF="BoundedEnv.html">BoundedEnv</A><DD>Updates this environment to reflect the fact that an object moved.<DT><A HREF="Environment.html#recordMove(Locatable, Location)"><B>recordMove(Locatable, Location)</B></A> - Method in interface <A HREF="Environment.html">Environment</A><DD>Updates this environment to reflect the fact that an object moved.<DT><A HREF="UnboundedEnv.html#recordMove(Locatable, Location)"><B>recordMove(Locatable, Location)</B></A> - Method in class <A HREF="UnboundedEnv.html">UnboundedEnv</A><DD>Updates this environment to reflect the fact that an object moved.<DT><A HREF="BoundedEnv.html#remove(Locatable)"><B>remove(Locatable)</B></A> - Method in class <A HREF="BoundedEnv.html">BoundedEnv</A><DD>Removes the object from this environment.<DT><A HREF="Environment.html#remove(Locatable)"><B>remove(Locatable)</B></A> - Method in interface <A HREF="Environment.html">Environment</A><DD>Removes the object from this environment.<DT><A HREF="UnboundedEnv.html#remove(Locatable)"><B>remove(Locatable)</B></A> - Method in class <A HREF="UnboundedEnv.html">UnboundedEnv</A><DD>Removes the object from this environment.<DT><A HREF="Debug.html#restoreState()"><B>restoreState()</B></A> - Static method in class <A HREF="Debug.html">Debug</A><DD>Restores the previous debugging state.<DT><A HREF="Direction.html#reverse()"><B>reverse()</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Returns the direction that is the reverse of this  <code>Direction</code> object.<DT><A HREF="Direction.html#roundedDir(int, Direction)"><B>roundedDir(int, Direction)</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Rounds this direction to the nearest "cardinal" direction  (will not be tested on the Advanced Placement exam).<br>  The choice of possible cardinal directions depends on the number  of cardinal directions and the starting direction.<DT><A HREF="Location.html#row()"><B>row()</B></A> - Method in class <A HREF="Location.html">Location</A><DD>Returns the row coordinate of this location.</DL><HR><A NAME="_S_"><!-- --></A><H2><B>S</B></H2><DL><DT><A HREF="EnvDisplay.html#showEnv()"><B>showEnv()</B></A> - Method in interface <A HREF="EnvDisplay.html">EnvDisplay</A><DD>Shows the current state of the environment.<DT><A HREF="SimpleMBSDemo1.html"><B>SimpleMBSDemo1</B></A> - class <A HREF="SimpleMBSDemo1.html">SimpleMBSDemo1</A>.<DD>AP&reg; Computer Science Marine Biology Simulation:<br>  The <code>SimpleMBSDemo1</code> class provides a main method that creates  a simulation of a number of fish swimming in a bounded environment.<DT><A HREF="SimpleMBSDemo1.html#SimpleMBSDemo1()"><B>SimpleMBSDemo1()</B></A> - Constructor for class <A HREF="SimpleMBSDemo1.html">SimpleMBSDemo1</A><DD>&nbsp;<DT><A HREF="SimpleMBSDemo2.html"><B>SimpleMBSDemo2</B></A> - class <A HREF="SimpleMBSDemo2.html">SimpleMBSDemo2</A>.<DD>AP&reg; Computer Science Marine Biology Simulation:<br>  The <code>SimpleMBSDemo2</code> class provides a main method that creates  a simulation of a number of fish swimming in a bounded environment.<DT><A HREF="SimpleMBSDemo2.html#SimpleMBSDemo2()"><B>SimpleMBSDemo2()</B></A> - Constructor for class <A HREF="SimpleMBSDemo2.html">SimpleMBSDemo2</A><DD>&nbsp;<DT><A HREF="Simulation.html"><B>Simulation</B></A> - class <A HREF="Simulation.html">Simulation</A>.<DD>AP&reg; Computer Science Marine Biology Simulation:<br>  A <code>Simulation</code> object controls a simulation of fish  movement in an <code>Environment</code>.<DT><A HREF="Simulation.html#Simulation(Environment, EnvDisplay)"><B>Simulation(Environment, EnvDisplay)</B></A> - Constructor for class <A HREF="Simulation.html">Simulation</A><DD>Constructs a <code>Simulation</code> object for a particular  environment.<DT><A HREF="SlowFish.html"><B>SlowFish</B></A> - class <A HREF="SlowFish.html">SlowFish</A>.<DD>AP&reg; Computer Science Marine Biology Simulation:<br>  The <code>SlowFish</code> class represents a fish in the Marine Biology  Simulation that moves very slowly.<DT><A HREF="SlowFish.html#SlowFish(Environment, Location)"><B>SlowFish(Environment, Location)</B></A> - Constructor for class <A HREF="SlowFish.html">SlowFish</A><DD>Constructs a slow fish at the specified location in a  given environment.<DT><A HREF="SlowFish.html#SlowFish(Environment, Location, Direction)"><B>SlowFish(Environment, Location, Direction)</B></A> - Constructor for class <A HREF="SlowFish.html">SlowFish</A><DD>Constructs a slow fish at the specified location and direction in a  given environment.<DT><A HREF="SlowFish.html#SlowFish(Environment, Location, Direction, java.awt.Color)"><B>SlowFish(Environment, Location, Direction, Color)</B></A> - Constructor for class <A HREF="SlowFish.html">SlowFish</A><DD>Constructs a slow fish of the specified color at the specified  location and direction.<DT><A HREF="Direction.html#SOUTH"><B>SOUTH</B></A> - Static variable in class <A HREF="Direction.html">Direction</A><DD>&nbsp;<DT><A HREF="Direction.html#SOUTHEAST"><B>SOUTHEAST</B></A> - Static variable in class <A HREF="Direction.html">Direction</A><DD>&nbsp;<DT><A HREF="Direction.html#SOUTHWEST"><B>SOUTHWEST</B></A> - Static variable in class <A HREF="Direction.html">Direction</A><DD>&nbsp;<DT><A HREF="SquareEnvironment.html"><B>SquareEnvironment</B></A> - class <A HREF="SquareEnvironment.html">SquareEnvironment</A>.<DD>AP&reg; Computer Science Marine Biology Simulation:<br>  <code>SquareEnvironment</code> is an abstract class that implements  only the navigational methods in the <code>Environment</code> interface.<DT><A HREF="SquareEnvironment.html#SquareEnvironment()"><B>SquareEnvironment()</B></A> - Constructor for class <A HREF="SquareEnvironment.html">SquareEnvironment</A><DD>Constructs a <code>SquareEnvironment</code> object in which cells  have four adjacent neighbors -- those with which they share sides.<DT><A HREF="SquareEnvironment.html#SquareEnvironment(boolean)"><B>SquareEnvironment(boolean)</B></A> - Constructor for class <A HREF="SquareEnvironment.html">SquareEnvironment</A><DD>Constructs a <code>SquareEnvironment</code> object in which cells  have four or eight adjacent neighbors, depending on the value  of the <code>includeDiagonalNeighbors</code> parameter.<DT><A HREF="Simulation.html#step()"><B>step()</B></A> - Method in class <A HREF="Simulation.html">Simulation</A><DD>Runs through a single step of this simulation.</DL><HR><A NAME="_T_"><!-- --></A><H2><B>T</B></H2><DL><DT><A HREF="Direction.html#toLeft()"><B>toLeft()</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Returns the direction that is a quarter turn  to the left of this <code>Direction</code> object.<DT><A HREF="Direction.html#toLeft(int)"><B>toLeft(int)</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Returns the direction that is <code>deg</code> degrees  to the left of this <code>Direction</code> object.<DT><A HREF="Direction.html#toRight()"><B>toRight()</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Returns the direction that is a quarter turn  to the right of this <code>Direction</code> object.<DT><A HREF="Direction.html#toRight(int)"><B>toRight(int)</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Returns the direction that is <code>deg</code> degrees  to the right of this <code>Direction</code> object.<DT><A HREF="BoundedEnv.html#toString()"><B>toString()</B></A> - Method in class <A HREF="BoundedEnv.html">BoundedEnv</A><DD>Creates a single string representing all the objects in this  environment (not necessarily in any particular order).<DT><A HREF="Direction.html#toString()"><B>toString()</B></A> - Method in class <A HREF="Direction.html">Direction</A><DD>Represents this direction as a string.<DT><A HREF="Fish.html#toString()"><B>toString()</B></A> - Method in class <A HREF="Fish.html">Fish</A><DD>Returns a string representing key information about this fish.<DT><A HREF="Location.html#toString()"><B>toString()</B></A> - Method in class <A HREF="Location.html">Location</A><DD>Represents this location as a string.<DT><A HREF="UnboundedEnv.html#toString()"><B>toString()</B></A> - Method in class <A HREF="UnboundedEnv.html">UnboundedEnv</A><DD>Creates a single string representing all the objects in this  environment (not necessarily in any particular order).<DT><A HREF="Debug.html#turnOff()"><B>turnOff()</B></A> - Static method in class <A HREF="Debug.html">Debug</A><DD>Turns debugging off.<DT><A HREF="Debug.html#turnOn()"><B>turnOn()</B></A> - Static method in class <A HREF="Debug.html">Debug</A><DD>Turns debugging on.</DL><HR><A NAME="_U_"><!-- --></A><H2><B>U</B></H2><DL><DT><A HREF="UnboundedEnv.html"><B>UnboundedEnv</B></A> - class <A HREF="UnboundedEnv.html">UnboundedEnv</A>.<DD>AP&reg; Computer Science Marine Biology Simulation:<br>  The <code>UnboundedEnv</code> class models an unbounded, two-dimensional,  grid-like environment containing locatable objects.<DT><A HREF="UnboundedEnv.html#UnboundedEnv()"><B>UnboundedEnv()</B></A> - Constructor for class <A HREF="UnboundedEnv.html">UnboundedEnv</A><DD>Constructs an empty UnboundedEnv object.</DL><HR><A NAME="_W_"><!-- --></A><H2><B>W</B></H2><DL><DT><A HREF="Direction.html#WEST"><B>WEST</B></A> - Static variable in class <A HREF="Direction.html">Direction</A><DD>&nbsp;</DL><HR><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> <!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>AP&reg; Computer Science Marine Biology Simulation</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV&nbsp;&nbsp;NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><i>Copyright&copy; 2002 College Entrance Examination Board</i></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -