Collection library for Scala Programming Language
Is there an equivalent of Nil for Set in scala? I tried using Nil as a value for Set, but …
scala scala-collectionsI have a sequence of key-value pairs (String, Int), and I want to group them by key into a sequence …
scala scala-collectionsHow can I quickly create a List[Int] that has 1 to 100 in it? I tried List(0 to 100), but it returns …
scala scala-collectionsCan I use scala List in Java, like : import scala.collection.immutable.List; class HelloScalaList { public static void main (String[] …
java scala-collections scala-java-interopIn Scala collections, if one wants to iterate over a collection (without returning results, i.e. doing a side effect …
scala foreach scala-collections side-effectsEach time a function is called, if it's result for a given set of argument values is not yet memoized …
scala data-structures memoization scala-collectionsI am new to this authentication area. I searched a lot but was not able to find a way to …
scala playframework playframework-2.0 scala-collections typesafe-activatorComing from a Java background, I'm used to the common practice of dealing with collections: obviously there would be exceptions …
java scala scala-collectionsI recently stumbled over this post, which "introduces" the collect method for Scala collections. The usage is straight forward: scala&…
scala compiler-construction jvm scala-collections type-erasureIn Scala Collection documentation, there is some clue to this question: Trait Seq has two subtraits LinearSeq, and IndexedSeq. These …
scala scala-collections seq