jastrachan | 23 Apr 17:36 2004

Re: constructor calls and named parameters

On 23 Apr 2004, at 15:32, John Stump wrote:
> Hi John,
> I wasn't aware this feature was available to regular java
> classes  as well. If so, I tend to agree with your assessment
> that it might not be worth it. I'll try James' suggestion of
> creating a ctor that takes a Map and manually make the
> assignments. Thanks!

Note that in groovy land this will look kinda like normal...

class Foo {
     Foo(args) {
	this.x = args.x
	this.y = args.y