Package org.lwjgl

Class PointerWrapperAbstract

    • Field Detail

      • pointer

        protected final long pointer
    • Constructor Detail

      • PointerWrapperAbstract

        protected PointerWrapperAbstract​(long pointer)
    • Method Detail

      • isValid

        public boolean isValid()
        Returns true if this object represents a valid pointer. The pointer might be invalid because it is NULL or because some other action has deleted the object that this pointer represents.
        Returns:
        true if the pointer is valid
      • checkValid

        public final void checkValid()
        Checks if the pointer is valid and throws an IllegalStateException if it is not. This method is a NO-OP, unless the org.lwjgl.util.Debug property has been set to true.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object