A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/../lang/Enum.html below:

Enum (Java SE 20 & JDK 20)

Type Parameters:
E - The type of the enum subclass
All Implemented Interfaces:
Serializable, Comparable<E>, Constable

This is the common base class of all Java language enumeration classes. More information about enums, including descriptions of the implicitly declared methods synthesized by the compiler, can be found in section

8.9

of

The Java Language Specification

. Enumeration classes are all serializable and receive special handling by the serialization mechanism. The serialized representation used for enum constants cannot be customized. Declarations of methods and fields that would otherwise interact with serialization are ignored, including

serialVersionUID

; see the

Java Object Serialization Specification

for details.

Note that when using an enumeration type as the type of a set or as the type of the keys in a map, specialized and efficient set and map implementations are available.

See Java Language Specification:
8.9 Enum Classes
8.9.3 Enum Members
Since:
1.5
See Also:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4