In Java String to int conversion can be done in a few different ways. In this post we’ll show them and describe differences.
Java 8 reduce is a great method to compute a value from stream of values – reduce collection to value. In this post we’ll explain how reduce in Java work.
Java XML validate using SchemaFactory
There are a few ways to validate XML file in Java. In this post we show how to use SchemaFactory to validate XML against XSD Schema from file.
Groovy for Java Developers – essentials
In this tutorial you will learn the most common features of Groovy that will allow you to get up and running in just a few minutes!
Java read XML using DOM
Java DOM API is comfortable to work with not big XML documents. They can be easily loaded and modified in runtime. In this post we show how to do it.
Java create XML using DOM
Java allows to work with XML in many different ways. In this post we show how to use Java DOM API to create a document and write it as XML file.
Java CyclicBarrier is very convenient synchronization tool for writing concurrent simulations. In this post we’ll show how it works and write a game simulation.
SLF4J: Class path contains multiple SLF4J bindings error occurs in many projects, especially those having multiple dependencies. Here we the reason and how to deal with it!
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder” is an error that people face very often. Here we show what is the reason and how to fix it!
Java Reverse String in 2 ways
Java String doesn’t have reverse method, so it may not be immediately apparent how to reverse a string in Java. Here are two ways do do it.