packt.java9.by.example.mastermind

## Class Color

- java.lang.Object
- - packt.java9.by.example.mastermind.Color

-     public class Color
      extends java.lang.Object

  Represents a color in the MasterMind table. Each color has a serial value that is used internally to sort the colors so that there is a first color, last color and for each color, except the last, there is a next color managed by a color manager.

  Colors are equal if the serial number is the same.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Color` | `none` A special object that represents a value that is not a valid color.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Color()`

  - ### Method Summary

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

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

- - ### Field Detail

    - #### none

          public static final Color none

      A special object that represents a value that is not a valid color.

  - ### Constructor Detail

    - #### Color

          public Color()