support multiple return types in the Java language

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: specification
    • generic
    • generic



      Name: gh8910 Date: 02/18/2002



      At the moment Java methods can only return a single value.

      In practice some methods need to return multiple values.
      Currently the only solution to this is to create a trivial
      class to hold the multiple values.

      We should investgate whether it would be useful to modify
      the Java language to support multiple return types from methods.

      ======================================================================

            Assignee:
            J. Duke
            Reporter:
            Graham Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: