scala-2.8
Is there a way in scala to execute arbitrary code on a remote node around using RemoteActor?
For example, I have a trusted client and a server.开发者_StackOverflow The client wants to execute arbitrary code on the server. Can this be achieved using RemoteActor (serialize a function and send i[详细]
2023-01-24 11:43 分类:问答Scala Properties Question
I\'m still learning Scala, but one thing I thought was interesting is that Scala blurs the line between methods and fields.For instance, I can build a class like this...[详细]
2023-01-24 10:05 分类:问答Why does the type parameter bound T <: Comparable[T] fail for T = Int?
scala> class Foo[T <: Comparable[T]](val x : T) defined class Foo scala> (3开发者_开发技巧: Int).asInstanceOf[Comparable[Int]][详细]
2023-01-24 06:50 分类:问答Help getting Scala 2.8 to work on Fedora 14 with Netbeans 6.9
I installed Scala 2.8 and NetBeans 6.9 on Fedora 14 (64-bit) by using repository versions (yum install scala netbeans). The开发者_StackOverflown I downloaded Scala 2.8 plugin for Nb6.9 from source-for[详细]
2023-01-24 02:19 分类:问答Scala 2.8.0 problems on Windows 7
I installed scala 2.8.0 last night and I seem to be having some issues getting it running. If I type scala at the command prompt it comes up with the following:[详细]
2023-01-23 17:21 分类:问答Is the PartialFunction design inefficient?
This is something I\'ve wondered about for a while. I see this pattern a lot: if (pf.isDefinedAt(in)) pf(in)[详细]
2023-01-23 09:31 分类:问答How do I convert Array[Node] to NodeSeq?
I\'m trying to integrate a Lift application into some existing Java code.In one of my snippets, I have an Array of Java objects that I need to map that into a NodeSeq.I can get an Array of Node\'s, bu[详细]
2023-01-22 06:05 分类:问答Scala Set implementation to use within business model?
Let\'s say we want to build a big social network (because social networks are all the rage at the moment). We\'ll start with a simple premise that anyone who wants to use our social network should be[详细]
2023-01-21 21:32 分类:问答How do I idiomatically handle null checks from within Scala/Lift?
Even with the prevalence of the Box and Option monads, we still have to check for null values here and there.The best I\'ve come up with so far is by using the Box#!! method:[详细]
2023-01-21 03:18 分类:问答convert unparameterized Java 1.4 Collection to parameterized Scala Sequence
How can I convert a java 1.4 Collection to a Scala Seq? I am trying to pass a java-collection to a scala method:[详细]
2023-01-20 18:58 分类:问答