Latest

TemporalAdjuster in Java

TemporalAdjuster in Java

Java Date Time
Tutorial
By Stephen Enright, may 19

In this tutorial we will examine the TemporalAdjuster in Java. A TemporalAdjuster can be used to adjust a date or a temporal value.

Setting The Java Maven Version

Setting The Java Maven Version

Maven
Tutorial
By Stephen Enright, oct 07

In this tutorial we will look at how to set the Java version in Maven.

Collect a Java Stream to an Immutable Collection

Collect a Java Stream to an Immutable Collection

Java Streams
Tutorial
By Stephen Enright, oct 03

In this tutorial we will look how to collect a Java stream into an immutable collection

Java Collectors ToMap

Java Collectors toMap

Java Streams
Tutorial
By Stephen Enright, oct 03

In this tutorial we will look at the Collectors toMap method that allows to create a map from a stream

Java Collectors Introduction

Java Collectors Introduction

Java Streams
Tutorial
By Stephen Enright, oct 02

In this tutorial we will introduce Collectors in Java. We will see how collectors can be used and some of their common use cases

Functional Interfaces In Java

Functional Interfaces In Java

Java
Tutorial
By Stephen Enright, oct 02

In this tutorial we will introduce functional interfaces in Java. We’ll also look at some of the most common functional interfaces

Java groupingBy Collector Overview

Java groupingBy Collector

Java Streams
Tutorial
By Stephen Enright, oct 02

In this tutorial we will look at the collectors groupingBy method that is used to group objects by a specific property.

Java Collectors Filtering method

Java Collectors Filtering method

Java Streams
Tutorial
By Stephen Enright, oct 02

In this tutorial we will look at the filtering collector that is used for filtering elements. The filtering collector was added in Java 9

Java Collectors.maxBy Example

Java Collectors MaxBy Example

Java Streams
Tutorial
By Stephen Enright, oct 02

In this tutorial we will look at the Java Collectors maxBy method which return the maximum element in a stream.

Java Streams Introduction

Java Streams Introduction

Java Streams
Tutorial
By Stephen Enright, oct 01

In this tutorial we will introduce streams in Java. We will see how streams allow us to work with collections in a functional way