Reputation: 1059
I would like to use lamdaj in a Eclipse project and needs to make this import,
import static ch.lamdaj.Lambda.*;
I downloaded and added the lambdaj-2.4-with-dependencies.jar inside a jar folder in the Eclipse as following,
and then, added the JAR in the Java build path as following,
What else I will need to do to make the work ?
Upvotes: 0
Views: 423
Reputation: 2423
The project set-up is correct. The compile error is caused by spelling error in the import statement.
Please change the import statement to
import static ch.lambdaj.Lambda.*;
Upvotes: 1