{"id":13745261,"url":"https://github.com/nodename/Ultimate-Enum","last_synced_at":"2025-05-09T05:30:53.028Z","repository":{"id":1097096,"uuid":"956035","full_name":"nodename/Ultimate-Enum","owner":"nodename","description":"The ultimate enum for AS3","archived":false,"fork":false,"pushed_at":"2010-10-14T03:00:34.000Z","size":256,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T05:06:04.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://nodename.com/blog/2010/10/13/the-arrogant-enum/","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodename.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-02T05:55:43.000Z","updated_at":"2019-02-16T03:11:39.000Z","dependencies_parsed_at":"2022-08-16T12:00:42.575Z","dependency_job_id":null,"html_url":"https://github.com/nodename/Ultimate-Enum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodename%2FUltimate-Enum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodename%2FUltimate-Enum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodename%2FUltimate-Enum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodename%2FUltimate-Enum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodename","download_url":"https://codeload.github.com/nodename/Ultimate-Enum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819876,"owners_count":17375352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:26.091Z","updated_at":"2024-11-15T17:31:34.770Z","avatar_url":"https://github.com/nodename.png","language":"ActionScript","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"readme":"Goals\n-----\n\nfinite: \n\nclosed: programmer may neither add nor remove values at run time\n\ngeneric: an enumerated type should not be required to extend any particular base class,\n\tnor should its constructor be required to have any particular parameter types\n\nextensible: ability to define a derived enumerated type each of whose values IS-A parent enumerated type\n\norderable: programmer should be able to specify an ordering on the set if desired. There shall\n\tbe no implicit ordering based on the order of declaration.\n\niterable: programmer should be able to iterate over the values of the type\n\tor over the union of the values of more than one type (derived or not),\n\tin the order (if any) that the programmer has specified\n\ncomparable: comparison operators \u003e \u003e= \u003c \u003c= should work by comparing the ordering of the enumerated values\n\nnon-exclusive: programmer should be able to declare other public static members of the class that are not\n\tincluded in the set of enumerated values, for example a default value referring to one of the enumerated\n\tvalues\n\nserializable:  ability to write an enum value to a stream and read back the identical value object\n\n\n\nImplementation\n--------------\n\nThe enumerated type corresponding to an enumClass consists of the static consts of the enumClass\nthat are of type enumClass and are tagged with [Enum].  The Enum tag allows an optional integer parameter named \"ordinal\".\n\nThe class must be registered with the call Enumeration.registerClass(classObject) before any of the enum operations are used. Typically, the class itself will call Enumeration.registerClass() as a static initializer, with itself as argument; for example a class MyEnum should call Enumeration.registerClass(MyEnum).  See the example enum classes in the examples folder under src_test.\n\nYou can download the compiled swc to link into your projects, or build from source.  If you build from source, be sure to use the compiler flag keep-as3-metadata+=Enum in your library (or main program, if you build Ultimate Enum directly into it) to preserve the [Enum] tags in your enumerated classes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodename%2FUltimate-Enum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodename%2FUltimate-Enum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodename%2FUltimate-Enum/lists"}