This is in reference to this question from Math SE: here.
Is there a way to import Java code into Mathematica? I'm looking for either:
- A conversion utility
- A method of manually converting
- A way for me to at least implement, edit, and run the code without having to learn Java.
My main objective would be to have a definite method of converting code like from the answer to this question (here) to a Mathematica notebook as I know how to work with Mathematica and have a raspberry pi, but don't know Java. What's the best way to do this? Or, if there's not a simple conversion method, what would the code be? Are there certain things I can look for in Java that correspond to things in Mathematica, or would the conversion require a high knowledge of both codes inner workings?
Thanks