Conditional If Java Within One Line