In the previous article, I showed you that “” + i is the fastest way to convert an int into a String in Java. All the way from Java 7 to Java 14. Today you will learn what to consider in the opposite direction, i.e., when parsing a String to an int. You can find
In this article, I show you how to convert an int into a String in Java the fastest way. The answer is probably surprising for some. I present four variants and measure and compare their speed using JMH microbenchmarks. I analyze the measurement results looking at the Java source code and also the generated bytecode.
In part one of this three-part article series, I showed you how to install and configure Jenkins – and how to create build and release jobs for Maven projects via the Jenkins user interface. In part two, we programmatically created the same jobs with the Jenkins Job DSL and made the job list cleaner using
In the first part of this three-part article series, I showed you how to install and configure Jenkins as Docker containers using Ansible – and how to create build and release jobs for Maven projects using Jenkins’ user interface. In this second part, I show you how to create the same jobs with the Jenkins
In the previous article about the advantages and disadvantages of monorepos, I showed how I built a module of a git-monorepos with Jenkins – once via the graphical user interface of Jenkins – and once programmatically via the Jenkins Job DSL. Some readers asked me how to transfer this DSL code into a Jenkins job.
Originally I wanted to publish the third part of my article series about Static Code Analysis today. However, this part will be more extensive than the first two parts so that I couldn’t finish it in two weeks. Today I would like to share my experience with Git monorepos with you. There are many articles