Core java 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 …

Install Jenkins on Mac OS X

In this tutorial, we will see how to install Jenkins on Mac OS X. Step 1:Open browser and enter URL https://jenkins.io/download Step 2:Scroll down the page until you see the Mac OS X section then …

Java Regex for alphanumeric characters

In this post, we will see how to create regex alphanumeric which will create only alphanumeric characters. There are times when you need to validate user’s input. It should contain only characters from a-z, A-Z …

Join Our News Letter - Stay Updated

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