public static NumberBinding add (ObservableNumberValue op1, long op2)

Creates a new javafx.beans.binding.NumberBinding that calculates the sum of the value of a javafx.beans.value.ObservableNumberValue and a constant value.

Parameters:
op1     the ObservableNumberValue
op2     the constant value

Returns:  the new NumberBinding

Exceptions:
NullPointerException     if the ObservableNumberValue is null