scala
From Java, how can I access a var defined in a Scala trait?
I have a trait that defines a single var and a single function like what follows: trait MyTrait { var myVar: Boolean[详细]
2023-04-12 02:57 分类:问答How do I get the 'package' task in my project
In apparently the 0.7 format of sbt projects a user might create a project with the following information:[详细]
2023-04-12 02:36 分类:问答MongoDB - anonymizing 600k records
I am trying to anonymize a large data set of about 600k records (removing sensitive information like email, etc.) so that it can be used for some perfo开发者_如何学Crmance tests.[详细]
2023-04-12 02:12 分类:问答Android Intents and Scala
I am attempting to convert the following tutorial, http://savagelook.com/blog/android/swipes-or-flings-for-navigation-in-android, into Scala code for an开发者_如何学Godroid.I have everything working w[详细]
2023-04-12 02:05 分类:问答Scala compiler cannot infer mix-in type for pattern matching
I have a use case for algebraic groups over finite permutation sets. Because I would like to use the group for various permutation classes which are otherwise unrelated, I would like to do this as a m[详细]
2023-04-12 01:52 分类:问答Working with nested maps from a JSON string
Given a JSON string like this: {\"Locations\": {\"list\": [ {\"description\": \"some description\", \"name\": \"the name\", \"id\": \"dev123\"},[详细]
2023-04-12 01:02 分类:问答Why isn't there an orElse method on PartialFunction that accepts a total function?
Why is there no method with following signature on class PartialFunction[A, B]? def orElse[A1 <: A, B1 >: B](that: A1 => B1): A1 => B1[详细]
2023-04-12 00:07 分类:问答What do I need for a Webpage if I would use Scala + MongoDB
I have to make a small project and I have to use a nosql db and a language which runs on the JVM. So i thought: Scala and MongoDB[详细]
2023-04-11 23:49 分类:问答IntelliJ IDEA doesn't load Lift libraries from a SBT project
I\'ve created a blank project via sbt using the most basic guide, specifically: > cd xyz > sbt # here we create a new project w/ Scala 2.8.1[详细]
2023-04-11 23:09 分类:问答What is Scala's Comparable trait?
I am searching for Scala counterpart of C# IComparable, and I found Comparable trait. I mean -- Comparable is mentioned, but when I search for it at http://www.scala-lang.org/api/current/scala/ I get[详细]
2023-04-11 22:48 分类:问答