Scala Snippets Library
A library of code snippets written in Scala language
List of folders and
files with examples (click any file to see a description):
Collections: How to work with Scala collections
Collections.scala: This script shows how to create basic types of collections
DataTypes: How to declare and use variables of different data types
Arrays.scala: This script shows how to declare and use array variables
CharAndString.scala: This script shows how to use the Char and String data types
NumericDataTypes.scala: This script shows how to declare and use different numeric data types
OtherSimpleDataTypes.scala: This script shows how to use other simple data types, such as
Strings.scala: This script shows how to work with String literals and String variables.
Variables.scala: This script shows how to declare and initialize variables in Scala.
Iterators: How to iterate through arrays and collections
UseJavaLibraries: How to use some Java Libraries from Scala