Skip to content
Latest Posts:
Creating test data using Python
How to replace multiple strings with their corresponding replacement strings in Scala
How to make the first character uppercase of each word of a List in Scala

Clear ur Doubt

  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Projects
    • Python
      • Simple ETL Pipeline
  • Home
  • Blog
  • Set

Tag: Set

Nov 02

How to add multiple elements to a Set object in Scala

Sai Gowtham BadvityLeave a commentScalaAdding Multiple elements, Scala, Set

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to add all Array elements to a Set object. We can use array.toSet() method or Set.apply() method to add all the elements of an Array Read more

Nov 01

How to remove duplicates from an Array in Scala

Sai Gowtham BadvityLeave a commentScalaarray, removing duplicates, Set

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to remove duplicates for an Array. We can achieve this by converting it to a Set object and then converting the set to array again. Read more

Recent Posts

  • Creating test data using Python
  • How to replace multiple strings with their corresponding replacement strings in Scala
  • How to make the first character uppercase of each word of a List in Scala

Recent Comments

  • Sai Gowtham Badvity on Calculator program in Scala
  • Sai Aditya on Calculator program in Scala
  • pragadeeshwaran on How to add a new column and update its value based on the other column in the Dataframe in Spark
May 2025
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Aug    
Copyright © All rights reserved.
University Hub by WEN Themes
Scroll Up