public static OptionalDouble optionalDouble(ModelNode value) {
        return value.isDefined() ? OptionalDouble.of(value.asDouble()) : OptionalDouble.empty();
    }
public static OptionalDouble optionalDouble(ModelNode value) {
        return value.isDefined() ? OptionalDouble.of(value.asDouble()) : OptionalDouble.empty();
    }
public static OptionalDouble optionalDouble ( ModelNode value ) { return value . isDefined ( ) ? OptionalDouble . of ( value . asDouble ( ) ) : OptionalDouble . empty ( ) ; }
Returns the optional double value of the specified {@link ModelNode}.
@param value the model node
@return an optional value
Returns the optional double value of the specified {