src/java.base/share/classes/java/lang/Enum.java
changeset 51413 43e41800d579
parent 47216 71c04702a3d5
child 52914 4fa75d8ad418
equal deleted inserted replaced
51412:8f7e3f9ddbc0 51413:43e41800d579
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    43  * or as the type of the keys in a map, specialized and efficient
    43  * or as the type of the keys in a map, specialized and efficient
    44  * {@linkplain java.util.EnumSet set} and {@linkplain
    44  * {@linkplain java.util.EnumSet set} and {@linkplain
    45  * java.util.EnumMap map} implementations are available.
    45  * java.util.EnumMap map} implementations are available.
    46  *
    46  *
    47  * @param <E> The enum type subclass
    47  * @param <E> The enum type subclass
       
    48  * @serial exclude
    48  * @author  Josh Bloch
    49  * @author  Josh Bloch
    49  * @author  Neal Gafter
    50  * @author  Neal Gafter
    50  * @see     Class#getEnumConstants()
    51  * @see     Class#getEnumConstants()
    51  * @see     java.util.EnumSet
    52  * @see     java.util.EnumSet
    52  * @see     java.util.EnumMap
    53  * @see     java.util.EnumMap