Java String toLowerCase() returns a string which is result of converting all characters in given string to lowercase. Convert string to lowercase in Java.
Category: Articles
Arraylist lastIndexOf() – Get last index of element in arraylist in Java
Learn to get last index of element in arraylist in Java using Arraylist.lastIndexOf() method. It returns the last occurrence of the element in this list.
Add multiple items to ArrayList in Java – HowToDoInJava
Learn to add multiple items to ArrayList. Learn to add all elements to an arraylist in Java. Learn to add only selected elements using Java 8 stream api.
Java8 StringJoiner, String.join() and Collectors.joining() Tutorial with all Details – 5 Different ways • Crunchify
Java Developer Platform 8 (Java8) is around since almost 3 years. We have published more than 10 different tutorials on Crunchify with all different
In Java8 How to join List of Objects? Collectors.joining Concatenates the input Elements, separated by the Delimiter • Crunchify
Collectors.joining() Concatenates the input Elements, separated by the Delimiter with provided Prefix and Suffix values. Yesterday I’ve published an
Java stream reduce
I have the following example data set that I want to transform / reduce using Java stream api based on direction’s value Direction int[]IN 1, 2OUT 3, 4OUT 5, 6, …
Working On the Leading Edge
This blog is the source for news about major Java announcements and the Java community.
In Java How to Perform File Search Operation using java.nio.file interface? Tutorial on File and Directory Operations • Crunchify
Java 8 has so many new functionalities and collection of features which are hidden inside packages. In this tutorial we will go over java.nio.file.Path
Oracle Releases New Java Microservices Framework — ADTmag
Oracle on Friday announced the first release of Project Helidon, a new collection of Java Libraries for writing microservices, and officially joined the Eclipse MicroProfile effort.
Java String concat() method example – HowToDoInJava
The Java String concat() method concatenates the method argument string to the end of string object. Concatenate two strings to produce combined string.
JDK 12 Switch Expression Encountering Unanticipated Enum Value
As I wrote about in my post ” Playing with JDK 12’s Switch Expressions “, the JDK 12 Early Access Builds have made it easy to experiment wi…
Java 8 Stream API – Does any stateful intermediate operation guarantee a new source collection?
Is the following statement true? (source and source – they seem to copy from each other or come from the same source). The sorted() operation is a “stateful intermediate operation”, which means …
Java String replace() method example – HowToDoInJava
The Java String replace() method replaces each substring of this string that matches the literal target substring. The matching process starts at index 0.
Java String replaceFirst() method example – HowToDoInJava
Java String replaceFirst() method example. It replaces the first substring ‘regex’ found that matches the given argument substring in this string.
TheServerSide.com: your Java Community discussing server side development
Java developers discussing Java J2EE, java software, Java programming and other trends in server side development