JDK-4639379 : support multiple return types in the Java language
  • Type: Enhancement
  • Component: specification
  • Sub-Component: language
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-02-18
  • Updated: 2003-03-21
  • Resolved: 2003-03-21
Related Reports
Duplicate :  
Relates :  
Relates :  
Description

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.

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

Comments
EVALUATION Name: gh8910 Date: 02/18/2002 This feature has been added for Tiger release ======================================================================
11-06-2004