Java Method has the functionality of an IF-THEN-ELSE statement
<p>Is there any method has the functionality of an IF-THEN-ELSE statement in java like <code>decode</code> function in Oracle/PLSQL ?</p>
