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

Claim 14:
15. A system, comprising:
one or more processors and a memory comprising program instructions executable by the one or more processors to implement an application configured to:
create, in the memory or another 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;
store 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
convert the stored enumeration to a reference to an object of the objects of the instantiated enumeration class, wherein to convert the stored reference the application is configured to:
load the ordinal value from the location; and
read the reference to the object from the lookup table using the loaded ordinal value as an index.