“核心技术Ⅱ:本地方法”的版本间差异
(建立内容为“category:JavaCore”的新页面) |
无编辑摘要 |
||
第1行: | 第1行: | ||
[[category:JavaCore]] | [[category:JavaCore]] | ||
12.1 从Java 程序中调用C 函数•.. 752 | |||
12.2 数值参数与返回值, ··· · ·············757 | |||
12.3 字符串参数······· · ······· · ········· · ··759 | |||
12.4 访问域····················· · ············764 | |||
12.4.1 访问实例域·············· · ········765 | |||
12.4.2 访问静态域·········· · ············768 | |||
12.5 编码签名······· · ··········· · ···········769 | |||
12.6 调用Java 方法·············· · • ·······770 | |||
12.6. l 实例方法· · ·············· · ·······771 | |||
12.6.2 静态方法.......................... 774 | |||
12.6.3 构造器,.. . . . ......... . .............. 775 | |||
12.6.4 另一种方法调用······ · ··· · · ····775 | |||
12.7 访问数组元素············· · · ·· · ······777 | |||
12.8 错误处理······· ·· ·················· ·· " 780 | |||
12.9 使用调用API················......... 785 | |||
12.10 完整的示例:访问Windows注册表· · ············· · ············· · ···789 | |||
12.10.1 Windows 注册表概述..... 789 | |||
12.10.2 访问注册表的Java 平台接口······ · ··· · ······ · ·············791 | |||
12.10.3 以本地方法方式实现注册表访间函数............... 791 |
2020年11月21日 (六) 19:10的最新版本
12.1 从Java 程序中调用C 函数•.. 752
12.2 数值参数与返回值, ··· · ·············757
12.3 字符串参数······· · ······· · ········· · ··759
12.4 访问域····················· · ············764
12.4.1 访问实例域·············· · ········765
12.4.2 访问静态域·········· · ············768
12.5 编码签名······· · ··········· · ···········769
12.6 调用Java 方法·············· · • ·······770
12.6. l 实例方法· · ·············· · ·······771
12.6.2 静态方法.......................... 774
12.6.3 构造器,.. . . . ......... . .............. 775
12.6.4 另一种方法调用······ · ··· · · ····775
12.7 访问数组元素············· · · ·· · ······777
12.8 错误处理······· ·· ·················· ·· " 780
12.9 使用调用API················......... 785
12.10 完整的示例:访问Windows注册表· · ············· · ············· · ···789
12.10.1 Windows 注册表概述..... 789
12.10.2 访问注册表的Java 平台接口······ · ··· · ······ · ·············791
12.10.3 以本地方法方式实现注册表访间函数............... 791