Centurion, South Africa
info@code2bits.com
On Request

The Lombok Project is a java library that helps a developer generate boilerplate code like “getter” and “setter” methods for Plain Old Java Objects (POJOs). By simply adding the Lombok...

This post contains a step-by-step guide on how to create a simple web application making use of maven. The Archetype Plugin is used to create a simple web project from...

This post contains a step-by-step guide on how to create a simple java application making use of maven. The Archetype Plugin is used to create a simple java project from...

In this post, I will show you how to write assertions for Collections making use of the Hamcrest library when writing your JUnit testcases. The post provides some useful examples,...

This post is the first in the “Building an Alexa Skill” series where I will illustrate how to implement Alexa Skills. In this post, I will show you how to...

This post provides a step-by-step guide with a list of commands on how to install Java on macOS using Homebrew.

Counting Sort is an integer sorting algorithm. Counting Sort are unlike other sorting algorithms in that it makes certain assumptions about the data. It counts the number of objects with...

Quick Sort, also known as partition-exchange sort, is an efficient divide and conquer sorting algorithm. The algorithm can be implemented making use of loops or recursions. The algorithm performs the...

Merge Sort is a divide and conquer algorithm as the algorithm splits the original array into smaller logical sections. The algorithm can be implemented making use of loops or recursions....

Shell Sort is an in-place comparison sort algorithm. Shell Sort is a generalization of insertion sort that allows the exchange of items that are far apart. The algorithm perform preliminary...

Insertion sort is a sorting algorithm that builds the final sorted array (or list) one item at a time. The algorithm iterates over the list and removes the current element,...

Selection sort is a sorting algorithm, specifically an in-place comparison sort and is used for sorting an array of integers. The algorithm divides the input list into two parts, sorted...

Bubble sort is sometimes referred to as sinking sort. The bubble sort algorithm repeatedly steps through the list and compare each adjacent item. The pair of values gets swapped if...

What is Java? “Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible.” ~ Wikipedia

All sample projects and code can be downloaded from GitHub.