What is the difference between == and .equals() in Scala, and when to use which? Is the implementation same as in Java?
I guess it is not po开发者_Go百科ssible to invoke methods implemented in Scala traits from Java, or is there a way?
I have the following code: private lazy val keys: List[String] = obj.getKeys().asScala.toList obj.getKeys returns a java.util.Iterator<java.lang.String>
Is there a way in Scala to convert a List[Int] to java.util.List[java.lang.Integer]? I\'m interfacing with Java (Thrift).
I\'m porting some java code across and have the following val overnightChanges: java.util.Hashtable[String, Double] = ...
My java class is as follows public class Test { protected enum TestEnum {A, B, C}; public Test(TestEnum te) {
I have java API which return this type: ArrayList[ArrayList[String]] = Foo.someJavaMethod() In scala program, I need to send above type as a开发者_Go百科 parameter to a scala function \'bar\' whose
I have a strange problem with developing in Scala on Android. I\'m using sbt android plugin and right now I\'m trying to get content providers working, but...
I need a builder library that can be called from Scala and Java. Easy enough in Scala using default, named parameters. But how do I call this code from Java? See below. Or perhaps I should go with a f
I\'m using a library (JXPath) to query a graph of beans in order to extract matching elements. However, JXPath returns groups of matching elements as an instance of java.lang.Iterator and I\'drather l