Scala is a general-purpose programming language principally targeting the Java Virtual Machine.
I'm trying to search a scala collection for an item in a list that matches some predicate. I don't necessarily …
scala collections idiomsSealed classes are described in 'Programming in Scala', but sealed traits are not. Where can I find more information about …
scala sealed traitsMy application does large data arrays processing and needs more memory than JVM gives by default. I know in Java …
scala sbtval map1 = Map(1 -> 9 , 2 -> 20) val map2 = Map(1 -> 100, 3 -> 300) I want to merge them, and …
scala map mergeAs I understand it, in Scala, a function may be called either by-value or by-name For example, given the following …
scalaI am using SBT 0.12.0. I have read other answers on stack overflow and followed them, however none of them helps, …
scala sbtI have a Java API that returns a List like: public List<?> getByXPath(String xpathExpr) I am using …
java scalaWhen a resilient distributed dataset (RDD) is created from a text file or collection (or from another RDD), do we …
scala apache-spark rddI can see there's a sorting object, Sorting, with a quicksort method, quickSort, on it. What would be a code …
sorting scalaI'm trying to make multiple operations in one line of code in pySpark, and not sure if that's possible for …
java scala apache-spark pyspark apache-spark-sql