commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Sharples" <sharp...@nz1.ibm.com>
Subject Re: [OT] thoughts on Java pre processor
Date Wed, 06 Mar 2002 20:00:34 GMT

> I would like to see the ability to return multiple objects. Not sure if
> this would be easy to do as it would require the preprocessor to work
> across files, but I would like to do:
>
> int i;
> String str;
>
> (i, str) = runCode();

public class Foo {
  private property int i;
  private property String str;
}

Foo foo = runCode();

It's called OO... :-)

Regards

Colin M Sharples
I/T Architect
IBM Global Services New Zealand

email: sharples@nz1.ibm.com
phone: 64-4-5769853
mobile: 64-21-402085
fax: 64-4-5765616



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message