Returns a value after performing if else statement on input values.
Returns a value after performing if else statement on input values. On case length 3, first element is boolean, second element is value to return if boolean is true, third element is value to return if boolean is false. On case length 5 and greater, first element is boolean, second element is value to return if boolean is true, third element is another boolean condition if first element is false, fourth element is to be returned if third element is true, and so on...
value associated with boolean true.
(Since version ) see corresponding Javadoc for more information.