packt.java9.by.example.mastermind

## Class GeneralGuesser

- java.lang.Object
- - packt.java9.by.example.mastermind.Guesser
  - - packt.java9.by.example.mastermind.GeneralGuesser

-     public class GeneralGuesser
      extends Guesser

- - ### Field Summary

    - ### Fields inherited from class packt.java9.by.example.mastermind.Guesser

      `lastGuess, none, table`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GeneralGuesser(Table table)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `setFirstGuess()` Set the first possible guess.

    - ### Methods inherited from class packt.java9.by.example.mastermind.Guesser

      `guess, nextGuess`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GeneralGuesser

          public GeneralGuesser(Table table)

  - ### Method Detail

    - #### setFirstGuess

          protected void setFirstGuess()

      Set the first possible guess. This method is used during the construction process. This version just sets all colors to be the first color, since in this guesser position do not need to be unique.
      Specified by:
        `setFirstGuess` in class `Guesser`