Common java utility clases