Use this tag for questions specific to Java 8 which is version 8 (internal number 1.8) of the Java platform, released on 18 March 2014.
Note: this question originates from a dead link which was a previous SO question, but here goes... See this code (…
java java-8 java-streamGiven a list of elements, I want to get the element with a given property and remove it from the …
java lambda java-8 java-streamI very much want to use Map.computeIfAbsent but it has been too long since lambdas in undergrad. Almost directly …
java dictionary lambda java-8I have a problem trying out the Lambda expressions of Java 8. Usually it works fine, but now I have methods …
java exception-handling lambda java-8Map<String, String> phoneBook = people.stream() .collect(toMap(Person::getName, Person::getAddress)); I get java.lang.IllegalStateException: Duplicate …
java java-8 java-streamSpecifically, I have TabPane, and I would like to know if there is element with specific ID in it. So, …
java java-8 lambda