How can I filter a table using lambdaj?
Given the following table:
id name age male salary 1 tom 22 y 3k 2 nancy 24 n 3.5k 3 jack 22 y 2k 4 jmme 29 y 4k
If I applied the filter:
age >= 22 && salary > 3k
then I would get:
2 nancy 24 n 3.5k 4 jmme 29 y 4k
As you know, I cannot create a domain class for it, which prevents me from using the following syntax:
filter(having(on(Person.class).getAge(),greaterThan(22)), myManList);