📜  java 指针 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:04.438000             🧑  作者: Mango

代码示例2
There are no pointers in Java. However, there is a Pointer class in JNA, which is very likely NOT what are you looking for.
The only way to get and use pointers is through using Unsafe. The mechanisms are implementation-dependent between JDKs and the Unsafe class may be available at sun.misc.Unsafe or at jdk.internal.misc.Unsafe.