com.sun.jna.Native.loadLibraryInstance()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(0.7k)|赞(0)|评价(0)|浏览(250)

本文整理了Java中com.sun.jna.Native.loadLibraryInstance()方法的一些代码示例,展示了Native.loadLibraryInstance()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Native.loadLibraryInstance()方法的具体详情如下:
包路径:com.sun.jna.Native
类名称:Native
方法名:loadLibraryInstance

Native.loadLibraryInstance介绍

[英]Attempts to force initialization of an instance of the library interface by loading a public static field of the requisite type. Returns whether an instance variable was instantiated. Expects that lock on libraries is already held
[中]试图通过加载必需类型的公共静态字段来强制初始化库接口的实例。返回实例变量是否已实例化。希望已经锁定了库

代码示例

代码示例来源:origin: net.java.dev.jna/jna

loadLibraryInstance(mappingClass);
} else {
  mappingClass = type;

代码示例来源:origin: org.elasticsearch/jna

loadLibraryInstance(mappingClass);
} else {
  mappingClass = type;

相关文章

Native类方法