File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 502

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: 968

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.
Don't get me started about those stupid light bulbs.
subject: Convert Scala to Java