Skip to content
A library of code snippets written in Scala language
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Collections
DataTypes
Iterators
UseJavaLibraries
.gitattributes
.gitignore
README.md

README.md

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

  • 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 Boolean, Any, AnyVal, AnyRef and Symbol
    • 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

    • UseMULAN.scala: Example on how to access the MULAN Java Library to work with multilabel datasets
    • UseMULANMeasures.scala: This script shows how to use the metrics for multilabel classification assessing on the MULAN library
You can’t perform that action at this time.