Some useful java class. utils