Java common utility classes.