C D E F G I K L M N P R S T

C

close() - Method in class FileInput
closes open file uses instance variables file, fileName, and io catches IOException
compareTo(Object) - Method in class Player
Compares two Players based on their score If not passed a Player, 0 is returned

D

displayList() - Method in class PlayersDB
displays all the player information contained in the database

E

endOfLine() - Static method in class Keyboard
Check if there are no more tokens to read on the current input line.

F

FileInput - class FileInput.
 
FileInput(String) - Constructor for class FileInput
the prompt argument can be used to ask the user to specify a filename catches IOException

G

getData() - Method in class Node
returns reference to the data value of the object
getErrorCount() - Static method in class Keyboard
Get the number of errors
getFName() - Method in class Player
returns first name of the player
getLName() - Method in class Player
returns last name of the player
getNext() - Method in class Node
returns reference to the next Node
getPrintErrors() - Static method in class Keyboard
Returns a boolean indicating whether input errors are currently printed to standard output.
getRound1() - Method in class Player
returns first round score
getRound2() - Method in class Player
returns second round score
getTotal() - Method in class Player
returns total score

I

isEmpty() - Method in class LinkedList
does the list have any values?

K

Keyboard - class Keyboard.
 
Keyboard() - Constructor for class Keyboard
 

L

LinkedList - class LinkedList.
A singly-linked collection class of Nodes.
LinkedList() - Constructor for class LinkedList
default constructor, initializes to an empty list

M

main(String[]) - Static method in class TestPlayerDB
 

N

Node - class Node.
Node class An object that contains a reference to a Object object and a reference to another Node.
Node(Comparable, Node) - Constructor for class Node
constructor builds the Node with the supplied parameters

P

Player - class Player.
Class Player A class that models a player in a golf tournament.
Player() - Constructor for class Player
constructor builds the player with default values
Player(String, String, int, int) - Constructor for class Player
constructor builds the player with the supplied parameters
PlayersDB - class PlayersDB.
 
PlayersDB(FileInput) - Constructor for class PlayersDB
 
prepend(Comparable) - Method in class LinkedList
inserts the obj at the beginning of the list

R

readBoolean() - Static method in class Keyboard
Returns a boolean read from standard input.
readChar() - Static method in class Keyboard
Returns a character read from standard input.
readDouble() - Static method in class Keyboard
Returns a double read from standard input.
readFloat() - Static method in class Keyboard
Returns a float read from standard input.
readInt() - Static method in class Keyboard
Returns an integer read from standard input.
readLine() - Method in class FileInput
reads a line from file catches IOException
readLong() - Static method in class Keyboard
Returns a long integer read from standard input.
readString() - Static method in class Keyboard
Get a string from standard input.
readWord() - Static method in class Keyboard
Returns a space-delimited substring (a word) read from standard input.
resetErrorCount() - Static method in class Keyboard
Resets the current error count to zero.

S

setNext(Node) - Method in class Node
sets the next reference of this object to the paramter object
setPrintErrors(boolean) - Static method in class Keyboard
Sets a boolean indicating whether input errors are to be printed to standard output.

T

TestPlayerDB - class TestPlayerDB.
 
TestPlayerDB() - Constructor for class TestPlayerDB
 
toString() - Method in class LinkedList
Returns all the elements of this list as a String
toString() - Method in class Player
returns player information as a String

C D E F G I K L M N P R S T