Re: [Geotools-devel] Wondering about FunctionExpression subclasses

2006-08-11 Thread Gabriel Roldán
I only can say for sure that the xxx_n functions where n corresponds to the number of arguments is due to the Filter spec requiring a fixed number of arguments for a given function name, so that's what David implemented. Since it is generated we should ask David to get the function classes out a

Re: [Geotools-devel] Wondering about FunctionExpression subclasses

2006-08-11 Thread Andrea Aime
Jody Garnett ha scritto: > Andrea Aime wrote: >> Hi all, >> I'm wondering why we do have math expression implementations such >> as FilterFunction_abs_2, FilterFunction_abs_3, FilterFunction_abs_4 >> and so >> on, all with the same executable code. Seems silly, what's the purpose >> of this? >> >

Re: [Geotools-devel] Wondering about FunctionExpression subclasses

2006-08-11 Thread Jody Garnett
Andrea Aime wrote: > Hi all, > I'm wondering why we do have math expression implementations such > as FilterFunction_abs_2, FilterFunction_abs_3, FilterFunction_abs_4 and so > on, all with the same executable code. Seems silly, what's the purpose of > this? > > Plus, all this files say that the fi

[Geotools-devel] Wondering about FunctionExpression subclasses

2006-08-11 Thread Andrea Aime
Hi all, I'm wondering why we do have math expression implementations such as FilterFunction_abs_2, FilterFunction_abs_3, FilterFunction_abs_4 and so on, all with the same executable code. Seems silly, what's the purpose of this? Plus, all this files say that the filter is generated... hum, ok, gen