Learn how to create a new scala SBT project using Giter8.
Here's what I've written (so far):
Baeldung on Scala
- All
- Scala Collections (15)
- Scala IO (4)
- Scala Strings (3)
- Build Tools (2)
- Scala Syntax (1)
- Scala Numbers (1)
- Scala Basics (1)
Querying Mappings in Scala Maps
Filed under Scala Collections
Learn how to query Maps for the existence of the query keys.
Using foreach() Method in Scala Collections
Filed under Scala Collections
Learn how to use foreach() Method in Scala Collections
Find Min and Max of a Collection in Scala
Filed under Scala Collections
Learn how to find the min and max of different collections in Scala.
Remove All Whitespace From a String in Scala
Filed under Scala Strings
Learn to remove all whitespace from a string in Scala.
Remove an Item by Index From a List
Filed under Scala Collections
Learn how to remove an item by index from a list in Scala.
Count the Number of Occurrences of an Element in a List
Filed under Scala Collections
Learn how to count the number of occurrences of an element in a list in Scala.
Replace Elements in a Scala List by Index
Filed under Scala Collections
Learn how to replace elements in a Scala List by index.
Shuffle Collections in Scala
Filed under Scala Collections
Learn how to shuffle Scala collections.
Create a List With the Same Repeated Element
Filed under Scala Collections
Learn how to make a list in Scala by repeating the same element.
Get a Random Element From an Array in Scala
Filed under Scala Collections
Learn how to draw a random element from a Scala array.
Find the Element With Max Value in a Map in Scala
Filed under Scala Collections
Learn how to find the maximal element in a Scala Map.
Generate a List of Random Numbers in Scala
Filed under Scala Collections
Learn how to generate a list of random numbers.
List Files in a Directory in Scala
Filed under Scala IO
Learn how to list files in a local filesystem.
Remove Elements from the End of a String in Scala
Filed under Scala Strings
Learn how we to remove characters from the end of a String in Scala.
Get a Random Number in Scala
Filed under Scala Numbers
Learn how to generate a random number in Scala.
Find Unique Items in a List in Scala
Filed under Scala Collections
Learn how to find unique items in a list using Scala
Console I/O in Scala
Filed under Scala IO
Learn how to read user input using Scala.
Guide to ArrayBuffer
Filed under Scala Collections
In this tutorial, we’ll dig into the Scala ArrayBuffer class.
Read a File From the Resources Folder in Scala
Filed under Scala IO
In this tutorial, we’ll learn different approaches to reading a file from the resources folder in Scala
Printing Arrays in Scala
Filed under Scala Collections
In this tutorial, we’ll learn different approaches to printing the contents of an Array in Scala.
Check if a String is a number in Scala
Filed under Scala Strings
In this tutorial, we’ll see a few different solutions to check if a given string is a number using Scala.
Check If a File or Path Exists in Scala
Filed under Scala IO
Learn a few different solutions to find if a given file or directory exists using Scala.
Guide to Annotations in Scala
Filed under Scala Basics
Learn about annotations in Scala.
Optional Braces in Scala 3
Filed under Scala Syntax
Learn about optional braces in Scala 3.
Parameter Untupling in Scala 3
Filed under Scala Collections
In this tutorial, we’ll look into the new parameter untupling capabilities introduced in Scala 3.
How to See The Dependency Tree in SBT?
Filed under Build Tools
In this tutorial, we’ll see why and how to use SBT to check our project dependency tree.