A C D E G L M P R S T U V

A

asReal() - Method in interface rebelsky.newvec.CanBeExpressedAsARealNumber
 
asReal() - Method in class rebelsky.newvec.Polar
 

C

CanBeExpressedAsARealNumber - interface rebelsky.newvec.CanBeExpressedAsARealNumber.
 
CompareVectorsByRadius - class rebelsky.newvec.CompareVectorsByRadius.
Something that knows how to compare vectors based on their radius.
CompareVectorsByRadius() - Constructor for class rebelsky.newvec.CompareVectorsByRadius
 
checkClose(Vec2D) - Method in class rebelsky.newvec.GraduateAssistant
Print a message that depends on the closeness of a vector to the origin.
compare(Object, Object) - Method in class rebelsky.newvec.CompareVectorsByRadius
 

D

describe(Vec2D) - Method in class rebelsky.newvec.GraduateAssistant
Describe a two dimensional vector.
describeR(CanBeExpressedAsARealNumber) - Method in class rebelsky.newvec.GraduateAssistant
Describe something that can be expressed as a real number.

E

equals(Object) - Method in class rebelsky.newvec.Point
Determine if this object equals another.

G

GraduateAssistant - class rebelsky.newvec.GraduateAssistant.
Something that willingly helps with a variety of tasks.
GraduateAssistant(PrintWriter) - Constructor for class rebelsky.newvec.GraduateAssistant
Create a new assistant that uses a particular pen.
Gum - class rebelsky.silly.Gum.
Chewy.
Gum() - Constructor for class rebelsky.silly.Gum
 
getAngle() - Method in class rebelsky.newvec.Point
Get the angle of this vector from the origin.
getAngle() - Method in class rebelsky.newvec.Polar
Get the angle of this vector from the origin.
getAngle() - Method in interface rebelsky.newvec.Vec2D
Get the angle of this vector from the origin.
getRadius() - Method in class rebelsky.newvec.Point
Get the radius of this vector.
getRadius() - Method in class rebelsky.newvec.Polar
Get the radius of this vector.
getRadius() - Method in interface rebelsky.newvec.Vec2D
Get the radius of this vector.
getX() - Method in class rebelsky.newvec.Point
Get the X coordinate of this vector.
getX() - Method in class rebelsky.newvec.Polar
Get the X coordinate of this vector.
getX() - Method in interface rebelsky.newvec.Vec2D
Get the X coordinate of this vector.
getY() - Method in class rebelsky.newvec.Point
Get the Y coordinate of this vector.
getY() - Method in class rebelsky.newvec.Polar
Get the Y coordinate of this vector.
getY() - Method in interface rebelsky.newvec.Vec2D
Get the Y coordinate of this vector.

L

laugh(int) - Method in class rebelsky.silly.Silly
Laugh n times.

M

Main - class rebelsky.newvec.Main.
Lots of fun tests.
Main() - Constructor for class rebelsky.newvec.Main
 
main(String[]) - Static method in class rebelsky.newvec.Main
 

P

Point - class rebelsky.newvec.Point.
A vector in two space, implemented by (x,y) pair.
Point(double, double) - Constructor for class rebelsky.newvec.Point
Construct the point (_x,_y).
Polar - class rebelsky.newvec.Polar.
A vector in two space, implemented using Polar coordinates.
Polar(double, double) - Constructor for class rebelsky.newvec.Polar
Build a new vector to (x,y).
pause(int) - Method in class rebelsky.silly.Um
Pause for awhile to collect our thoughts.

R

rebelsky.newvec - package rebelsky.newvec
 
rebelsky.silly - package rebelsky.silly
 
rotate(double) - Method in class rebelsky.newvec.Point
Rotate this vector for some amount around the origin.
rotate(double) - Method in class rebelsky.newvec.Polar
Rotate this vector for some amount around the origin.
rotate(double) - Method in interface rebelsky.newvec.Vec2D
Rotate this vector for some amount around the origin.

S

Silly - class rebelsky.silly.Silly.
A simple class, intended as an example for a Javadoc lecture.
Silly() - Constructor for class rebelsky.silly.Silly
 
stretch(double) - Method in class rebelsky.newvec.Point
Increase the length of this vector by a factor of factor.
stretch(double) - Method in class rebelsky.newvec.Polar
Stretch this vector by some amount.
stretch(double) - Method in interface rebelsky.newvec.Vec2D
Stretch this vector by some amount.

T

test(Vec2D) - Method in class rebelsky.newvec.GraduateAssistant
Test a two dimensional vector in a variety of ways.
toString() - Method in class rebelsky.newvec.Point
Convert this vector to a string.
toString() - Method in class rebelsky.newvec.Polar
Convert this vector to a string.
toString() - Method in interface rebelsky.newvec.Vec2D
Convert this vector to a string.

U

Um - class rebelsky.silly.Um.
Universal modules.
Um() - Constructor for class rebelsky.silly.Um
 
unitVector() - Method in class rebelsky.newvec.Point
Compute the unit vector for this vector (radius 1, same angle).
unitVector() - Method in class rebelsky.newvec.Polar
Compute the unit vector for this vector (radius 1, same angle).
unitVector() - Method in interface rebelsky.newvec.Vec2D
Compute the unit vector for this vector (radius 1, same angle).

V

Vec2D - interface rebelsky.newvec.Vec2D.
A vector in two space.

A C D E G L M P R S T U V