A D G I M N P S

A

actionPerformed(ActionEvent) - Method in class NumberGuesser
Method to handle the button push

D

DEFAULT_MAX - Static variable in class NumberPicker
The default maximum value
DEFAULT_MIN - Static variable in class NumberPicker
The default minimum value
DEFAULT_SEED - Static variable in class NumberPicker
The default seed is based on the current time

G

getMax() - Method in class NumberPicker
Method to get the maximum value that can be picked
getMin() - Method in class NumberPicker
Method to get the minimum value that can be picked

I

isCorrect(int) - Method in class NumberPicker
Check if the given guess is equal to the picked number

M

main(String[]) - Static method in class NumberGuesser
Main to test

N

NumberGuesser - class NumberGuesser.
Class that lets a user guess a number and tells them if they are right.
NumberGuesser() - Constructor for class NumberGuesser
Constructor that takes no arguments
NumberPicker - class NumberPicker.
This class is the number picker It picks a random number between the min, and max fields (inclusive) and will let you know if you guess the right number.
NumberPicker() - Constructor for class NumberPicker
Constructor that takes no arguments.
NumberPicker(int, int, long) - Constructor for class NumberPicker
Constructor that takes the min, max, and seed
NumberPicker(long) - Constructor for class NumberPicker
Constructor that takes a seed for the random number generator

P

pickANumber() - Method in class NumberPicker
Method to pick a random number between the min and max field values (inclusive)

S

setMax(int) - Method in class NumberPicker
Method to set the maximum value
setMin(int) - Method in class NumberPicker
Method to set the minimum value

A D G I M N P S