Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java pointer

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.
 
PREVIOUS NEXT
Tagged: #java #pointer
ADD COMMENT
Topic
Name
2+5 =