【学习Android NDK开发】Type Signatures(类型签名)
2012-10-11 16:50
417 查看
类型签名(Type Signatures)
(<Parameter 1 Type Code>[<Parameter 1 Class>];...)<Return Type Code>
The JNI uses the Java VM’s representation of type signatures. Following Table shows these type signatures.
For example, the Java method:
long f (int n, String s, int[] arr);
has the following type signature:
(ILjava/lang/String;[I)J
(<Parameter 1 Type Code>[<Parameter 1 Class>];...)<Return Type Code>
The JNI uses the Java VM’s representation of type signatures. Following Table shows these type signatures.
[b]Type Signature[/b] | [b]Java Type[/b] |
Z | booleab |
B | byte |
C | char |
S | short |
I | int |
J | long |
F | float |
D | double |
L full-qualified-class | full-qualified-class |
[type | type[] |
(arg-types)ret-type | method type |
long f (int n, String s, int[] arr);
has the following type signature:
(ILjava/lang/String;[I)J
相关文章推荐
- Android NDK开发 JNI类型签名和方法签名(六)
- 【学习Android NDK开发】Primitive Types Map(基本类型映射)
- Android NDK开发之 NDK类型签名
- Android开发学习:Android Studio如何签名
- 【IPHONE开发-OBJECTC入门学习】基本数据类型
- 近期.NET学习及项目开发整理-SQLSERVER中的数据类型和C#中数据类型的对应
- 【学习Android NDK开发】native code通过JNI调用Java方法
- springmvc学习笔记(12)-springmvc注解开发之包装类型參数绑定
- <<Android源码设计模式解析与实战>>读书笔记----- Android NDK开发学习
- <学习html>第二天笔记-标签分类、关系;开发工具;文档类型;标签语义化;HTML标签;问题“图像标签代码语法无误,但是图像显示不出来”
- 基于 Android NDK 的学习之旅-----数据传输(引用数据类型)
- 基于 Android NDK 的学习之旅-----JNI 数据类型
- Oracle Database 11g SQL 开发指南学习笔记:binary_float和binary_double数据类型
- IOS开发学习笔记(十一)——ObjectC中集合类型的使用
- 【IPHONE开发-OBJECTC入门学习】基本数据类型
- Android NDK (学习笔记七) —— JNI的交互处理之Eclipse开发工具配置
- iOS开发学习笔记 2-2 C语言部分 类型、运算符与表达式
- 【学习Android NDK开发】native code通过JNI调用Java方法
- Android中关于JNI 的学习(二)对于JNI方法名,数据类型和方法签名的一些认识