equal
deleted
inserted
replaced
44 * |
44 * |
45 * More information about enums, including descriptions of the |
45 * More information about enums, including descriptions of the |
46 * implicitly declared methods synthesized by the compiler, can be |
46 * implicitly declared methods synthesized by the compiler, can be |
47 * found in section 8.9 of |
47 * found in section 8.9 of |
48 * <cite>The Java™ Language Specification</cite>. |
48 * <cite>The Java™ Language Specification</cite>. |
|
49 * |
|
50 * Enumeration types are all serializable and receive special handling |
|
51 * by the serialization mechanism. The serialized representation used |
|
52 * for enum constants cannot be customized. Declarations of methods |
|
53 * and fields that would otherwise interact with serialization are |
|
54 * ignored, including {@code serialVersionUID}; see the <cite>Java |
|
55 * Object Serialization Specification</cite> for details. |
49 * |
56 * |
50 * <p> Note that when using an enumeration type as the type of a set |
57 * <p> Note that when using an enumeration type as the type of a set |
51 * or as the type of the keys in a map, specialized and efficient |
58 * or as the type of the keys in a map, specialized and efficient |
52 * {@linkplain java.util.EnumSet set} and {@linkplain |
59 * {@linkplain java.util.EnumSet set} and {@linkplain |
53 * java.util.EnumMap map} implementations are available. |
60 * java.util.EnumMap map} implementations are available. |