All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.gr.java_conf.spica.expressionj.ifexpression.ElseIfStatement Maven / Gradle / Ivy

package jp.gr.java_conf.spica.expressionj.ifexpression;

import java.util.function.Supplier;

/**
 * else-if.
 *
 * @param  Result type of if expression
 */
public interface ElseIfStatement {

  /**
   * The valueSupplier will be called when the previous condition is true.
   *
   * @param valueSupplier the result will be returned when the else if condition is true
   * @return Then
   */
  Then then(Supplier valueSupplier);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy