Topics
Scala
About this topic: Articles tagged __TAG__
Showing 70 articlesRelated tags
Topics
Articles
Showing 70 articles
How-tos
How to Get the Current Timestamp in Scala
This article introduces how to get the current timestamp in Scala. Learn about various methods such as using System.currentTimeMillis, java.time.Instant, and LocalDateTime. Each …
↗
How-tos
Companion Objects in Scala
This article introduces companion objects in Scala, explaining their features, best practices, and how they enhance code organization and encapsulation. Learn how to effectively …
↗
How-tos
How to Reassignment to a Val in Scala
This article explores how to effectively manage state in Scala without reassigning a val. Learn about the immutability of val, and discover alternative methods such as using …
↗
How-tos
MapReduce Using Apache Spark
This article explores MapReduce using Apache Spark, highlighting its advantages over traditional methods. Learn how to implement word count, find maximum values, and perform data …
↗
How-tos
Scala substring() Function
This article explores the substring function in Scala, a powerful tool for string manipulation. Learn how to extract specific portions of strings with practical examples, …
↗
How-tos
How to Convert Int to String in Scala
This article discusses how to convert an integer to a string in Scala. Explore various methods, including toString, string interpolation, String.valueOf, and String.format. You'll …
↗
How-tos
How to Return Boolean With If-Else in Scala
This article discusses how to return Boolean values using if-else statements in Scala. It provides clear examples and detailed explanations to help developers understand this …
↗
How-tos
How to Concatenate Strings in Scala
This article explores how to concatenate strings in Scala, covering various methods such as the + operator, string interpolation, mkString, and StringBuilder. Learn efficient …
↗
How-tos
How to Write SQL Queries in Scala
This article discusses how to write SQL queries in Scala, covering both JDBC and Slick approaches. Learn how to connect to databases, execute queries, and retrieve results …
↗
How-tos
Difference Between Object and Class in Scala
This article discusses the difference between object and class in Scala, providing a comprehensive overview of their definitions, key differences, and practical use cases. Learn …
↗
How-tos
Sealed Traits in Scala
This article introduces sealed traits in Scala, explaining their purpose, benefits, and when to use them. Learn how sealed traits enhance type safety and improve pattern matching …
↗
How-tos
How to Print Case Classes Like Pretty Printed Tree in Scala
This article explores how to print case classes in Scala like a pretty-printed tree. Discover methods using Scala's built-in pretty printer, custom functions, and third-party …
↗
How-tos
Three Question Marks in Scala
This article explores the use of three question marks (???) in Scala, explaining their role as placeholders for unimplemented code. Discover how to effectively use this syntax for …
↗
How-tos
Simple Build Tool in Scala
Learn about the Simple Build Tool (SBT) in Scala, a powerful tool for managing dependencies, compiling code, and running tests. This comprehensive guide covers installation, …
↗
How-tos
The andThen Function in Scala
This article explores the andThen function in Scala, a powerful tool for function composition. Discover how to use andThen to enhance code readability and maintainability through …
↗
How-tos
How to Work With Regex in Scala
This article talks about how to work with Regex class in Scala.
↗
How-tos
How to Merge Two Maps in Scala and Then Sum the Values With the Same Key
This article shows different methods to merge two maps in Scala and then sum the values who have the same key
↗
How-tos
How to Append Elements to List in Scala
This article shows different methods of appending elements to list in Scala
↗
How-tos
How to Write Text Into a File in Scala
This article will show how to write text into a file in Scala.
↗
How-tos
How to Uses of implicit in Scala
This article shows the uses of implicit in Scala with examples and outputs.
↗
How-tos
How to Print Array in Scala
This article shows the different methods on how to print an array in Scala.
↗
How-tos
Synchronization in Scala
In this tutorial, we will introduce synchronization and demonstrate how to use synchronized in Scala language.
↗
How-tos
How to Format Strings in Scala
This article introduces the string formatting techniques in Scala.
↗
How-tos
How to Find a Substring of String in Scala
This article introduces how to find a substring in Scala.
↗
No articles found
Try clearing the filters.