-
Core Java
Java 9: Enhancements to the Process API
Java 9 brings various improvements to the Process API, used for controlling and managing operating system processes. Getting information about…
Read More » -
Core Java
Java 9: Enhancements to Optional
Previously, I wrote about the Optional class that was introduced in Java 8 to model potentially absent values and reduce…
Read More » -
Core Java
Java 9: Enhancements to the Stream API
Java 9 adds 4 new methods to the Stream interface: 1. dropWhile The dropWhile method is similar to the skip…
Read More » -
Core Java
Java 9: JShell
JShell is a new tool introduced in Java 9 that evaluates Java statements entered on the command line. It is…
Read More » -
Core Java
Java 8: CompletableFuture vs Parallel Stream
This post shows how Java 8’s CompletableFuture compares with parallel streams when peforming asynchronous computations. We will use the following…
Read More » -
Core Java
Java 8: Default Method Resolution Rules
With the introduction of default methods in Java 8, it is now possible for a class to inherit the same…
Read More » -
Core Java
Java 8: Converting Anonymous Classes to Lambda Expressions
Refactoring anonymous classes (that implement one single method) to lambda expressions, makes your code more succint and readable. For example,…
Read More » -
Core Java
Java 8 Streams API: Grouping and Partitioning a Stream
This post shows how you can use the Collectors available in the Streams API to group elements of a stream…
Read More » -
Software Development
Converting XML to CSV using XSLT 1.0
This post shows you how to convert a simple XML file to CSV using XSLT. Consider the following sample XML:…
Read More »