Tutorial by Topics: scala

Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages. Most given examples require a working Scala installation. This is the Scala ...
Reading Text files and performing operations on them.
Official documentation Package documentation You can use the play json package independently from Play by including "com.typesafe.play" % "play-json_2.11" % "2.5.3" in your build.sbt, see https://mvnrepository.com/artifact/com.typesafe.play/play-json_2.11 Addin...
class MyClassUsingAnother @Inject() (myOtherClassInjected: MyOtherClass) { (...) } @Singleton class MyClassThatShouldBeASingleton (...)
Goes above methods, fields, classes or packages. Starts with /** Each line has an starting * proceding with the comments Ends with */ ParameterDetailsClass specific_@constructor detailExplains the main constructor of the classMethod specific_@return detailDetails about what is returned on...
SQL provides several built-in scalar functions. Each scalar function takes one value as input and returns one value as output for each row in a result set. You use scalar functions wherever an expression is allowed within a T-SQL statement. CAST ( expression AS data_type [ ( length ) ] ) CON...
Often you need to execute commands under a different user or get root privileges. Those options allow you to become another user in the guest system. become: can be set to true or yes and triggers the user escalation settings. become_user: set to the desired user in the remote host. become_metho...
Inspired by game development UIPheonix is a super easy, flexible, dynamic and highly scalable UI framework + concept for building reusable component/control-driven apps for macOS, iOS and tvOS. The same API apply for cross platform development! Think of it as using Lego blocks, you can use similar o...
This document will show you how to call Scala jobs from a pyspark application. This approach can be useful when the Python API is missing some existing features from the Scala API or even to cope with performance issues using python. In some use cases, using Python is inevitable e.g you are buildi...
How to implement Bukkit plugins in the Scala programming language
In Ada's hierarchy of types, elementary types have sets of logically indivisible values. Among these types are the access types (pointer types) and the scalar types. The scalar types can be categorised as enumeration, character, and numeric. These types form the subject of this topic. In addition t...
Scala.js is a port from Scala that compiles to JavaScript, which at the end will be running outside the JVM. It has benefits as strong typing, code optimization at compile time, full interoperability with JavaScript libraries.
ScalaCheck is a library written in Scala and used for automated property-based testing of Scala or Java programs. ScalaCheck was originally inspired by the Haskell library QuickCheck, but has also ventured into its own. ScalaCheck has no external dependencies other than the Scala runtime, and works...
Scalaz is a Scala library for functional programming. It provides purely functional data structures to complement those from the Scala standard library. It defines a set of foundational type classes (e.g. Functor,Monad) and corresponding instances for a large number of data structures.

Page 1 of 1