Skip to content

How To

Members Public

Lambda Expressions and Exception Handling

This short article will explore a few options to handle checked and unchecked exceptions in lambda expressions.

Lambda Expressions and Exception Handling
Members Public

Streams and Iterables

In this short article, we'll explore various StreamSupport methods that allow us to wrap an Iterable instance as a stream of elements.

Streams and Iterables
Members Public

Checked Collection - stronger type safety

CheckedCollection helps to enforce strong type safety when mixing generic and non-generic code.

Checked Collection - stronger type safety
Members Public

Streaming large dataset over Rest

How to use StreamingResonseBody to stream large amount of data to a client using SpringBoot.

Streaming large dataset over Rest
Members Public

How to manage multiple Java versions on Windows PC?

In this post, we'll discuss how to quickly install and switch between different Java versions on a Windows machine.

How to manage multiple Java versions on Windows PC?
Members Public

LRU Cache

Least recently used (LRU) eviction policy defines the eviction criteria to control the number of entries present in a cache.

LRU Cache
Members Public

Using enum as a Simple Factory

In this post, we'll see how we can use an enum to implement a simple factory.

Using enum as a Simple Factory
Members Public

JGit - manage git workflow programmatically

How to use jgit to programmatically manage git workflow like repository management, pull and push operations etc.

JGit - manage git workflow programmatically
Members Public

Prioritize tasks in a ThreadPoolExecutor

In this post, we'll explore how to prioritize tasks submitted to a ThreadPool.

Prioritize tasks in a ThreadPoolExecutor