General utilties for my java projects