TheoBrd / lambdaj

Automatically exported from code.google.com/p/lambdaj
Apache License 2.0
0 stars 0 forks source link

The method on(Class<Contact>) is undefined #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ArrayList<Contact> result = select(result, 
having(on(Contact.class).getName(), Matchers.contains(query)))

What version of the product are you using? On what operating system?
2.4

Please provide any additional information below.
I'm trying to get an ArrayList with all the contacts containing certain 
character

The Contact class is public.

Original issue reported on code.google.com by valejand...@gmail.com on 13 Jun 2013 at 1:09

GoogleCodeExporter commented 8 years ago
I forgot to add that I'm working on an Android project.

Original comment by valejand...@gmail.com on 13 Jun 2013 at 1:10

GoogleCodeExporter commented 8 years ago
So, I know this is pretty old but I'm leaving this here for everyone else who 
couldn't solve it:

make sure you've made the following import:
import static ch.lambdaj.Lambda.*;

Original comment by Emilse.K...@gmail.com on 15 Jun 2014 at 8:40