-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
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.
======================================================================
- duplicates
-
JDK-4222792 Please allow Multiple Return Values
-
- Closed
-
- relates to
-
JDK-8061407 Multiple return values from a method
-
- Closed
-
-
JDK-6573237 Functions that return multiple values
-
- Closed
-