looking over all that code, defiantly better to clone than port.
I take that back. It may be doable. but it doesn't look fun

It would be great for referencing though.
Its not too hard to read either. chances are, most of you can read it without knowing java. especially if you know c.