A B C D E F G H I K L M N O P R S T U V W Z

A

add(Ball) - Method in class ps0.BallContainer
Adds a ball to the container.
add(Ball) - Method in class ps0.Box
This method is used to add Ball objects to this box of finite volume.
add(RatNum) - Method in class ps1.RatNum
Addition operation.
add(RatPoly) - Method in class ps1.RatPoly
Addition operation.
add() - Method in class ps1.RatPolyStack
Pops two elements off of the stack, adds them, and places the result on top of the stack.
add(RatTerm) - Method in class ps1.RatTerm
Addition operation.
addDifferentExpts(RatTerm, RatTerm) - Method in class ps1.test.RatTermTest
 
Address - Class in ps6
An Address is an immutable record type defining a location.
Address(int, String, String) - Constructor for class ps6.Address
 
addSegment(GeoSegment) - Method in class ps2.GeoFeature
Creates a new GeoFeature that is equal to this GeoFeature with gs appended to its end.
addSegment(GeoSegment) - Method in class ps2.Route
Creates a new route that is equal to this route with gs appended to its end.
allQueries - Static variable in class ps6.test.ValidateQueries
 
antichess - package antichess
 
antiDifferentiate(RatNum) - Method in class ps1.RatPoly
Returns the antiderivative of this RatPoly.
antiDifferentiate() - Method in class ps1.RatTerm
Returns the antiderivative of this RatTerm.
apply(StreetSegment) - Method in interface ps6.StreetSegmentFilter
 
assertEofMatch(int, String, String) - Method in class ps6.test.FilterTest
Compares expected and actual output lines for end-of-file status.
assertEofMatch(int, String, String) - Method in class ps6.test.TextUITest
Compares expected and actual output lines for end-of-file status.
assertEquals(String, Iterator, Iterator) - Static method in class ps6.test.PS6TestCase
 
assertLineMatch(int, String, String) - Method in class ps6.test.FilterTest
Compares expected and actual output lines.
assertLineMatch(int, String, String) - Method in class ps6.test.TextUITest
Compares expected and actual output lines.

B

BadRecordException - Exception in ps6.tigerdb
BadRecordException.java Created: Wed Aug 16 04:51:12 2000
BadRecordException(String, String) - Constructor for exception ps6.tigerdb.BadRecordException
 
Ball - Class in ps0
This is a simple object that has a volume.
Ball(double) - Constructor for class ps0.Ball
Constructor that creates a new ball object with the specified volume.
BallContainer - Class in ps0
This is a container can be used to contain Balls.
BallContainer() - Constructor for class ps0.BallContainer
Constructor that creates a new ballcontainer.
BallContainerTest - Class in ps0.test
BallContainerTest is a glassbox test of the BallContainer class.
BallContainerTest() - Constructor for class ps0.test.BallContainerTest
 
BallTest - Class in ps0.test
BallTest is a simple glassbox test of the Ball class.
BallTest() - Constructor for class ps0.test.BallTest
 
Box - Class in ps0
This is a container can be used to contain Balls.
Box(double) - Constructor for class ps0.Box
Constructor that creates a new box.
BoxTest - Class in ps0.test
BoxTest is a glassbox test of the Box class.
BoxTest() - Constructor for class ps0.test.BoxTest
 

C

CalculatorFrame - Class in ps1
CalculatorFrame is part of the graphical calculator that utilizes all of the other classes in package ps1.
CalculatorFrame() - Constructor for class ps1.CalculatorFrame
 
