Programming

Java Stream distinct() Function to Remove Duplicates — step-by-step Programming tutorial on Progressive Robot

Java Stream distinct() Function to Remove Duplicates

URL: https://www.progressiverobot.com/java-stream-distinct-function/ Java Stream distinct() method returns a new stream of distinct elements. It's useful in removing duplicate elements from the collection before processing them. Java Stream distinct() Method The elements are compared using the [equals() method](/community/tutorials/java-equals-hashcode). So it's necessary that the [stream](/community/tutorials/java-8-stream) elements have proper implementation of equals() method. If the stream is ordered, […]

Read more
java.util.ConcurrentModificationException — step-by-step Programming tutorial on Progressive Robot

java.util.ConcurrentModificationException

Java Collection classes are fail-fast which means that if the Collection will be changed while some thread is traversing over it using iterator, the iterator.next() will throw ConcurrentModificationException. This situation can come in case of multithreaded as well as single threaded environment.

Read more
Java Convert String to double — step-by-step Programming tutorial on Progressive Robot

Java Convert String to double

URL: https://www.progressiverobot.com/java-convert-string-to-double/ Java String to double conversion can be done by many ways. Today we will look into some common ways to convert java string to double primitive data type or Double object. Note that since java supports autoboxing, double primitive type and Double object can be used interchangeably without any issues. Double d1 = […]

Read more
Core Java Tutorial — step-by-step Programming tutorial on Progressive Robot

Core Java Tutorial

Welcome to Core Java Tutorial. We have written a lot on Core Java and Java EE frameworks. There was no index post for Core Java tutorial and we used to get emails asking to make one so that any beginner can follow them and learn core java programming. Finally, we got time and here we […]

Read more
Java read text file — step-by-step Programming tutorial on Progressive Robot

Java read text file

URL: https://www.progressiverobot.com/java-read-text-file/ There are many ways to read a text file in java. Let's look at java read text file different methods one by one. Java read text file ![java read file, java read text file](images/java-read-text-file-section-1.png) There are many ways to read a text file in java. A text file is made of characters, so […]

Read more
What is Laravel? — step-by-step Programming tutorial on Progressive Robot

What is Laravel?

Laravel is a free and open-source PHP framework that provides a set of tools and resources to build modern PHP applications. With a complete ecosystem leveraging its built-in features, and a variety of compatible packages and extensions, Laravel has seen its popularity grow rapidly in the past few years, with many developers adopting it as their framework of choice for a streamlined development process.

Read more
Height of a Tree Data Structure — step-by-step Programming tutorial on Progressive Robot

Height of a Tree Data Structure

In this tutorial, we'll be discussing Binary Trees. We'll see how to calculate the height of a tree data structure recursively as well as iteratively. Binary Trees Binary Trees are a data structure in which data is stored in a hierarchical manner rather than linear (as it is done in [LinkedList](/community/tutorials/java-linkedlist-linkedlist-java) and Arrays). A Binary […]

Read more
Como construir loops for no Go — step-by-step Programming tutorial on Progressive Robot

Como construir loops for no Go

Em programação de computadores, um loop é uma estrutura de código que faz um loop para executar repetidamente uma parte de um código, frequentemente até que alguma condição seja alcançada. O uso de loops em programação de computadores permite que você automatize e repita…

Read more
CHAT