public static Map getEnumMap() { return Enum.getEnumMap(Extended3Enum.class); }
/** * <p>Gets the <code>Map</code> of <code>Enum</code> objects by * name using the <code>Enum</code> class.</p> * * <p>If the requested class has no enum objects an empty * <code>Map</code> is returned. The <code>Map</code> is unmodifiable.</p> * * @param enumClass the class of the <code>Enum</code> to get * @return the enum object Map * @throws IllegalArgumentException if the enum class is <code>null</code> * @throws IllegalArgumentException if the enum class is not a subclass * of <code>Enum</code> */ public static Map getEnumMap(Class enumClass) { return Enum.getEnumMap(enumClass); }