On Thu, Aug 11, 2011 at 2:57 PM, Michael Bedward
<[email protected]> wrote:
> On 11 August 2011 22:39, Andrea Aime <[email protected]> wrote:
>> Still think that a reverse polish notation based filter builder would be
>> the most natural way to make a fluent filter builder:
>>
>> fb.literal(5).property("att").add().literal(50).greater().build() ->
>> att + 5 > 50
>>
>
> Did you used to own an HP calculator by any chance ?

Nope, I did not, but it's the only way I can think of making a expression
builder in a fluent interface. Not that I feel a strong urge for a
filter/expression
builder, CQL suits me just fine ;-)

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to