Re: return more than one object within one method



Allan,


> You can do this if you return a Collection of Objects. For example you
> could have a Vector. You would need some wrapper class though to tell you
> what type of data each entry holds but other than that - its trivial.

guess what? I chose the Vector Object as my solution in the meanwhile... and
it works :o)

The only thing of importance was the usage of a Integer class object for the
int value...

Java can be so easy if you know ;o)

A nice weekend!

Best regards

Frank


.



Relevant Pages