My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
WhoIsUsingLambdaj  
The list of the lambdaj user
Featured
Updated Nov 12, 2009 by mario.fu...@gmail.com

Who is using lambdaj?

If you are using lambdaj either at work or even just for personal purposes please leave your testimony here.

Comment by ro.franc...@gmail.com, Sep 8, 2009

We at CELI are using lambdaj 2.0 in our production applications, both for the web GUI and for the batches. We are going to use it massively on new code and by refactoring old code too. We are very happy with it! A little code example. Before

   for (Entry<String, String> param : params.entries()) {
                        if (!"graphPage".equals(param.getKey()) && !"type".equals(param.getKey())) {
                                if (sb == null) {
                                        sb = new StringBuffer();
                                } else {
                                        sb.append('&');
                                }
                                sb.append(param.getKey()).append('=').append(param.getValue());
                        }
                }

Now

OrMatcher<String> toExclude = or(equalTo("type"), equalTo("graphPage"));
List<Entry<String, String>> paramsList = select(params.entries(), not(having(on(Entry.class).getKey(), toExclude)));
String graphLink = join(paramsList, "&");
Comment by project member mario.fu...@gmail.com, Sep 8, 2009

I don't know if it is more readable or not (I think so, but probably it is just a matter of tastes) anyway it worths to notice that the same result can be achieved with a single line of code in order to underline how the lambdaj API have been designed to be used jointly:

String graphLink = join(select(params.entries(), having(on(Entry.class).getKey(), not(or(equalTo("type"), equalTo("graphPage"))))), "&");
Comment by pino.o...@gmail.com, Sep 8, 2009

I am using lambdaj in a big project at a major italian bank (SanPaolo? Intesa).

Thanks for your great work.

Comment by guillaum...@gmail.com, Oct 24, 2009

LambdaJ is incredibly slick. Play framework 1.1 will use it to help to reduce the gap between the Scala and the Java version.

Read more at http://www.playframework.org/documentation/1.1-trunk/lambdaj

Guillaume Bort

Comment by pieter.d...@gmail.com, Nov 12, 2009

We (Java team at Flemisch governement) are using LambdaJ for making the usage/construct of Hibernate Criteria type safe. This way our code will survive propertyname refactorings. (off course the select,index features are a very handy thing when you need something like that :-) )

Comment by henrycha...@gmail.com, Apr 1, 2010

I am using lambdaj in a SDMX project.

Comment by rubi...@gmail.com, Apr 4, 2010

I am using lambdaj for the server side code of a web application that integrates with eBay. Using lambdaj reduced the size and complexity of my code when I needed to summarize a lot of complex information. As a programmer that comes from a .NET background, I found that lambdaj was my best alternative for LINQ in Java.

Comment by eric.mariacher, Apr 7, 2010

Here is a comparison of 3 different ways of coding without "for" and "while" statements:

  • using haskell
  • using lambdaj
  • using java sorted set filtering (do not try this unsupervised)

http://eric-mariacher.blogspot.com/2010/04/java-program-using-lambdaj.html

Comment by meoden1...@gmail.com, Mar 15, 2012

Thanks you for your extension, it saved times to deal with massive loop through 4000 records. The performance of my application increase 70% and my clients are very happy.


Sign in to add a comment
Powered by Google Project Hosting