< prev index next >
modules/javafx.base/src/main/java/javafx/beans/binding/When.java
Print this page
@@ -859,10 +859,11 @@
/**
* Defines the {@link javafx.beans.value.ObservableObjectValue} which value
* is returned by the ternary expression if the condition is {@code true}.
*
+ * @param <T> the type of the wrapped {@code Object}
* @param thenValue
* the value
* @return the intermediate result which still requires the otherwise-branch
*/
public <T> ObjectConditionBuilder<T> then(final ObservableObjectValue<T> thenValue) {
@@ -874,10 +875,11 @@
/**
* Defines a constant value of the ternary expression, that is returned if
* the condition is {@code true}.
*
+ * @param <T> the type of the wrapped {@code Object}
* @param thenValue
* the value
* @return the intermediate result which still requires the otherwise-branch
*/
public <T> ObjectConditionBuilder<T> then(final T thenValue) {
< prev index next >