Useful Java one liners