Class: Enum

system. Enum


new Enum(value, name)

This class determinates a basic implementation to creates enumeration objects.

Parameters:
Name Type Description
value number

The value of the enumeration.

name string

The name key of the enumeration.