Converting java code to swift code

Is there anywhere I can get java code converted into swift code?

I tried learning how to download and install the j2objc converter but was too confusing.

any help would be greatly appreciated.

Below is a link to the stack overflow question I posted for the code I need converting:


You can just do “Paste Java as” or “Add & Convert” in Fire, Water or VS. See for details.