AbstractEnum.name

Returns the name of this enum constant, exactly as declared in its enum declaration.

<b>Most programmers should use the {@link #toString} method in preference to this one, as the toString method may return a more user-friendly name.</b> This method is designed primarily for use in specialized situations where correctness depends on getting the exact name, which will not vary from release to release.

@return the name of this enum constant

class AbstractEnum(E)
final
string
name
()

Meta