public static OptionalLong optionalLong(ModelNode value) {
        return value.isDefined() ? OptionalLong.of(value.asInt()) : OptionalLong.empty();
    }
public static OptionalLong optionalLong(ModelNode value) {
        return value.isDefined() ? OptionalLong.of(value.asInt()) : OptionalLong.empty();
    }
public static OptionalLong optionalLong ( ModelNode value ) { return value . isDefined ( ) ? OptionalLong . of ( value . asInt ( ) ) : OptionalLong . empty ( ) ; }
Returns the optional long value of the specified {@link ModelNode}.
@param value the model node
@return an optional value
Returns the optional long value of the specified {