Card - Class in ps0.optional
Card is a class representing single playing card consisting of a value and a suit (e.g.
Card(CardValue, CardSuit) - Constructor for class ps0.optional.Card
Creates a new playing card.
CardSuit - Enum in ps0.optional
Represents one of the four suits (Hearts, Spades, Diamonds, Clubs) that appear on a playing card.
CardValue - Enum in ps0.optional
Represents one of 13 values (2-10, Jack, Queen, King, Ace) that appear on a playing card.
checkMappingInv() - Method in class ps6.tigerdb.DatabaseReader
 
clear() - Method in class ps0.BallContainer
Empties the container, i.e.
clear() - Method in class ps0.Box
Empties the box, i.e.
clear() - Method in class ps1.RatPolyStack
Clears the stack.
compareTo(Card) - Method in class ps0.optional.Card
Compares this card with the specified card for order.
compareTo(RatNum) - Method in class ps1.RatNum
Compares two RatNums.
compareTo(WeightedNode) - Method in class ps3.graph.WeightedNode
WeightedNodes are ordered lexicographically by their name.
compareTo(Path<?>) - Method in class ps3.graph.WeightedNodePath
Compares the cost of this path to the given path.
computeDirections(Route, double) - Method in class ps2.RouteFormatter
Give directions for following this Route, starting at its start point and facing in the specified heading.
computeLine(GeoFeature, double) - Method in class ps2.DrivingRouteFormatter
Computes a single line of a multi-line directions String that represents the instructions for traversing a single geographical feature.
computeLine(GeoFeature, double) - Method in class ps2.RouteFormatter
Computes a single line of a multi-line directions String that represents the intructions for traversing a single geograhpical feature.
computeLine(GeoFeature, double) - Method in class ps2.WalkingRouteFormatter
Computes a single line of a multi-line directions String that represents the instructions for walking along a single geographical feature.
contains(Ball) - Method in class ps0.BallContainer
This method returns true if this container contains the specified Ball.
contains(Ball) - Method in class ps0.Box
This method returns true if this box contains the specified Ball.
contains(int) - Method in class ps4.StreetNumberSet
 
contains(int) - Method in class ps6.tigerdb.DirectedStreetNumberRange
 
cost() - Method in interface ps3.graph.Path
 
cost - Variable in class ps3.graph.WeightedNode
 
cost() - Method in class ps3.graph.WeightedNode
 
cost() - Method in class ps3.graph.WeightedNodePath
 
couldBeLowToHigh() - Method in class ps6.tigerdb.DirectedStreetNumberRange
 

D

DatabaseReader - Class in ps6.tigerdb
 
DatabaseReader() - Constructor for class ps6.tigerdb.DatabaseReader
 
DatabaseReader.GeoChain - Class in ps6.tigerdb
 
degree() - Method in class ps1.RatPoly
Returns the degree of this RatPoly.
die(String) - Method in class ps6.tigerdb.TigerRecord
 
differentiate() - Method in class ps1.RatPoly
Return the derivative of this RatPoly.
differentiate() - Method in class ps1.RatPolyStack
Pops the top element off of the stack, differentiates it, and places the result on top of the stack.
differentiate() - Method in class ps1.RatTerm
Return the derivative of this RatTerm.
DirectedStreetNumberRange - Class in ps6.tigerdb
 
DirectedStreetNumberRange(IntSet, boolean) - Constructor for class ps6.tigerdb.DirectedStreetNumberRange
 
DirectedStreetNumberRange() - Constructor for class ps6.tigerdb.DirectedStreetNumberRange
 
Directions - Interface in ps6
A Directions is a description of how to travel from one Address to another.
directions - Variable in class ps6.test.TestRecord
sequence of directions lines expected from getDirections, or null if we expect not to find any directions.
DirectionsFinder - Class in ps6
A DirectionsFinder produces directions for traveling from one address to another in a particular geographical area.
distanceTo(GeoPoint) - Method in class ps2.GeoPoint
Computes the distance between GeoPoints.
div(RatNum) - Method in class ps1.RatNum
Division operation.
div(RatPoly) - Method in class ps1.RatPoly
Division operation (truncating).
div() - Method in class ps1.RatPolyStack
Divides the next from top poly by the top poly, pops both off the stack, and places the result on top of the stack.
div(RatTerm) - Method in class ps1.RatTerm
Division operation.
doubleValue() - Method in class ps1.RatNum
Approximates the value of this rational.
drawPlot(float, float, float, float, float[], float[], float, float, int, int, int, Graphics) - Method in class ps1.PolyGraph
 
DrivingRouteFormatter - Class in ps2
The DrivingRouteFormatter class creates a textual description of directions for traversing a route that are suitable for a driver of a vehicle.
DrivingRouteFormatter() - Constructor for class ps2.DrivingRouteFormatter
 
DrivingRouteFormatterTest - Class in ps2.test
Unit tests for the DrivingRouteFormatter class.
DrivingRouteFormatterTest() - Constructor for class ps2.test.DrivingRouteFormatterTest
 
dup() - Method in class ps1.RatPolyStack
Duplicates the top RatPoly on this.

E

end() - Method in interface ps3.graph.Path
 
end() - Method in class ps3.graph.WeightedNodePath
Return the end of this path
end - Variable in class ps6.test.TestRecord
destination of the query
END_PROMPT - Static variable in class ps6.test.PublicTextUITest
 
equals(Object) - Method in class ps0.optional.Card
Returns true if this card is equal to the other card.
equals(Object) - Method in class ps1.RatNum
Standard equality operation.
equals(Object) - Method in class ps1.RatPoly
Standard equality operation.
equals(Object) - Method in class ps1.RatTerm
Standard equality operation.
equals(Object) - Method in class ps2.GeoFeature
Compares the argument with this GeoFeature for equality.
equals(Object) - Method in class ps2.GeoPoint
Compares the specified Object with this GeoPoint for equality.
equals(Object) - Method in class ps2.GeoSegment
Compares the specified Object with with this GeoSegment for equality.
equals(Object) - Method in class ps2.Route
Compares the specified Object with this Route for equality.
equals(Object) - Method in class ps3.graph.WeightedNode
 
equals(Object) - Method in class ps3.graph.WeightedNodePath
 
equals(WeightedNodePath) - Method in class ps3.graph.WeightedNodePath
 
equals(Object) - Method in class ps6.Address
 
equals(Address) - Method in class ps6.Address
 
equals(Object) - Method in class ps6.tigerdb.Feature
 
errorMessage - Variable in class ps6.test.TestRecord
The error message.
eval(double) - Method in class ps1.RatPoly
Returns the value of this RatPoly, evaluated at d.
eval(double) - Method in class ps1.RatTerm
Returns the value of this RatTerm, evaluated at d.
expandNode(N) - Method in interface ps3.graph.PathFinderSpecializer
Returns an iterable collection of children nodes of a node.
extend(N) - Method in interface ps3.graph.Path
Creates an extended path by adding a new node to its end.
extend(WeightedNode) - Method in class ps3.graph.WeightedNodePath
 

F

Feature - Class in ps6.tigerdb
Feature.java Created: Wed Aug 16 01:21:22 2000
Feature(String, String, String, String) - Constructor for class ps6.tigerdb.Feature
 
Feature(String) - Constructor for class ps6.tigerdb.Feature
 
Fibonacci - Class in ps0
Fibonacci calculates the nth term in the Fibonacci sequence.
Fibonacci() - Constructor for class ps0.Fibonacci
 
FibonacciTest - Class in ps0.test
FibonacciTest is a glassbox test of the Fibonacci class.
FibonacciTest() - Constructor for class ps0.test.FibonacciTest
 
fileContents(File) - Method in class ps3.test.ScriptFileTests
 
fileContents(File) - Method in class ps4.test.ScriptFileTests
 
fileWithSuffix(String) - Method in class ps3.test.ScriptFileTests
 
fileWithSuffix(String) - Method in class ps4.test.ScriptFileTests
 
FilterTest - Class in ps6.test
 
FilterTest(String, Class, InputStream, Reader) - Constructor for class ps6.test.FilterTest
 
FinancialCalc - Class in ps0.optional
 
FinancialCalc() - Constructor for class ps0.optional.FinancialCalc
 
findPath(PathFinderSpecializer<E>, Collection<Path<E>>, Collection<E>) - Static method in class ps3.graph.PathFinder
Returns a path between any node on the ends of paths in the starting set to any node in the set of goal nodes in a graph, using the provided PathFinderSpecializer
floatValue() - Method in class ps1.RatNum
Returns a float approximation for this.
fractionDist(int) - Method in class ps4.StreetSegment
This method assumes that the locations corresponding to street numbers on this street are spaced evenly apart (regardless of the arithmetic difference between two consecutive street numbers).
fromDir(File) - Static method in class ps6.KillfileReader
 
fromFile(File) - Static method in class ps6.KillfileReader
 
fullName() - Method in class ps6.tigerdb.Feature
 

G

geoChains() - Method in class ps6.tigerdb.DatabaseReader
 
geoChains(File) - Method in class ps6.tigerdb.DatabaseReader
 
geoChains(String) - Method in class ps6.tigerdb.DatabaseReader
 
GeoFeature - Class in ps2
A GeoFeature represents a path from one location to another along a single geographic feature.
GeoFeature(GeoSegment) - Constructor for class ps2.GeoFeature
Constructs a new GeoFeature.
GeoFeatureTest - Class in ps2.test
Unit tests for the GeoFeature class
GeoFeatureTest(String) - Constructor for class ps2.test.GeoFeatureTest
 
GeoPoint - Class in ps2
A GeoPoint models a point on the earth.
GeoPoint(int, int) - Constructor for class ps2.GeoPoint
 
GeoPointTest - Class in ps2.test
Unit tests for the GeoPoint class.
GeoPointTest(String) - Constructor for class ps2.test.GeoPointTest
 
GeoSegment - Class in ps2
A GeoSegment models a straight line segment on the earth.
GeoSegment(String, GeoPoint, GeoPoint) - Constructor for class ps2.GeoSegment
 
GeoSegmentTest - Class in ps2.test
Unit tests for the GeoSegment class.
GeoSegmentTest(String) - Constructor for class ps2.test.GeoSegmentTest
 
getBallsFromSmallest() - Method in class ps0.Box
This method returns an iterator that returns all the balls in this box in ascending size, i.e., return the smallest Ball first, followed by Balls of increasing size.
getCfc() - Method in class ps6.tigerdb.TigerRT1
 
getCoeff() - Method in class ps1.RatTerm
Gets the coefficient of this RatTerm.
getDirections(Address, Address, RouteFormatter) - Method in class ps6.DirectionsFinder
Gets directions from start to end.
getDirectionsFinder(String, Collection<String>) - Static method in class ps6.DirectionsFinder
Produces a DirectionsFinder for a given database.
getDirectionType() - Method in class ps6.test.TestRecord
 
getEnd() - Method in class ps2.GeoFeature
 
getEnd() - Method in class ps2.Route
 
getEnd() - Method in interface ps6.Directions
 
getEnd() - Method in class ps6.tigerdb.TigerRT1
 
getEndHeading() - Method in class ps2.GeoFeature
 
getEndHeading() - Method in class ps2.Route
 
getEndingGeoSegment() - Method in class ps2.Route
 
getExpt() - Method in class ps1.RatTerm
Gets the exponent of this RatTerm.
getFeature() - Method in class ps6.tigerdb.TigerRT1
 
getFibTerm(int) - Method in class ps0.Fibonacci
Calculates the desired term in the Fibonacci sequence.
getGeoFeatures() - Method in class ps2.Route
Returns a List of GeoFeature objects.
getGeoSegments() - Method in class ps2.GeoFeature
Returns a List of GeoSegment objects.
getGeoSegments() - Method in class ps2.Route
Returns a List of GeoSegment objects.
getGreeting() - Method in class ps0.HelloWorld
 
getHeading() - Method in class ps2.GeoSegment
 
getLatitude() - Method in class ps2.GeoPoint
the latitude of the GeoPoint object, in millionths of degrees.
getLeftAddresses() - Method in class ps6.tigerdb.DatabaseReader.GeoChain
Get the set of addresses on the left
getLeftRange() - Method in class ps6.tigerdb.TigerRT1
 
getLeftRange() - Method in class ps6.tigerdb.TigerRT6
 
getLeftZip() - Method in class ps6.tigerdb.TigerRT1
 
getLength() - Method in class ps2.GeoFeature
 
getLength() - Method in class ps2.GeoSegment
 
getLength() - Method in class ps2.Route
 
getLength() - Method in interface ps6.Directions
 
getLetterOnCard() - Method in enum ps0.optional.CardValue
Returns the symbol representing this card value.
getLongitude() - Method in class ps2.GeoPoint
the longitude of the GeoPoint object, in millionths of degrees.
getName() - Method in class antichess.MachinePlayer
 
getName() - Method in enum ps0.optional.CardValue
Returns the name of this value.
getName() - Method in class ps2.GeoFeature
 
getName() - Method in class ps2.GeoSegment
 
getName() - Method in class ps6.Address
 
getName() - Method in class ps6.tigerdb.Feature
 
getNthFromTop(int) - Method in class ps1.RatPolyStack
Returns the RatPoly that is 'index' elements from the top of the stack.
getNum() - Method in class ps6.Address
 
getP1() - Method in class ps2.GeoSegment
 
getP2() - Method in class ps2.GeoSegment
 
getPrefixDir() - Method in class ps6.tigerdb.Feature
 
getRightAddresses() - Method in class ps6.tigerdb.DatabaseReader.GeoChain
Get the set of addresses on the right
getRightRange() - Method in class ps6.tigerdb.TigerRT1
 
getRightRange() - Method in class ps6.tigerdb.TigerRT6
 
getRightZip() - Method in class ps6.tigerdb.TigerRT1
 
getRT1() - Method in class ps6.tigerdb.DatabaseReader.GeoChain
 
getRT6s() - Method in class ps6.tigerdb.DatabaseReader.GeoChain
 
getSet() - Method in class ps6.tigerdb.DirectedStreetNumberRange
 
getStart() - Method in class ps2.GeoFeature
 
getStart() - Method in class ps2.Route
 
getStart() - Method in interface ps6.Directions
 
getStart() - Method in class ps6.tigerdb.TigerRT1
 
getStartHeading() - Method in class ps2.GeoFeature
 
getStartHeading() - Method in class ps2.Route
 
getSuffixDir() - Method in class ps6.tigerdb.Feature
 
getSuit() - Method in class ps0.optional.Card
 
getTerm(int) - Method in class ps1.RatPoly
Gets the RatTerm associated with degree 'deg'
getTLID() - Method in class ps6.tigerdb.TigerRwTLID
 
getTurnString(double, double) - Method in class ps2.RouteFormatter
Computes directions to turn based on the heading change.
getType() - Method in class ps6.tigerdb.Feature
 
getValue() - Method in class ps0.optional.Card
 
getVolume() - Method in class ps0.Ball
Returns the volume of the Ball.
getVolume() - Method in class ps0.BallContainer
Each Ball has a volume.
getVolume() - Method in class ps0.Box
Each Ball has a volume.
getZipcode() - Method in class ps6.Address
 

H

hasAddress(int) - Method in class ps6.tigerdb.TigerRT1
 
hashCode() - Method in class ps0.optional.Card
Returns a hashcode for this object.
hashCode() - Method in class ps1.RatNum
Standard hashCode function.
hashCode() - Method in class ps1.RatPoly
Standard hashCode function.
hashCode() - Method in class ps1.RatTerm
Standard hashCode function.
hashCode() - Method in class ps2.GeoFeature
 
hashCode() - Method in class ps2.GeoPoint
 
hashCode() - Method in class ps2.GeoSegment
 
hashCode() - Method in class ps2.Route
 
hashCode() - Method in class ps3.graph.WeightedNode
 
hashCode() - Method in class ps3.graph.WeightedNodePath
 
hashCode() - Method in class ps6.Address
 
hashCode() - Method in class ps6.tigerdb.Feature
 
hasNext() - Method in class ps6.StreetSegIterator
 
headingTo(GeoPoint) - Method in class ps2.GeoPoint
Computes the compass heading between GeoPoints.
HelloWorld - Class in ps0
HelloWorld is an implementation of the token introductory "Hello World" program.
HelloWorld() - Constructor for class ps0.HelloWorld
 
HolaWorldTest - Class in ps0.test
HolaWorldTest is a simple test of the HolaWorld class that you are to fix.
HolaWorldTest() - Constructor for class ps0.test.HolaWorldTest
 

I

ImmIterator<E> - Class in ps6.tigerdb
ImmIterator.java Created: Thu Aug 17 17:12:54 2000
ImmIterator() - Constructor for class ps6.tigerdb.ImmIterator
 
ImplementationTests - Class in ps0.test
ImplementationTest is a simple test suite to test the implementation of each problem set.
ImplementationTests() - Constructor for class ps0.test.ImplementationTests
 
ImplementationTests(String) - Constructor for class ps0.test.ImplementationTests
 
ImplementationTests - Class in ps1.test
ImplementationTest is a simple test suite to test the implementation of each problem set.
ImplementationTests() - Constructor for class ps1.test.ImplementationTests
 
ImplementationTests(String) - Constructor for class ps1.test.ImplementationTests
 
ImplementationTests - Class in ps2.test
ImplementationTest is a simple test suite to test the implementation of each problem set.
ImplementationTests() - Constructor for class ps2.test.ImplementationTests
 
ImplementationTests(String) - Constructor for class ps2.test.ImplementationTests
 
ImplementationTests - Class in ps3.test
ImplementationTest is a test suite used to encapsulate all tests specific to your implementation of this problem set.
ImplementationTests() - Constructor for class ps3.test.ImplementationTests
 
ImplementationTests(String) - Constructor for class ps3.test.ImplementationTests
 
ImplementationTests - Class in ps4.test
ImplementationTest is a test suite used to encapsulate all tests specific to your implementation of this problem set.
ImplementationTests() - Constructor for class ps4.test.ImplementationTests
 
ImplementationTests(String) - Constructor for class ps4.test.ImplementationTests
 
ImplementationTests - Class in ps6.test
 
ImplementationTests() - Constructor for class ps6.test.ImplementationTests
 
ImplementationTests(String) - Constructor for class ps6.test.ImplementationTests
 
INFO - Static variable in class ps6.tigerdb.DatabaseReader
 
INPUT_PROMPTS - Static variable in class ps6.test.PublicTextUITest
 
integrate(double, double) - Method in class ps1.RatPoly
Returns the integral of this RatPoly, integrated from lowerBound to upperBound.
integrate() - Method in class ps1.RatPolyStack
Pops the top element off of the stack, integrates it, and places the result on top of the stack.
interactiveLoop(BufferedReader, PrintStream) - Method in class ps6.TextUI
Spec to be written by student.
intern() - Method in class ps6.tigerdb.Feature
 
intValue() - Method in class ps1.RatNum
 
InvalidAddressException - Exception in ps6
Checked exception to indicate that an Address has an invalid number, street, or zipcode.
InvalidAddressException() - Constructor for exception ps6.InvalidAddressException
 
InvalidAddressException(String) - Constructor for exception ps6.InvalidAddressException
 
InvalidDatabaseException - Exception in ps6
Checked exception to indicate that there was an error in loading the Tiger database.
InvalidDatabaseException() - Constructor for exception ps6.InvalidDatabaseException
 
InvalidDatabaseException(String) - Constructor for exception ps6.InvalidDatabaseException
 
InvalidDatabaseException(String, Throwable) - Constructor for exception ps6.InvalidDatabaseException
 
isNaN() - Method in class ps1.RatNum
Returns true if this is NaN
isNaN() - Method in class ps1.RatPoly
Returns true if this RatPoly is not-a-number.
isNaN() - Method in class ps1.RatTerm
Returns true if this RatTerm is not-a-number.
isNegative() - Method in class ps1.RatNum
Returns true if this is negative.
isPositive() - Method in class ps1.RatNum
Returns true if this is positive.
isZero() - Method in class ps1.RatTerm
Returns true if this RatTerm is equal to 0.
iterator() - Method in class ps0.BallContainer
Implements the Iterable interface for this container.
iterator() - Method in class ps0.Box
Implements the Iterable interface for this box.
iterator() - Method in class ps1.RatPolyStack
Returns an iterator of the elements contained in the stack.
iterator() - Method in interface ps3.graph.Path
 
iterator() - Method in class ps3.graph.WeightedNodePath
 
iterator() - Method in interface ps6.Directions
 
iterator() - Method in class ps6.StreetSegReader
Returns an Iterator over this.streetSegs.

K

KillfileReader - Class in ps6
Abstraction to read and return filters based on killfiles
KillfileReader() - Constructor for class ps6.KillfileReader
 
KillfileReader.KillfileException - Exception in ps6
Indicates that a killfile was non-existant, malformed, etc.
KillfileReader.KillfileException(String) - Constructor for exception ps6.KillfileReader.KillfileException
 

L

length - Variable in class ps6.test.TestRecord
expected result of getLength(), or NaN if we expect not to find and directions
longValue() - Method in class ps1.RatNum
Returns a long approximation for this.

M

MachinePlayer - Class in antichess
A MachinePlayer is a player of Antichess that uses artificial intelligence to decide on its moves.
MachinePlayer(boolean, int) - Constructor for class antichess.MachinePlayer
 
MachinePlayer(boolean, int, String) - Constructor for class antichess.MachinePlayer
 
main(String[]) - Static method in class antichess.TextUI
main is an interactive loop between a human and a computer.
main(String[]) - Static method in class ps0.HelloWorld
 
main(String[]) - Static method in class ps0.optional.FinancialCalc
 
main(String[]) - Static method in class ps0.optional.MyHand
 
main(String[]) - Static method in class ps0.optional.Primes
 
main(String[]) - Static method in class ps0.optional.StringScrambler
 
main(String[]) - Static method in class ps1.CalculatorFrame
Main method
main(String[]) - Static method in class ps3.test.PS3TestDriver
 
main(String[]) - Static method in class ps4.test.PS4TestDriver
 
main(String[]) - Static method in class ps6.TextUI
 
main(String[]) - Static method in class ps6.tigerdb.DatabaseReader
 
mainParams() - Method in class ps6.test.FilterTest
 
makeGP(int, int) - Static method in class ps6.tigerdb.TigerRecord
 
makeMove(String, int, int) - Method in class antichess.MachinePlayer
 
MAX_LATITUDE - Static variable in class ps2.GeoPoint
Maximum value the latitude field can have in this class.
MAX_LONGITUDE - Static variable in class ps2.GeoPoint
Maximum value the longitude field can have in this class.
MILES_PER_DEGREE_LATITUDE - Static variable in class ps2.GeoPoint
Approximation used to determine distances and headings using a "flat earth" simplification.
MILES_PER_DEGREE_LONGITUDE - Static variable in class ps2.GeoPoint
Approximation used to determine distances and headings using a "flat earth" simplification.
MIN_LATITUDE - Static variable in class ps2.GeoPoint
Minimum value the latitude field can have in this class.
MIN_LONGITUDE - Static variable in class ps2.GeoPoint
Minimum value the longitude field can have in this class.
mul(RatNum) - Method in class ps1.RatNum
Multiplication operation.
mul(RatPoly) - Method in class ps1.RatPoly
Multiplication operation.
mul() - Method in class ps1.RatPolyStack
Pops two elements off of the stack, multiplies them, and places the result on top of the stack.
mul(RatTerm) - Method in class ps1.RatTerm
Multiplication operation.
MyHand - Class in ps0.optional
 

N

name - Variable in class ps3.graph.WeightedNode
 
name() - Method in class ps3.graph.WeightedNode
 
NaN - Static variable in class ps1.RatNum
A constant holding a Not-a-Number (NaN) value of type RatNum
NaN - Static variable in class ps1.RatPoly
A constant holding a Not-a-Number (NaN) value of type RatPoly
NaN - Static variable in class ps1.RatTerm
A constant holding a Not-a-Number (NaN) value of type RatTerm
negate() - Method in class ps1.RatNum
Returns the additive inverse of this RatNum.
negate() - Method in class ps1.RatPoly
Return the additive inverse of this RatPoly.
negate() - Method in class ps1.RatTerm
Negation operation.
next() - Method in class ps6.StreetSegIterator
 
NonNumericDataException - Exception in ps6.tigerdb
NonNumericDataException.java Created: Wed Aug 16 05:05:12 2000
NonNumericDataException(String) - Constructor for exception ps6.tigerdb.NonNumericDataException
 
NoPathException - Exception in ps6
Checked exception to indicate that a path was not found.
NoPathException() - Constructor for exception ps6.NoPathException
 
NoPathException(String) - Constructor for exception ps6.NoPathException
 

O

orderStatistic(int) - Method in class ps4.StreetNumberSet
 
originalData() - Method in exception ps6.tigerdb.BadRecordException
 

P

paint(Graphics) - Method in class ps1.PolyGraph
 
parse(String) - Static method in enum ps4.StreetClassification
 
parseAddrRange(String, String) - Method in class ps6.tigerdb.TigerRecord
 
Path<N> - Interface in ps3.graph
A Path models a sequence of nodes and the cost for travelling along such a sequence.
PathFinder<E> - Class in ps3.graph
PathFinder class provides facilities for finding paths between sets of nodes in a graph.
PathFinder() - Constructor for class ps3.graph.PathFinder
 
PathFinderSpecializer<N> - Interface in ps3.graph
PathFinderSpecializer encapsulates a specific pathfinding behavior.
PolyGraph - Class in ps1
PolyGraph is part of the graphical calculator that utilizes all of the other classes in package ps1.
PolyGraph(CalculatorFrame) - Constructor for class ps1.PolyGraph
 
pop() - Method in class ps1.RatPolyStack
Removes and returns the top RatPoly.
primaryName() - Method in class ps6.tigerdb.TigerRT1
Returns the primary name of this, or "" if this does not have a primary name.
Primes - Class in ps0.optional
 
Primes() - Constructor for class ps0.optional.Primes
 
printHand(Collection<Card>) - Method in class ps0.optional.MyHand
Print the contents of a hand of cards to the screen.
printHand_OnlyHearts(Collection<Card>) - Method in class ps0.optional.MyHand
Print only the cards in hand that are hearts
printHand_RemoveFaceCards(Collection<Card>) - Method in class ps0.optional.MyHand
Print only the cards in hand that are number cards AND remove face cards from hand
ps0 - package ps0
 
ps0.optional - package ps0.optional
 
ps0.test - package ps0.test
 
ps1 - package ps1
 
ps1.test - package ps1.test
 
ps2 - package ps2
 
ps2.test - package ps2.test
 
ps3.graph - package ps3.graph
 
ps3.test - package ps3.test
 
PS3TestDriver - Class in ps3.test
This class implements a testing driver which reads test scripts from files for testing Graph and PathFinder.
PS3TestDriver(Reader, Writer) - Constructor for class ps3.test.PS3TestDriver
 
ps4 - package ps4
 
ps4.test - package ps4.test
 
PS4TestDriver - Class in ps4.test
This class implements a testing driver which reads test scripts from files for testing Graph and PathFinder.
PS4TestDriver(Reader, Writer) - Constructor for class ps4.test.PS4TestDriver
 
ps6 - package ps6
 
ps6.test - package ps6.test
 
ps6.tigerdb - package ps6.tigerdb
 
PS6TestCase - Class in ps6.test
 
PS6TestCase(TestRecord, PS6TestCase.Mode) - Constructor for class ps6.test.PS6TestCase
 
PS6TestCase.Mode - Enum in ps6.test
 
PublicProgADTTest - Class in ps6.test
 
PublicProgADTTest() - Constructor for class ps6.test.PublicProgADTTest
 
PublicProgADTTest(String) - Constructor for class ps6.test.PublicProgADTTest
 
PublicTextUITest - Class in ps6.test
 
PublicTextUITest() - Constructor for class ps6.test.PublicTextUITest
 
PublicTextUITest(String) - Constructor for class ps6.test.PublicTextUITest
 
push(RatPoly) - Method in class ps1.RatPolyStack
Pushes a RatPoly onto the top of this.

R

RandomHelloTest - Class in ps0.test
RandomHelloTest is a simple test of the RandomHello class that is to be written by the students.
RandomHelloTest() - Constructor for class ps0.test.RandomHelloTest
 
rangeAsString() - Method in class ps6.tigerdb.DirectedStreetNumberRange
 
RatNum - Class in ps1
RatNum represents an immutable rational number.
RatNum(int) - Constructor for class ps1.RatNum
 
RatNum(int, int) - Constructor for class ps1.RatNum
 
RatNumSmallTest - Class in ps1.test
This class contains a small set of test cases that can be used to test the implementation of the RatNum class.
RatNumSmallTest(String) - Constructor for class ps1.test.RatNumSmallTest
This constructor is provided for junit's use.
RatNumTest - Class in ps1.test
This class contains a set of test cases that can be used to test the implementation of the RatNum class.
RatNumTest(String) - Constructor for class ps1.test.RatNumTest
This constructor is provided for junit's use.
RatPoly - Class in ps1
RatPoly represents an immutable single-variate polynomial expression.
RatPoly() - Constructor for class ps1.RatPoly
 
RatPoly(RatTerm) - Constructor for class ps1.RatPoly
 
RatPoly(int, int) - Constructor for class ps1.RatPoly
 
RatPolyStack - Class in ps1
RatPolyStack is a mutable finite sequence of RatPoly objects.
RatPolyStack() - Constructor for class ps1.RatPolyStack
 
RatPolyStackTest - Class in ps1.test
This class contains a set of test cases that can be used to test the implementation of the RatPolyStack class.
RatPolyStackTest(String) - Constructor for class ps1.test.RatPolyStackTest
 
RatPolyTest - Class in ps1.test
This class contains a set of test cases that can be used to test the implementation of the RatPoly class.
RatPolyTest(String) - Constructor for class ps1.test.RatPolyTest
 
RatTerm - Class in ps1
RatTerm is an immutable representation of a term in a single-variable polynomial expression.
RatTerm(RatNum, int) - Constructor for class ps1.RatTerm
 
RatTermTest - Class in ps1.test
This class contains a set of test cases that can be used to test the implementation of the RatPoly class.
RatTermTest(String) - Constructor for class ps1.test.RatTermTest
 
readRecords(InputStream) - Method in class ps6.tigerdb.DatabaseReader
 
readZipFile(File) - Method in class ps6.tigerdb.DatabaseReader
 
readZipFile(String) - Method in class ps6.tigerdb.DatabaseReader
 
reason() - Method in exception ps6.tigerdb.BadRecordException
 
remove(Ball) - Method in class ps0.BallContainer
Removes a ball from the container.
remove(Ball) - Method in class ps0.Box
Removes a ball from the box.
remove() - Method in class ps6.tigerdb.ImmIterator
 
reverse() - Method in class ps2.GeoSegment
Returns a new GeoSegment like this one, but with its endpoints reversed.
reverseWordOrder(String) - Method in class ps0.optional.StringScrambler
 
Route - Class in ps2
A Route is a path that traverses arbitrary GeoSegments, regardless of their names.
Route(GeoSegment) - Constructor for class ps2.Route
 
RouteFormatter - Class in ps2
A RouteFormatter class knows how to create a textual description of directions from one location to another.
RouteFormatter() - Constructor for class ps2.RouteFormatter
 
RouteTest - Class in ps2.test
Unit tests for the Route class
RouteTest(String) - Constructor for class ps2.test.RouteTest
 
runScriptFile() - Method in class ps3.test.ScriptFileTests
 
runScriptFile() - Method in class ps4.test.ScriptFileTests
 
runTest() - Method in class ps6.test.FilterTest
Runs the main() method in this.mainClass, piping this.testInput into its standard input.
runTest() - Method in class ps6.test.TextUITest
Runs the main() method in this.mainClass, piping this.testInput into its standard input.
runTests() - Method in class ps3.test.PS3TestDriver
 
runTests() - Method in class ps4.test.PS4TestDriver
 

S

sameDir(DirectedStreetNumberRange) - Method in class ps6.tigerdb.DirectedStreetNumberRange
 
ScriptFileTests - Class in ps3.test
This class, along with a complete PS3TestDriver implementation, can be used to test the your implementations of Graph and the path finding algorithm using the script file format described in the problem set.
ScriptFileTests(File) - Constructor for class ps3.test.ScriptFileTests
Creates a new ScriptFileTests case, which runs the given test file.
ScriptFileTests - Class in ps4.test
This class, along with a complete PS3TestDriver implementation, can be used to test the your implementations of Graph and the path finding algorithm using the script file format described in the problem set.
ScriptFileTests(File) - Constructor for class ps4.test.ScriptFileTests
Creates a new ScriptFileTests case, which runs the given test file.
serialVersionUID - Static variable in exception ps6.InvalidAddressException
 
serialVersionUID - Static variable in exception ps6.InvalidDatabaseException
 
serialVersionUID - Static variable in exception ps6.KillfileReader.KillfileException
 
serialVersionUID - Static variable in exception ps6.NoPathException
 
serialVersionUID - Static variable in exception ps6.StreetSegReader.InvalidSourceException
 
serialVersionUID - Static variable in exception ps6.tigerdb.BadRecordException
 
serialVersionUID - Static variable in class ps6.tigerdb.Feature
 
serialVersionUID - Static variable in exception ps6.tigerdb.NonNumericDataException
 
serialVersionUID - Static variable in class ps6.tigerdb.TigerRecord.NoInt
 
serialVersionUID - Static variable in class ps6.tigerdb.TigerRecord
 
serialVersionUID - Static variable in class ps6.tigerdb.TigerRT1
 
serialVersionUID - Static variable in class ps6.tigerdb.TigerRT6
 
serialVersionUID - Static variable in class ps6.tigerdb.TigerRwTLID
 
setUp() - Method in class ps0.test.BallContainerTest
 
setUp() - Method in class ps0.test.BallTest
 
setUp() - Method in class ps0.test.BoxTest
 
setUp() - Method in class ps0.test.FibonacciTest
 
setUp() - Method in class ps2.test.DrivingRouteFormatterTest
 
setUp() - Method in class ps2.test.GeoFeatureTest
 
setUp() - Method in class ps2.test.GeoPointTest
JUnit calls this before each testXXX method is run
setUp() - Method in class ps2.test.GeoSegmentTest
 
setUp() - Method in class ps2.test.RouteTest
 
setUp() - Method in class ps2.test.WalkingRouteFormatterTest
 
sidesDisjoint() - Method in class ps6.tigerdb.DatabaseReader.GeoChain
 
size() - Method in class ps0.BallContainer
Returns the number of Balls in this container.
size() - Method in class ps0.Box
Returns the number of Balls in this box.
size() - Method in class ps1.RatPolyStack
Returns the number of RayPolys in this RatPolyStack.
size() - Method in class ps6.tigerdb.DirectedStreetNumberRange
 
sortLargesttoSmallest() - Method in class ps0.optional.MyHand
Sorts the cards so that any subsequent calls to printHand will print the Hand from the largest to the smallest.
sortSmallestToLargest() - Method in class ps0.optional.MyHand
Sorts the cards so that any subsequent calls to printHand will print the Hand from the smallest to the largest.
SpecificationTests - Class in ps0.test
SpecificationTests is a simple test suite to test your problem set against the provided specifications.
SpecificationTests() - Constructor for class ps0.test.SpecificationTests
 
SpecificationTests(String) - Constructor for class ps0.test.SpecificationTests
 
SpecificationTests - Class in ps1.test
SpecificationTests is a simple TestSuite that includes and runs all the tests in RatNumTest, RatPolyTest, and RatPolyStackTest.
SpecificationTests() - Constructor for class ps1.test.SpecificationTests
 
SpecificationTests(String) - Constructor for class ps1.test.SpecificationTests
 
SpecificationTests - Class in ps2.test
SpecificationTests is a simple TestSuite that includes and runs all the tests in GeoPointTest, GeoSegmentTest, GeoFeatureTest, RouteTest, WalkingRouteFormatterTest, and DrivingRouteFormatterTest.
SpecificationTests() - Constructor for class ps2.test.SpecificationTests
 
SpecificationTests(String) - Constructor for class ps2.test.SpecificationTests
 
SpecificationTests - Class in ps3.test
 
SpecificationTests() - Constructor for class ps3.test.SpecificationTests
 
SpecificationTests(String) - Constructor for class ps3.test.SpecificationTests
 
SpecificationTests - Class in ps4.test
 
SpecificationTests() - Constructor for class ps4.test.SpecificationTests
 
SpecificationTests(String) - Constructor for class ps4.test.SpecificationTests
 
SpecificationTests - Class in ps6.test
 
SpecificationTests() - Constructor for class ps6.test.SpecificationTests
 
SpecificationTests(String) - Constructor for class ps6.test.SpecificationTests
 
start - Variable in class ps6.test.TestRecord
start of the query
start() - Method in class ps6.TimeProfiler
Starts the timer
stats() - Method in class ps6.TimeProfiler
returns a formatted String with stats on slowest start-stop time, fastest start-stop time, average time, total records, and aggregate time
stop() - Method in class ps6.TimeProfiler
Stops the timer and records the data.
StreetClassification - Enum in ps4
A StreetClassification describes a street category.
StreetNumberSet - Class in ps4
Class overview to be written by student.
StreetNumberSet(String) - Constructor for class ps4.StreetNumberSet
Creates a StreetNumberSet containing the numbers indicated in the argument.
StreetSegIterator - Class in ps6
Functions as an iterator over the set of StreetSegments represented by the contents of the .zip files in a directory.
StreetSegIterator(Iterator, StreetSegmentFilter) - Constructor for class ps6.StreetSegIterator
 
StreetSegment - Class in ps4
Class overview to be written by student.
StreetSegment(GeoPoint, GeoPoint, String, StreetNumberSet, StreetNumberSet, String, String, StreetClassification, boolean) - Constructor for class ps4.StreetSegment
Creates a new StreetSegment from the given arguments.
StreetSegmentFilter - Interface in ps6
 
streetSegments(boolean) - Method in class ps6.StreetSegReader
Returns an Iterator over this.streetSegs.
streetSegmentsInternal() - Method in class ps6.StreetSegReader
 
StreetSegReader - Class in ps6
A StreetSegReader reads StreetSegments from a set of Tiger Databases.
StreetSegReader(String) - Constructor for class ps6.StreetSegReader
 
StreetSegReader.InvalidSourceException - Exception in ps6
Exception indicating that the requsted source for a tiger database is invalid
StreetSegReader.InvalidSourceException(String) - Constructor for exception ps6.StreetSegReader.InvalidSourceException
 
StringScrambler - Class in ps0.optional
 
StringScrambler() - Constructor for class ps0.optional.StringScrambler
 
sub(RatNum) - Method in class ps1.RatNum
Subtraction operation.
sub(RatPoly) - Method in class ps1.RatPoly
Subtraction operation.
sub() - Method in class ps1.RatPolyStack
Subtracts the top poly from the next from top poly, pops both off the stack, and places the result on top of the stack.
sub(RatTerm) - Method in class ps1.RatTerm
Subtraction operation.
subDifferentExpts(RatTerm, RatTerm) - Method in class ps1.test.RatTermTest
 
suite() - Static method in class ps0.test.ImplementationTests
 
suite() - Static method in class ps0.test.SpecificationTests
 
suite() - Static method in class ps1.test.ImplementationTests
 
suite() - Static method in class ps1.test.RatPolyStackTest
 
suite() - Static method in class ps1.test.RatPolyTest
 
suite() - Static method in class ps1.test.SpecificationTests
 
suite() - Static method in class ps2.test.ImplementationTests
 
suite() - Static method in class ps2.test.SpecificationTests
 
suite() - Static method in class ps3.test.ImplementationTests
 
suite() - Static method in class ps3.test.ScriptFileTests
Build a test suite of all of the script files in the directory.
suite() - Static method in class ps3.test.SpecificationTests
 
suite() - Static method in class ps4.test.ImplementationTests
 
suite() - Static method in class ps4.test.ScriptFileTests
Build a test suite of all of the script files in the directory.
suite() - Static method in class ps4.test.SpecificationTests
 
suite() - Static method in class ps6.test.ImplementationTests
 
suite() - Static method in class ps6.test.SpecificationTests
 
swap() - Method in class ps1.RatPolyStack
Swaps the top two elements of this.

T

test111SomersetTo48EelPoint - Static variable in class ps6.test.ValidateQueries
 
test32WauwinetTo64WauwinetDriving - Static variable in class ps6.test.ValidateQueries
 
test32WauwinetTo64WauwinetWalking - Static variable in class ps6.test.ValidateQueries
 
test44MillbrookTo200Madaket - Static variable in class ps6.test.ValidateQueries
 
test52WauwinetTo64Wauwinet - Static variable in class ps6.test.ValidateQueries
 
testAdd() - Method in class ps0.test.BallContainerTest
Test to check that BallContainer.add(Ball) is implemented correctly
testAdd() - Method in class ps0.test.BoxTest
Test to check that Box.add(Ball) is implemented correctly
testAdd() - Method in class ps1.test.RatPolyStackTest
 
testAdd() - Method in class ps1.test.RatPolyTest
 
testAdd() - Method in class ps1.test.RatTermTest
 
testAddComplex() - Method in class ps1.test.RatNumSmallTest
 
testAddComplex() - Method in class ps1.test.RatNumTest
 
testAddImproper() - Method in class ps1.test.RatNumSmallTest
 
testAddImproper() - Method in class ps1.test.RatNumTest
 
testAddOnNaN() - Method in class ps1.test.RatNumSmallTest
 
testAddOnNaN() - Method in class ps1.test.RatNumTest
 
testAddSimple() - Method in class ps1.test.RatNumSmallTest
 
testAddSimple() - Method in class ps1.test.RatNumTest
 
testAddTransitively() - Method in class ps1.test.RatNumSmallTest
 
testAddTransitively() - Method in class ps1.test.RatNumTest
 
testAntiDifferentiate() - Method in class ps1.test.RatPolyTest
 
testAntiDifferentiate() - Method in class ps1.test.RatTermTest
 
testApprox() - Method in class ps1.test.RatNumSmallTest
 
testBadDirType - Static variable in class ps6.test.ValidateQueries
 
testBadNum - Static variable in class ps6.test.ValidateQueries
 
testBadStreet - Static variable in class ps6.test.ValidateQueries
 
testBadZip - Static variable in class ps6.test.ValidateQueries
 
testBaseCase() - Method in class ps0.test.FibonacciTest
Tests to see that Fibonacci returns the correct value for the base cases, n=0 and n=1
testClear() - Method in class ps0.test.BallContainerTest
Test that BallContainer.clear() is implemented correctly.
testClear() - Method in class ps0.test.BoxTest
Test to check that Box.clear() is implemented correctly
testClear() - Method in class ps1.test.RatPolyStackTest
 
testCompareToFract() - Method in class ps1.test.RatNumSmallTest
 
testCompareToFract() - Method in class ps1.test.RatNumTest
 
testCompareToNaNs() - Method in class ps1.test.RatNumSmallTest
 
testCompareToNaNs() - Method in class ps1.test.RatNumTest
 
testCompareToNonFract() - Method in class ps1.test.RatNumSmallTest
 
testCompareToNonFract() - Method in class ps1.test.RatNumTest
 
testCompareToReflexive() - Method in class ps1.test.RatNumSmallTest
 
testCompareToReflexive() - Method in class ps1.test.RatNumTest
 
testContains() - Method in class ps0.test.BallContainerTest
Test that size() returns the correct number.
testContains() - Method in class ps0.test.BoxTest
Test to check that size() returns the correct number.
testCrash() - Method in class ps0.test.HolaWorldTest
Tests that HolaWorld does not crash
testCrash() - Method in class ps0.test.RandomHelloTest
Tests that RandomHello does not crash.
testCtor() - Method in class ps1.test.RatPolyStackTest