public static DoubleBinding max (ObservableNumberValue op1, double op2)

Creates a new javafx.beans.binding.DoubleBinding that calculates the maximum of the value of a javafx.beans.value.ObservableNumberValue and a constant value.

Parameters:
op1     the ObservableNumberValue
op2     the constant value

Returns:  the new DoubleBinding

Exceptions:
NullPointerException     if the ObservableNumberValue is null