diff --git a/Annuity/Annuity.java b/Annuity/Annuity.java
new file mode 100644
index 00000000..940ea0d8
--- /dev/null
+++ b/Annuity/Annuity.java
@@ -0,0 +1,16 @@
+import java.lang.Math;
+public class Annuity
+{
+ /** description of instance variable x (add comment for each instance variable) */
+ public static final long PERIODIC_PAYMENT = 10000;
+ public static final double COMPOUND_RATE = .08;
+ public static final long NUM_PAYMENTS = 20;
+
+ public static double calculateAnnuity ()
+ {
+ double numerator = (Math.pow((1+COMPOUND_RATE), (NUM_PAYMENTS-1)) - 1) / COMPOUND_RATE;
+ double denom = (Math.pow((1+COMPOUND_RATE), (NUM_PAYMENTS-1)));
+ return PERIODIC_PAYMENT*((numerator/denom)+1);
+ }
+
+}
diff --git a/Annuity/README.TXT b/Annuity/README.TXT
new file mode 100644
index 00000000..0de5dc9d
--- /dev/null
+++ b/Annuity/README.TXT
@@ -0,0 +1,13 @@
+------------------------------------------------------------------------
+This is the project README file. Here, you should describe your project.
+Tell the reader (someone who does not know anything about this project)
+all she needs to know. The comments should usually include at least:
+------------------------------------------------------------------------
+
+PROJECT TITLE:
+PURPOSE OF PROJECT:
+VERSION or DATE:
+DEPENDENCIES:
+HOW TO START THIS PROJECT:
+AUTHORS:
+USER INSTRUCTIONS:
diff --git a/Annuity/package.bluej b/Annuity/package.bluej
new file mode 100644
index 00000000..a47eb2c4
--- /dev/null
+++ b/Annuity/package.bluej
@@ -0,0 +1,24 @@
+#BlueJ package file
+objectbench.height=76
+objectbench.width=1660
+package.editor.height=854
+package.editor.width=1562
+package.editor.x=-8
+package.editor.y=-8
+package.numDependencies=0
+package.numTargets=1
+package.showExtends=true
+package.showUses=true
+project.charset=UTF-8
+target1.editor.height=700
+target1.editor.width=900
+target1.editor.x=759
+target1.editor.y=291
+target1.height=50
+target1.name=Annuity
+target1.showInterface=false
+target1.type=ClassTarget
+target1.typeParameters=
+target1.width=80
+target1.x=70
+target1.y=10
diff --git a/AvgOfThree/AvgOfThree.java b/AvgOfThree/AvgOfThree.java
index c71c516b..b3b9c216 100644
--- a/AvgOfThree/AvgOfThree.java
+++ b/AvgOfThree/AvgOfThree.java
@@ -10,6 +10,7 @@ public static void main (String[] args)
System.out.print ("Enter the first number: ");
a = s.nextDouble();
+
System.out.print ("Enter the second number: ");
b = s.nextDouble();
diff --git a/AvgOfThree/package.bluej b/AvgOfThree/package.bluej
index 5f5f50b5..69b87728 100644
--- a/AvgOfThree/package.bluej
+++ b/AvgOfThree/package.bluej
@@ -1,10 +1,10 @@
#BlueJ package file
objectbench.height=100
-objectbench.width=658
-package.editor.height=400
-package.editor.width=560
-package.editor.x=30
-package.editor.y=30
+objectbench.width=1355
+package.editor.height=830
+package.editor.width=1562
+package.editor.x=-8
+package.editor.y=-8
package.numDependencies=0
package.numTargets=1
package.showExtends=true
@@ -14,10 +14,10 @@ readme.editor.height=700
readme.editor.width=900
readme.editor.x=0
readme.editor.y=22
-target1.editor.height=700
-target1.editor.width=900
-target1.editor.x=70
-target1.editor.y=50
+target1.editor.height=1026
+target1.editor.width=1696
+target1.editor.x=-8
+target1.editor.y=-8
target1.height=50
target1.name=AvgOfThree
target1.naviview.expanded=false
diff --git a/CityscapeLab/.gitattributes b/CityscapeLab/.gitattributes
new file mode 100644
index 00000000..412eeda7
--- /dev/null
+++ b/CityscapeLab/.gitattributes
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+*.sln merge=union
+*.csproj merge=union
+*.vbproj merge=union
+*.fsproj merge=union
+*.dbproj merge=union
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
diff --git a/CityscapeLab/.gitignore b/CityscapeLab/.gitignore
new file mode 100644
index 00000000..58bcbf82
--- /dev/null
+++ b/CityscapeLab/.gitignore
@@ -0,0 +1,43 @@
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msm
+*.msp
+
+# =========================
+# Operating System Files
+# =========================
+
+# OSX
+# =========================
+
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+# Thumbnails
+._*
+
+# Files that might appear on external disk
+.Spotlight-V100
+.Trashes
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
diff --git a/CityscapeLab/Building.java b/CityscapeLab/Building.java
new file mode 100644
index 00000000..43b31004
--- /dev/null
+++ b/CityscapeLab/Building.java
@@ -0,0 +1,59 @@
+import java.awt.Rectangle;
+import java.awt.geom.Ellipse2D;
+import java.awt.Color;
+import java.util.Random;
+import java.awt.Graphics2D;
+/**
+ * Class that defines a building with starting positions, height, and width.
+ *
+ * @author Christopher Ng
+ * @version 2 October 2014
+ */
+public class Building
+{
+ /** int specifying building's height */
+ private int windowHeight;
+ /** int specifying building's width */
+ private int width;
+ /**int specifying leftmost coordinate */
+ private int xleft;
+ /** int specifying top coordinate */
+ private int ytop;
+ /** int for storing height of the hill object in CityScape */
+ private int hillHeight;
+ /**
+ * Default constructor for objects of class Building
+ * @param windowHeight the height of the JFrame window
+ * @param width width of the building
+ * @param xleft starting x position
+ * @param ytop starting y position
+ */
+ public Building(int xleft, int ytop, int width, int windowHeight)
+ {
+ this.windowHeight = windowHeight;
+ this.width = width;
+ this.xleft = xleft;
+ this.ytop = ytop;
+ }
+
+ public void setHillHeight(int hillHeight)
+ {
+ this.hillHeight = hillHeight;
+ }
+
+ /**
+ * Draws a building based on variables initialized in constructor
+ */
+ public void draw(Graphics2D g2)
+ {
+ Rectangle mainBuilding = new Rectangle(xleft, ytop, width, windowHeight-ytop-hillHeight);
+ g2.setColor(Color.GRAY);
+ g2.draw(mainBuilding);
+ g2.fill(mainBuilding);
+
+ }
+
+
+}
+
+
diff --git a/CityscapeLab/Bus.java b/CityscapeLab/Bus.java
new file mode 100644
index 00000000..2947d80c
--- /dev/null
+++ b/CityscapeLab/Bus.java
@@ -0,0 +1,40 @@
+
+
+/**
+ * Write a description of class Bus here.
+ *
+ * @author (your name)
+ * @version (a version number or a date)
+ */
+public class Bus
+{
+ /** description of instance variable x (add comment for each instance variable) */
+ private int x;
+
+ /**
+ * Default constructor for objects of class Bus
+ */
+ public Bus()
+ {
+ // initialise instance variables
+ x = 0;
+ }
+
+ /**
+ * An example of a method - replace this comment with your own
+ * that describes the operation of the method
+ *
+ * @pre preconditions for the method
+ * (what the method assumes about the method's parameters and class's state)
+ * @post postconditions for the method
+ * (what the method guarantees upon completion)
+ * @param y description of parameter y
+ * @return description of the return value
+ */
+ public int sampleMethod(int y)
+ {
+ // put your code here
+ return x+y;
+ }
+
+}
diff --git a/CityscapeLab/Car.java b/CityscapeLab/Car.java
new file mode 100644
index 00000000..f0c53738
--- /dev/null
+++ b/CityscapeLab/Car.java
@@ -0,0 +1,40 @@
+
+
+/**
+ * Write a description of class Car here.
+ *
+ * @author (your name)
+ * @version (a version number or a date)
+ */
+public class Car
+{
+ /** description of instance variable x (add comment for each instance variable) */
+ private int x;
+
+ /**
+ * Default constructor for objects of class Car
+ */
+ public Car()
+ {
+ // initialise instance variables
+ x = 0;
+ }
+
+ /**
+ * An example of a method - replace this comment with your own
+ * that describes the operation of the method
+ *
+ * @pre preconditions for the method
+ * (what the method assumes about the method's parameters and class's state)
+ * @post postconditions for the method
+ * (what the method guarantees upon completion)
+ * @param y description of parameter y
+ * @return description of the return value
+ */
+ public int sampleMethod(int y)
+ {
+ // put your code here
+ return x+y;
+ }
+
+}
diff --git a/CityscapeLab/CityscapeComponent.java b/CityscapeLab/CityscapeComponent.java
index 188f248e..583c0c47 100644
--- a/CityscapeLab/CityscapeComponent.java
+++ b/CityscapeLab/CityscapeComponent.java
@@ -1,6 +1,7 @@
import java.awt.Graphics;
import java.awt.Graphics2D;
import javax.swing.JComponent;
+import java.util.Random;
/**
* Class that creates instances of the classes that comprise the cityscape and delegates drawing the
@@ -11,6 +12,7 @@
*/
public class CityscapeComponent extends JComponent
{
+ public static boolean isNight=true;
/**
* An example of a method - replace this comment with your own
* that describes the operation of the method
@@ -21,17 +23,33 @@ public class CityscapeComponent extends JComponent
* (what the method guarantees upon completion)
* @param y description of parameter y
* @return description of the return value
- */
+ */
+
public void paintComponent(Graphics g)
- {
+ {
Graphics2D g2 = (Graphics2D) g;
-
- // writing the code for my lab...
-
- // create instances of classes and invoke the draw method on each
- // ...
-
-
+ int space = this.getWidth()/9;
+ int windowHeight = this.getHeight();
+ Random randomGen = new Random();
+ Sky sky = new Sky(this.getWidth(), this.getHeight());
+ sky.draw(g2);
+ Moon moon = new Moon(0, windowHeight/8, 100, 100);
+ moon.draw(g2);
+ Hill hill = new Hill(0, this.getHeight()-this.getHeight()/4, this.getWidth(), this.getHeight()/4);
+ hill.draw(g2);
+ int hillHeight = hill.getHillHeight();
+ Building building1 = new Building(space, randomGen.nextInt(windowHeight)-hill.getHillHeight(), space, windowHeight);
+ building1.setHillHeight(hillHeight);
+ building1.draw(g2);
+ Building building2 = new Building(space*3, randomGen.nextInt(windowHeight)-hill.getHillHeight(), space, windowHeight);
+ building2.setHillHeight(hillHeight);
+ building2.draw(g2);
+ Building building3 = new Building(space*5, randomGen.nextInt(windowHeight)-hill.getHillHeight(), space, windowHeight);
+ building3.setHillHeight(hillHeight);
+ building3.draw(g2);
+ Building building4 = new Building(space*7, randomGen.nextInt(windowHeight)-hill.getHillHeight(), space, windowHeight);
+ building4.setHillHeight(hillHeight);
+ building4.draw(g2);
}
+}
-}
diff --git a/CityscapeLab/Cloud.java b/CityscapeLab/Cloud.java
new file mode 100644
index 00000000..75127d77
--- /dev/null
+++ b/CityscapeLab/Cloud.java
@@ -0,0 +1,40 @@
+
+
+/**
+ * Write a description of class Cloud here.
+ *
+ * @author (your name)
+ * @version (a version number or a date)
+ */
+public class Cloud
+{
+ /** description of instance variable x (add comment for each instance variable) */
+ private int x;
+
+ /**
+ * Default constructor for objects of class Cloud
+ */
+ public Cloud()
+ {
+ // initialise instance variables
+ x = 0;
+ }
+
+ /**
+ * An example of a method - replace this comment with your own
+ * that describes the operation of the method
+ *
+ * @pre preconditions for the method
+ * (what the method assumes about the method's parameters and class's state)
+ * @post postconditions for the method
+ * (what the method guarantees upon completion)
+ * @param y description of parameter y
+ * @return description of the return value
+ */
+ public int sampleMethod(int y)
+ {
+ // put your code here
+ return x+y;
+ }
+
+}
diff --git a/CityscapeLab/Hill.java b/CityscapeLab/Hill.java
new file mode 100644
index 00000000..9994e6e0
--- /dev/null
+++ b/CityscapeLab/Hill.java
@@ -0,0 +1,44 @@
+import java.awt.Graphics2D;
+import java.awt.Rectangle;
+import java.awt.Color;
+/**
+ * Draws a hill at the front of the CityScape
+ *
+ * @author Christopher Ng
+ * @version 6 October 2014
+ */
+public class Hill
+{
+ /** holds value for maximum height of the hill in pixels */
+ private int hillHeight;
+ private int hillWidth;
+ private int yTop;
+ private int xLeft;
+ public Hill(int xLeft, int yTop, int hillWidth, int hillHeight)
+ {
+ this.hillHeight = hillHeight;
+ this.hillWidth = hillWidth;
+ this.yTop = yTop;
+ this.xLeft = xLeft;
+ }
+
+ public int getHillHeight()
+ /**
+ * Accessor method which returns the height of this hill
+ */
+ {
+ return this.hillHeight;
+ }
+
+ /**
+ * creates a hill rectangle and draws it with the graphics object
+ */
+ public void draw(Graphics2D g2)
+ {
+ Rectangle grass = new Rectangle (xLeft, yTop, hillWidth, hillHeight);
+ g2.setColor(Color.GREEN);
+ g2.draw(grass);
+ g2.fill(grass);
+ }
+
+}
diff --git a/CityscapeLab/Moon.java b/CityscapeLab/Moon.java
new file mode 100644
index 00000000..ea81cd44
--- /dev/null
+++ b/CityscapeLab/Moon.java
@@ -0,0 +1,64 @@
+import java.awt.Graphics2D;
+import java.awt.geom.Ellipse2D;
+import java.awt.Color;
+
+/**
+ * A class that models an animated moon that moves across the sky.
+ *
+ * @author Christopher Ng
+ * @version 10/8/14
+ */
+public class Moon
+{
+ /** starting left position coordinate */
+ private int xLeft;
+ /**starting top position coordinate */
+ private int yTop;
+ /** vertical height of moon */
+ private int height;
+ /** horizontal width of moon */
+ private int width;
+ /**
+ * Default constructor for objects of class Moon
+ * @param xLeft starting left x coordinate
+ * @param yTop starting top y coordinate
+ * @param width width of moon
+ * @param height height of moon
+ */
+ public Moon(int xLeft, int yTop, int width, int height)
+ {
+ this.xLeft = xLeft;
+ this.yTop = yTop;
+ this.width = width;
+ this.height = height;
+ }
+
+ public void changePos()
+ {
+ this.xLeft = this.xLeft +150;
+ }
+
+ public void resetPos()
+ {
+ this.xLeft = 0;
+ }
+
+ public int getXPos()
+ {
+ return this.xLeft;
+ }
+
+ /**
+ * creates a yellow ellipse object and fills it
+ */
+ public void draw(Graphics2D g2)
+ {
+ Ellipse2D.Double moon = new Ellipse2D.Double(xLeft, yTop, width, height);
+ g2.setColor(Color.YELLOW);
+ g2.draw(moon);
+ g2.fill(moon);
+ }
+
+
+
+}
diff --git a/CityscapeLab/Road.java b/CityscapeLab/Road.java
new file mode 100644
index 00000000..63e330da
--- /dev/null
+++ b/CityscapeLab/Road.java
@@ -0,0 +1,40 @@
+
+
+/**
+ * Write a description of class Road here.
+ *
+ * @author (your name)
+ * @version (a version number or a date)
+ */
+public class Road
+{
+ /** description of instance variable x (add comment for each instance variable) */
+ private int x;
+
+ /**
+ * Default constructor for objects of class Road
+ */
+ public Road()
+ {
+ // initialise instance variables
+ x = 0;
+ }
+
+ /**
+ * An example of a method - replace this comment with your own
+ * that describes the operation of the method
+ *
+ * @pre preconditions for the method
+ * (what the method assumes about the method's parameters and class's state)
+ * @post postconditions for the method
+ * (what the method guarantees upon completion)
+ * @param y description of parameter y
+ * @return description of the return value
+ */
+ public int sampleMethod(int y)
+ {
+ // put your code here
+ return x+y;
+ }
+
+}
diff --git a/CityscapeLab/Sky.java b/CityscapeLab/Sky.java
new file mode 100644
index 00000000..e1ef44f1
--- /dev/null
+++ b/CityscapeLab/Sky.java
@@ -0,0 +1,39 @@
+import java.awt.Color;
+import java.awt.Rectangle;
+import java.awt.Graphics2D;
+
+/**
+ * Creates a blue background for the "sky"
+ *
+ * @author Christopher Ng
+ * @version 6 October 2014
+ */
+public class Sky
+{
+ private int windowHeight;
+ private int windowWidth;
+ public Sky(int windowWidth, int windowHeight)
+ {
+ this.windowWidth = windowWidth;
+ this.windowHeight = windowHeight;
+ }
+
+ public void draw(Graphics2D g2)
+ {
+ Rectangle sky = new Rectangle(0, 0, windowWidth, windowHeight);
+ while (CityscapeComponent.isNight)
+ {
+ g2.setColor(Color.BLACK);
+ g2.draw(sky);
+ g2.fill(sky);
+ }
+
+ while (CityscapeComponent.isNight == false)
+ {
+ g2.setColor(Color.BLUE);
+ g2.draw(sky);
+ g2.fill(sky);
+ }
+ }
+
+}
diff --git a/CityscapeLab/Sky.java# b/CityscapeLab/Sky.java#
new file mode 100644
index 00000000..a7de10cd
--- /dev/null
+++ b/CityscapeLab/Sky.java#
@@ -0,0 +1,38 @@
+import java.awt.Color;
+import java.awt.Rectangle;
+import java.awt.Graphics2D;
+
+/**
+ * Creates a blue background for the "sky"
+ *
+ * @author Christopher Ng
+ * @version 6 October 2014
+ */
+public class Sky
+{
+ private int windowHeight;
+ private int windowWidth;
+ public Sky(int windowWidth, int windowHeight)
+ {
+ this.windowWidth = windowWidth;
+ this.windowHeight = windowHeight;
+ }
+
+ public void draw(Graphics2D g2)
+ {
+ Rectangle sky = new Rectangle(0, 0, windowWidth, windowHeight);
+ while (CityscapeComponent.isNight)
+ {
+ g2.setColor(Color.BLACK);
+ g2.draw(sky);
+ g2.fill(sky);
+ }
+ while (CityscapeComponent.isNight == false)
+ {
+ g2.setColor(Color.BLUE);
+ g2.draw(sky);
+ g2.fill(sky);
+ }
+ }
+
+}
diff --git a/CityscapeLab/Sun.java b/CityscapeLab/Sun.java
new file mode 100644
index 00000000..85f11533
--- /dev/null
+++ b/CityscapeLab/Sun.java
@@ -0,0 +1,40 @@
+
+
+/**
+ * Write a description of class Sun here.
+ *
+ * @author (your name)
+ * @version (a version number or a date)
+ */
+public class Sun
+{
+ /** description of instance variable x (add comment for each instance variable) */
+ private int x;
+
+ /**
+ * Default constructor for objects of class Sun
+ */
+ public Sun()
+ {
+ // initialise instance variables
+ x = 0;
+ }
+
+ /**
+ * An example of a method - replace this comment with your own
+ * that describes the operation of the method
+ *
+ * @pre preconditions for the method
+ * (what the method assumes about the method's parameters and class's state)
+ * @post postconditions for the method
+ * (what the method guarantees upon completion)
+ * @param y description of parameter y
+ * @return description of the return value
+ */
+ public int sampleMethod(int y)
+ {
+ // put your code here
+ return x+y;
+ }
+
+}
diff --git a/CityscapeLab/doc/Building.html b/CityscapeLab/doc/Building.html
new file mode 100644
index 00000000..0459007e
--- /dev/null
+++ b/CityscapeLab/doc/Building.html
@@ -0,0 +1,285 @@
+
+
+
+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+Package
+
+
+
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:
+
Interfaces (italic)
Classes
Enums
Exceptions
Errors
Annotation Types
+
+
+Class/Interface
+
+
+
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
Class inheritance diagram
Direct Subclasses
All Known Subinterfaces
All Known Implementing Classes
Class/interface declaration
Class/interface description
+
+
Nested Class Summary
Field Summary
Constructor Summary
Method Summary
+
+
Field Detail
Constructor Detail
Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+
+
+
+Each annotation type has its own separate page with the following sections:
+
Annotation Type declaration
Annotation Type description
Required Element Summary
Optional Element Summary
Element Detail
+
+
+
+Enum
+
+
+
+Each enum has its own separate page with the following sections:
+
Enum declaration
Enum description
Enum Constant Summary
Enum Constant Detail
+
+
+Tree (Class Hierarchy)
+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
+
When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+
+Index
+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+Package
+
+
+
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:
+
Interfaces (italic)
Classes
Enums
Exceptions
Errors
Annotation Types
+
+
+Class/Interface
+
+
+
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
Class inheritance diagram
Direct Subclasses
All Known Subinterfaces
All Known Implementing Classes
Class/interface declaration
Class/interface description
+
+
Nested Class Summary
Field Summary
Constructor Summary
Method Summary
+
+
Field Detail
Constructor Detail
Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+
+
+
+Each annotation type has its own separate page with the following sections:
+
Annotation Type declaration
Annotation Type description
Required Element Summary
Optional Element Summary
Element Detail
+
+
+
+Enum
+
+
+
+Each enum has its own separate page with the following sections:
+
Enum declaration
Enum description
Enum Constant Summary
Enum Constant Detail
+
+
+Tree (Class Hierarchy)
+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
+
When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+
+Index
+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+