Sorting Strings by Contained Numbers in Java 1. Introduction In this tutorial, we’ll look at how to sort alphanumeric Strings by the numbers they contain. We’ll focus on removing all non-numeric characters from the String before sorting multiple Strings by the numerical characters that remain. We’ll look at common edge cases, including empty Strings… Continue Reading java-sort-strings-contained-numbers

Injecting Prototype Beans into a Singleton Instance in Spring Spring Spring DI 1. Overview In this quick article, we’re going to show different approaches of injecting prototype beans into a singleton instance. We’ll discuss the use cases and the advantages/disadvantages of each scenario. By default, Spring beans are singletons. The… Continue Reading spring-inject-prototype-bean-into-singleton

Kotlin Java Interoperability 1. Overview In this tutorial, we’re going to discuss the interoperability between Java and Kotlin. We’re going to cover some basic examples as well as some other more complex scenarios. 2. Setting up Kotlin Creating a Kotlin project is very simple using IntelliJ, Eclipse, and even the… Continue Reading kotlin-java-interoperability