Methods I made for use in various of my java projects