Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
D
G
P
S
T
D
drive(int)
- Method in class
Taxi
A public method to drive around a specified number of miles.
dropOffPeople()
- Method in class
Taxi
A public method to drop off passengers that it might have, and sets the rate back to the zero rate
G
getCarNumber()
- Method in class
Taxi
An accessor for the car number
getCurrentRate()
- Method in class
Taxi
An accessor for the current rate
getDriverName()
- Method in class
Taxi
An accessor for the driver name
getTotalMoneyEarned()
- Method in class
Taxi
An accessor for the total money earned thus far
P
pickUpPeople(double)
- Method in class
Taxi
A public method to pick up passengers assigned at a specified rate, and sets the current rate to it
S
STANDARD_RATE
- Static variable in class
Taxi
The standard fare, in dollars per miles
startWorkDay(String)
- Method in class
Taxi
The public method that begins the Taxi's work day, given a specified driver.
stopWorkDay()
- Method in class
Taxi
The public method that ends the Taxi's work day, reseting the driver to the default value
STUDENT_RATE
- Static variable in class
Taxi
The discounted student fare, in dollars per miles
T
Taxi
- class
Taxi
.
Defines the class of Taxi objects, which can pick up passengers and drive around at certain rates accruing money.
Taxi(int)
- Constructor for class
Taxi
Constructs a Taxi objects with the specified car number.
toString()
- Method in class
Taxi
The overriden method inherited from the Object class.
D
G
P
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes