发明名称 Object-oriented enumerated type facility
摘要 A system and method are provided that facilitate use of an object-oriented enumerated type within a computer program. During operation, the system receives source code for the computer program. The source code contains a declaration for an enumerated type. This declaration specifies a fixed number of enumeration constants that comprise the enumerated type. Next, the system defines the enumerated type using a class defined within an object-oriented programming language. The class includes a constant for each enumeration constant specified in the declaration. If the declaration additionally contains one or more method declarations, these methods are present on the defined class.
申请公布号 EP1400895(A2) 申请公布日期 2004.03.24
申请号 EP20030255511 申请日期 2003.09.03
申请人 SUN MICROSYSTEMS, INC. 发明人 BLOCH, JOSHUA J.;GAFTER, NEAL M.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址