Problem: There is a number of ways do to Java List copy. Which one is best? Which one apply to your situation at hand? In this post you will find this out!
Problem: Source of Java ClassCastException sometimes can be hard to find. In such situation type safe List may be really helpful. In this tutorial you will learn how to find ClassCastException using Java type safe List!
Problem: Java Binary Search with Comparator is very flexible method to search for elements of any type. In this tutorial you will learn how to use binary search in Java with own Comparator!
Problem: Java binary search is very fast way to find an element in a sorted collection of elements or find a place where it should be inserted. In this tutorial you will learn how to effectively use binary search in Java!
Problem: In Java Deque can be used as LIFO Queue, which is a Stack. In this Java tutorial we’ll explain how it works and show how to use JDK API effectively!
Problem: In Java there is a couple of ways to add an array of items to a collection. In the following examples we’ll cover a few of them.
Problem: Java 7 finally has shipped try with resources construct that simplifies very common use case when developer had to open some resource and then close in finally block after usage. try with resources makes it very simple. Learn how!
Problem: What means java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0 and how to deal with it?
Problem: How to find Fibonacci numbers in Java?
Problem: How to use foreach loop (enhanced for) that came with Java 5?