Read and write to spreadsheet in Java

I was writing an algorithm that would run and produce some results. These results should have been stored some place and retrieved during next program run. New values would then be added to the resulting list. The program needed to remember all the results from all run.

How to sort a Set in Java example

There are different versions of Java available with different ways to sort collections of objects. We will be showing examples of sorting a set of objects alphabetically with both Java 8 and older versions.

Too many functions in Java code

Many java developers follow the principles of clean code. But can it be too much? I have recently reviewed code that had almost a dozen of wrappers around its private members. When is code readable enough?

How to program a drone with Java

In this article we will answer one simple question about drone programming – where do I start? What do I need to do to make a simple drone application?

Java volatile vs atomic variables

Volatile and atomic variables are an important feature in Java language. Especially when dealing with multi threading. A simple incrementation algorithm works fine in a single threaded program, but won’t work as expected in a multi threaded system:

Java parallel streams API

Parallel programming is a very difficult, but sometimes a necessary task. Modern computers contain multiple cores and any complex algorithm that is not performing parallel processing is not exploiting the full potential of the hardware.