Package org.graalvm.word
Interface PointerBase
- All Superinterfaces:
ComparableWord,WordBase
- All Known Subinterfaces:
CCharPointer,CCharPointerPointer,CDoublePointer,CFloatPointer,CFunctionPointer,CIntPointer,CIntPointerPointer,CLongPointer,CodePointer,CShortPointer,Isolate,IsolateThread,Pointer,VoidPointer,WordPointer
Marker interface for all
word types that have the semantic of a pointer (but not
necessarily all the memory access methods defined in Pointer).- Since:
- 19.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this pointer is not thenull pointer.booleanisNull()Returns true if this pointer is thenull pointer.Methods inherited from interface org.graalvm.word.ComparableWord
equal, notEqual
-
Method Details
-
isNull
boolean isNull()Returns true if this pointer is thenull pointer.- Since:
- 19.0
-
isNonNull
boolean isNonNull()Returns true if this pointer is not thenull pointer.- Since:
- 19.0
-