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.
I am trying to calculate the difference between two LocalDateTime. The output needs to be of the format y years …
java date datetime java-8 differenceSo I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for …
java macos intellij-idea java-8I'm using java lambda to sort a list. how can I sort it in a reverse way? I saw this …
java lambda java-8 java-streamIs there a concise way to iterate over a stream whilst having access to the index in the stream? String[] …
java java-8 java-streamI just installed IntelliJ IDEA and when I try to create my first Project it asks for me to set …
java intellij-idea java-8 sdk java-7Searching the web, it is not clear if Java 8 is supported for Android development or not. Before I download/setup …
java android java-8 android-gradle-pluginI have one computer that I intentionally installed JDK on. I have another computer with JRE, for, among other things, …
java macos java-8I know there are lots of questions on SO about how to get, but I want and example using new …
java java-8 java-time days date-differenceIn Java 8, methods can be created as Lambda expressions and can be passed by reference (with a little work under …
java lambda java-8