aspose file tools
The moose likes Scala and the fly likes Convert Scala to Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Convert Scala to Java" Watch "Convert Scala to Java" New topic

Convert Scala to Java

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Hell all,

I need to convert scala to Java. In other words, I need to convert Scala based JavaCV examples to Java. I really don't want to learn scala. Can anyone suggest me a way? A tool, site, addon or whatever. Please help.

Are you better than me? Then please show me my mistakes..
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 919

Scala's operational characteristics are the same as Java's. The Scala compiler generates byte code that is nearly identical to that generated by the Java compiler. In fact, Scala code can be decompiled to readable Java code, with the exception of certain constructor operations. To the JVM, Scala code and Java code are indistinguishable.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Convert Scala to Java