Core Java
-
Generating backpressure-aware streams with Flowable.generate() – RxJava FAQ
RxJava is missing a factory to create an infinite stream of natural numbers. Such a stream is useful e.g. when…
Read More » -
New Regex Features in Java 9
I recently received my complimentary copy of the book “Java 9 Regular Expressions” from Anubhava Srivastava published by Packt. The…
Read More » -
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 » -
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 »