A C E F G H I L M N P R S T U

## A

addRow(Row) - Method in class packt.java9.by.example.mastermind.Table

## C

Color - Class in packt.java9.by.example.mastermind
  Represents a color in the MasterMind table.
Color() - Constructor for class packt.java9.by.example.mastermind.Color
ColorManager - Class in packt.java9.by.example.mastermind
ColorManager(int) - Constructor for class packt.java9.by.example.mastermind.ColorManager

## E

equals(Object) - Method in class packt.java9.by.example.samples.MyObject
equals(Object) - Method in class packt.java9.by.example.samples.MyObjectJava7

## F

firstColor() - Method in class packt.java9.by.example.mastermind.ColorManager

## G

Game - Class in packt.java9.by.example.mastermind
  A Game maintains a secret and a table and when there is a new guess it stores it setting the position and colors matched.
Game(Table, Color[]) - Constructor for class packt.java9.by.example.mastermind.Game
GeneralGuesser - Class in packt.java9.by.example.mastermind
GeneralGuesser(Table) - Constructor for class packt.java9.by.example.mastermind.GeneralGuesser
guess() - Method in class packt.java9.by.example.mastermind.Guesser
  Create a new Row object that contains a guess that matches all guesses and the responses to them that are on the table.
Guesser - Class in packt.java9.by.example.mastermind
Guesser(Table) - Constructor for class packt.java9.by.example.mastermind.Guesser
guessMatches(Color[]) - Method in class packt.java9.by.example.mastermind.Row

## H

hashCode() - Method in class packt.java9.by.example.samples.MyObject
hashCode() - Method in class packt.java9.by.example.samples.MyObjectJava7

## I

isFinished() - Method in class packt.java9.by.example.mastermind.Game

## L

lastGuess - Variable in class packt.java9.by.example.mastermind.Guesser

## M

matchedColors() - Method in class packt.java9.by.example.mastermind.PrintableRow
matchedColors - Variable in class packt.java9.by.example.mastermind.Row
matchedPositions() - Method in class packt.java9.by.example.mastermind.PrintableRow
matchedPositions - Variable in class packt.java9.by.example.mastermind.Row
MyObject - Class in packt.java9.by.example.samples
MyObject() - Constructor for class packt.java9.by.example.samples.MyObject
MyObjectJava7 - Class in packt.java9.by.example.samples
MyObjectJava7() - Constructor for class packt.java9.by.example.samples.MyObjectJava7

## N

newColor() - Method in class packt.java9.by.example.mastermind.ColorManager
newGuess(Row) - Method in class packt.java9.by.example.mastermind.Game
nextColor(Color) - Method in class packt.java9.by.example.mastermind.ColorManager
nextGuess() - Method in class packt.java9.by.example.mastermind.Guesser
  get the next guess, without checking any matching
nextGuess() - Method in class packt.java9.by.example.mastermind.UniqueGuesser
none - Static variable in class packt.java9.by.example.mastermind.Color
  A special object that represents a value that is not a valid color.
none - Static variable in class packt.java9.by.example.mastermind.Guesser
none - Static variable in class packt.java9.by.example.mastermind.Row
nrColors - Variable in class packt.java9.by.example.mastermind.ColorManager
nrMatchingColors(Color[]) - Method in class packt.java9.by.example.mastermind.Row
  Count the number of colors that are present on the guess but not on the position where they are in the secret.
nrMatchingPositions(Color[]) - Method in class packt.java9.by.example.mastermind.Row
  Count the number of colors that are correct and are in position.
nrOfColumns() - Method in class packt.java9.by.example.mastermind.Row

## P

packt.java9.by.example.mastermind - package packt.java9.by.example.mastermind
packt.java9.by.example.samples - package packt.java9.by.example.samples
position(int) - Method in class packt.java9.by.example.mastermind.PrintableRow
PrintableRow - Class in packt.java9.by.example.mastermind
PrintableRow(Row) - Constructor for class packt.java9.by.example.mastermind.PrintableRow

## R

Row - Class in packt.java9.by.example.mastermind
  One row on the table.
Row(Color[]) - Constructor for class packt.java9.by.example.mastermind.Row
Row(Row) - Constructor for class packt.java9.by.example.mastermind.Row

## S

setFirstGuess() - Method in class packt.java9.by.example.mastermind.GeneralGuesser
  Set the first possible guess.
setFirstGuess() - Method in class packt.java9.by.example.mastermind.Guesser
setFirstGuess() - Method in class packt.java9.by.example.mastermind.UniqueGuesser
  Set the first possible guess.
setMatch(int, int) - Method in class packt.java9.by.example.mastermind.Row
successor - Variable in class packt.java9.by.example.mastermind.ColorManager

## T

table - Variable in class packt.java9.by.example.mastermind.Guesser
Table - Class in packt.java9.by.example.mastermind
  Represents the state of the table of the game.
Table(int, ColorManager) - Constructor for class packt.java9.by.example.mastermind.Table

## U

UniqueGuesser - Class in packt.java9.by.example.mastermind
  A unique guesser creates guesses that do not use a color twice in a row.
UniqueGuesser(Table) - Constructor for class packt.java9.by.example.mastermind.UniqueGuesser

A C E F G H I L M N P R S T U