Core Java
-
Capitalize words of a string
This is an example of how to capitalize the words of a String. We are using the org.apache.commons.lang3.text.WordUtils Class, that…
Read More » -
Generate random alphanumeric string
In this example we shall show you how to generate random alphanumeric String objects. We are using the org.apache.commons.lang3.RandomStringUtils class, that…
Read More » -
Date and Time format
With this example we are going to demonstrate how to make Date and Time formatting. We are using the org.apache.commons.lang3.time.DateFormatUtils…
Read More » -
Word counter
This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class. This class provides…
Read More » -
Convert array to Map
In this example we shall show you how to convert an array to a Map. We are using the org.apache.commons.lang3.ArrayUtils class,…
Read More » -
Array reverse order
With this example we are going to demonstrate how to reverse the order of an array. We are using the…
Read More » -
Array of Objects to Array of primitives
This is an example of how to convert an array of Objects to an array of primitives. We are using the…
Read More » -
Check empty string
In this example we shall show you how to check if a String is empty. We are using the org.apache.commons.lang3.StringUtils class,…
Read More » -
Find elements in an array
With this example we are going to demonstrate how to find elements in an array. We are using the org.apache.commons.lang3.ArrayUtils…
Read More » -
Decode Base64
This is an example of how to decode Strings with the Base64 algorithm. We are using the org.apache.commons.codec.binary.Base64 class that provides…
Read More »