[Java] Utility classes