Like in the title, I'm trying to compile lambda, I'm using 1.8 jdk, and have no idea.
Proof that I really got 1.8:
part1:
Any ideas why I've got problem like this, lambda looks like this, but I'm sure its fine, because I'm doing code from a tutorial.
public Topic getTopic(final String id){
topics.stream().filter(t -> t.getId().equals(id)).findFirst().get();
}
I was trying to find solution but really failed, thats why I'm writing here. ps. sorry for my bad english :)