Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-809

enum Implementation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1-rc-3
    • None
    • None

    Description

      Implementation of 'enum' keyword.

      > Any plans in this direction or maybe an own
      > Enum Type, which could well have methods
      > +, -, ++, --, <=>
      > and thus be used within Ranges.

      Good idea!

      isCase() could just perform equals comparison - unless a range is used

      case green..blue:
      return "not red "

      James

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            codevise Dierk König
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: