Interface PolyglotValueConverter<T>

Type Parameters:
T - The converted type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Internal @FunctionalInterface public interface PolyglotValueConverter<T>
Converts a polyglot value to a generated Java wrapper type.
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(org.graalvm.polyglot.Value value)
    Convert the supplied value.
  • Method Details

    • convert

      T convert(org.graalvm.polyglot.Value value)
      Convert the supplied value.
      Parameters:
      value - The source value
      Returns:
      The converted value