Patent ID: 11886838
Assignee: ORACLE INTERNATIONAL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method, comprising:
storing, in a memory, a lookup table indexed by respective ordinal values of a plurality of enumerations of an instantiated enumeration class, the lookup table comprising respective references to objects of the instantiated enumeration class corresponding to individual ones of the plurality of enumerations;
storing an enumeration of the plurality of enumerations in a location of the memory, the storing comprising writing an ordinal value of the enumeration to the location of the memory; and
converting the stored enumeration to a reference to an object of the objects of the instantiated enumeration class, comprising:
loading the ordinal value from the location; and
reading the reference to the object from the lookup table using the loaded ordinal value as an index.