An utility library to aid the port of C-code to java