Quantcast
Channel: Baeldung
Browsing all 4621 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Cucumber Hooks

1. Introduction Cucumber hooks can come in handy when we want to perform specific actions for every scenario or step, but without having these actions explicitly in the Gherkin code. In this tutorial,...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Greedy Algorithms with Java

1. Introduction In this tutorial, we're going to introduce greedy algorithms in the Java ecosystem. 2. Greedy problem When facing a mathematical problem, there may be several ways to design a solution....

View Article


Image may be NSFW.
Clik here to view.

Guide to the @Serial Annotation in Java 14

1. Introduction In this quick tutorial, we'll take a look at the new @Serial annotation introduced with Java 14. Similarly to @Override, this annotation is used in combination with the serial lint flag...

View Article

Image may be NSFW.
Clik here to view.

Obtaining a Power Set of a Set in Java

1. Introduction In this tutorial, we'll study the process of generating a power set of a given set in Java. As a quick reminder, for every set of size n, there is a power set of size 2n. We'll learn...

View Article

Image may be NSFW.
Clik here to view.

Looking for Java Developer to Help with Brainstorming Topics for the Site...

Who? I'm looking for an experienced Java developer, optionally with knowledge of the Spring ecosystem – to help us brainstorm new topics for the site. The Work The process of brainstorming new topics...

View Article


Image may be NSFW.
Clik here to view.

Efficiently Merge Sorted Java Sequences

1. Overview In this short tutorial, we'll see how we can efficiently merge sorted arrays using a heap. 2. The Algorithm Since our problem statement is to use a heap to merge the arrays, we'll use a...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 315

1. Spring and Java >> Manage multiple Java SDKs with SDKMAN! with ease [blog.codeleak.pl] A good intro to this handy tool for installing and switching between multiple versions of Java, Maven,...

View Article

Image may be NSFW.
Clik here to view.

Get String Value of Excel Cell with Apache POI

1. Overview A Microsoft Excel cell can have different types like string, numeric, boolean, and formula. In this quick tutorial, we'll show how to read the cell value as a string – regardless of the...

View Article


Image may be NSFW.
Clik here to view.

Partitioning and Sorting Arrays with Many Repeated Entries

1. Overview The run-time complexity of algorithms is often dependent on the nature of the input. In this tutorial, we’ll see how the trivial implementation of the Quicksort algorithm has a poor...

View Article


Image may be NSFW.
Clik here to view.

Asynchronous Programming in Java

1. Overview With the growing demand for writing non-blocking code, we need ways to execute the code asynchronously. In this tutorial, we'll look at a few ways to achieve asynchronous programming in...

View Article

Image may be NSFW.
Clik here to view.

Generating Random Numbers

1. Overview In this tutorial, we'll explore different ways of generating random numbers in Java. 2. Using Java API The Java API provides us with several ways to achieve our purpose. Let’s see some of...

View Article

Image may be NSFW.
Clik here to view.

DevOps Overview

1. Overview In this article, we'll understand the basics of DevOps principles and practices. We'll see why this is relevant and helpful in software development. We'll also understand how we can adopt...

View Article

Image may be NSFW.
Clik here to view.

Java Preview Features

1. Overview In this tutorial, we're going to explore the motivation behind Java preview features, their difference compared to experimental features, and how to enable them with different tools. 2. Why...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Big Queue

1. Overview In this tutorial, we're going to take a quick look at Big Queue, a Java implementation of a persistent queue. We'll talk a bit about its architecture, and then we'll learn how to use it...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 316

1. Spring and Java >> A Bottom-Up View of Kotlin Coroutines [infoq.com] A peek under-the-hood at coroutines – a feature not natively supported by the JVM – and how they work in Kotlin. >>...

View Article


Image may be NSFW.
Clik here to view.

New Java 13 Features

1. Overview September 2019 saw the release of JDK 13, per Java's new release cadence of six months. In this article, we'll take a look at the new features and improvements introduced in this version....

View Article

Image may be NSFW.
Clik here to view.

What Causes java.lang.reflect.InvocationTargetException?

1. Overview When working with Java Reflection API, it is common to encounter java.lang.reflect.InvocationTargetException. In this tutorial, we’ll take a look at it and how to handle it with a simple...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 317

1. Spring and Java >> Reactive BookStore Service Broker [spring.io] A quick example demonstrating the Reactive API support available in several Spring projects. Very cool. >> Groovy 3.0...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Jsoniter

1. Introduction JavaScript Object Notation, or JSON, has gained a lot of popularity as a data interchange format in recent years. Jsoniter is a new JSON parsing library aimed at offering a more...

View Article

Image may be NSFW.
Clik here to view.

List All Available Redis Keys

1. Overview Collections are an essential building block typically seen in almost all modern applications. So, it's no surprise that Redis offers a variety of popular data structures such as lists,...

View Article
Browsing all 4621 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>