-
Pages
-
Recent Posts
Latest Comments
Archives
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- July 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- August 2020
- February 2020
- November 2019
- June 2019
- May 2019
- May 2018
- April 2018
- August 2017
- June 2017
- May 2017
- December 2016
- November 2016
- March 2016
- January 2016
- December 2015
- January 2014
- December 2013
- October 2013
- June 2013
- April 2013
- May 2012
- March 2012
- February 2012
- July 2011
- April 2011
- March 2010
- January 2007
- September 2006
Categories
Reading now!
-
Author Archives: Andrej Buday
How to print current project classpath
This article is a short explanation of a classpath and a single line of Java code that will help you print out your classpath. Continue reading
How to calculate median from an array in Java
In this short article, we will see how to compute median in Java. Continue reading
How to set custom configuration for your local Git project repository
Suppose you do not want to have the same configuration for your local repository as you have your global Git settings. Or you need to fix identity information for commits that are already made in Git commit history. In that case, this article will show you a few Git commands on how to set up the custom configuration for your local Git repository or how to fix past mistakes. Continue reading
Verify method was called n-times with Mockito
Mockito Verify example for n-times calls using various verification modes. Continue reading
How to check if two lists are equal in Java
A short article focused on a widespread problem in testing if two list instances are identical, or rather say if they contain the same elements in the same order. Continue reading
How to convert a Map to an Array in Java
This tutorial is about several approaches to converting Java’s Map interface implementations into the Java array. Continue reading
Posted in Language basics
Tagged array, Collection, conversion, HashMap, Java, LinkedHashMap, Map, TreeMap
Leave a comment
How to connect Jira with IntelliJ IDEA
This tutorial will show you how to connect your IntelliJ IDEA with the Jira ticketing system. Continue reading
How to sort a map with Java 8
This tutorial shows how to sort Java Map implementations with Java 8 streams by map’s key or value properties. Continue reading
How to load files from Spring JUnit test resources folder
In this short tutorial, you will see how to read the files from the /src/test/resources test directory path in your Spring application. Continue reading
Posted in Tutorials
Tagged ClassLoader, Java, Java 7, JUnit, legacy project, Maven, Spring, testing
Leave a comment
How to initialize an array with zero values in Java
This article will look at how to fill up Java array with default values effectively on an array creation. Continue reading