ConditionScopes.IfTrueScope


public class ConditionScopes.IfTrueScope<T extends DynamicBuilders.DynamicType, RawT>


Condition scope to allow binding the true value in a onConditional expression, yielding a resulting Dynamic value.RawT is the native Java type that can be used when constructing a constant T (e.g. String for DynamicString).

Summary

Public methods

T
elseUse(T valueWhenFalse)

Sets the value to use as the value when false in a conditional expression.

T
elseUse(RawT valueWhenFalse)

Sets the value to use as the value when false in a conditional expression.

Public methods

elseUse

Added in 1.0.0
public T elseUse(T valueWhenFalse)

Sets the value to use as the value when false in a conditional expression.

elseUse

Added in 1.0.0
public T elseUse(RawT valueWhenFalse)

Sets the value to use as the value when false in a conditional expression.