Collections Archive

Java Collection to List

In this post, we will see how to convert Java Collection to List. There are many ways to do it, we will see two ways here. Using ArrayList constructor Above ArrayList‘s constructor creates a …

Java Collections shuffle

Shuffle method is to permute passed list with default or specifiedĀ randomness. Syntax Example : Let’s see both the function with the help of example. When you run above program, you will get below …

Collections in java

In this tutorial, we will seeĀ  about Collections in java. Collection framework is core part of java programming language. It is used in almost all the applications. Collections framework provides a way to store and …

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.
You can like our facebook page Java2blog