Search Results for: java 8
-
Core Java
Java 8 Convert a Stream to List Example
Hello readers, this tutorial explains how to convert a Stream to a List with the help of the following examples.…
Read More » -
Core Java
Java 8 Streams: allMatch(), anyMatch(), noneMatch() Example
Hello readers, Java 8 Matching with Streams tutorial explains how to match the elements in a stream using the allMatch(),…
Read More » -
Core Java
Java 8 Predicate Example
Hello readers, this tutorial explains Java 8 predicate example, which has been newly introduced in the java.util.function package. This package…
Read More » -
Core Java
Java 8 Anonymous Function Example
1. Introduction Java is an object Oriented Programming Language, and as such concepts like Encapsulation and Abstraction sits at the…
Read More » -
Core Java
Java 8 Array to Stream Example
1. Introduction Official javadoc of java.util.stream.Stream states that it is “A sequence of elements supporting sequential and parallel aggregate operations”.…
Read More » -
Time
Java 8 Date and Time API Tutorial
JDK 1.0 had java.util.Date class giving access to Java’s first Date API. However soon after its usage, it started to…
Read More » -
Core Java
Java 8 Lambda Expressions Tutorial
Lambda expressions are an important new feature in Java 8 which provide a clear and concise way to represent a functional interface…
Read More » -
HashMap
HashMap changes in Java 8
The way java.util.HashMap entries are indexed and stored has changed in the Java 8 update. Hash elements use balanced trees…
Read More » -
Base64
Java 8 Base64 Encoding Example
This article is about encoding Strings using Java. Until now, this was only possible by using external libraries, since Java…
Read More » -
concurrent
Java 8 Parallel Arrays Example
In this article we are going to talk about the new possibilities offered in Java 8 for execute Arrays operations…
Read More »