Utility library in Java