public static Optional<Float> optionalFloat(ModelNode value) {
        return value.isDefined() ? Optional.of(asFloat(value)) : Optional.empty();
    }
public static Optional<Float> optionalFloat(ModelNode value) {
        return value.isDefined() ? Optional.of(asFloat(value)) : Optional.empty();
    }
public static Optional < Float > optionalFloat ( ModelNode value ) { return value . isDefined ( ) ? Optional . of ( asFloat ( value ) ) : Optional . empty ( ) ; }
Returns the optional float value of the specified {@link ModelNode}.
@param value the model node
@return an optional value
Returns the optional float value of the specified {