Java
-

1.x to 2.x migration: Observable vs. Observable: RxJava FAQ
The title is not a mistake. rx.Observable from RxJava 1.x is a completely different beast than io.reactivex.Observable from 2.x. Blindly upgrading rxdependency and renaming all…
Read More » -

What is javax.ws.rs.core.context? [ Part 1 ]
How to use the @Context annotation The JAX-RS API provides a very handy mechanism to inject a range of useful resources,…
Read More » -

Concourse caching for Java Maven and Gradle builds
Concourse CI 3.3.x has introduced the ability to cache paths between task runs. This feature helps speed up tasks which cache content…
Read More » -

How to convert a lambda expression to method reference in Java 8?
If you have been coding in Java 8 then you know that using method reference in place of lambda expression…
Read More » -

How to create a thread-safe ConcurrentHashSet in Java 8?
Until JDK 8, there was no way to create a large, thread-safe, ConcurrentHashSet in Java. The java.util.concurrent package doesn’t even…
Read More » -

Java Command-Line Interfaces (Part 11): CmdLn
This post describes using Ostermiller Java Utilities 1.08.02‘s CmdLn (Java Command Line Parser) to process command-line arguments from Java-based applications.…
Read More » -

What is private in Java 9?
When doing interviews I experience that most of the candidates do not know what private modifier in Java really means.…
Read More » -

How to format/parse dates with LocalDateTime in Java 8 – Example Tutorial
One of the common tasks in Java project is formatting or parsing date to String and vice-versa. Parsing date means…
Read More » -

Getting to know about java.nio.file.Path – 1
Introduction The last few released of Java namely Java 7, Java 8 and the upcoming Java 9 have quite a…
Read More »

