Some custom java utilities I find useful.