Package com.sun.jna

Interface NativeMapped

    • Method Detail

      • fromNative

        Object fromNative​(Object nativeValue,
                          FromNativeContext context)
        Convert the given native object into its Java representation using the given context.
        Parameters:
        nativeValue - Java representation of the native type to be converted.
        context - Context in which the conversion is taking place.
        Returns:
        Converted object.
      • toNative

        Object toNative()
        Convert this object into a supported native type.
        Returns:
        Java representation of the original Java object converted to a native type.
      • nativeType

        Class<?> nativeType()
        Indicate the native type used by this converter.
        Returns:
        Java class representation of the native type.