public abstract class PointerWrapperAbstract extends java.lang.Object implements PointerWrapper
Modifier and Type | Field and Description |
---|---|
protected long |
pointer |
Modifier | Constructor and Description |
---|---|
protected |
PointerWrapperAbstract(long pointer) |
Modifier and Type | Method and Description |
---|---|
void |
checkValid()
Checks if the pointer is valid and throws an IllegalStateException if
it is not.
|
boolean |
equals(java.lang.Object o) |
long |
getPointer() |
int |
hashCode() |
boolean |
isValid()
Returns true if this object represents a valid pointer.
|
java.lang.String |
toString() |
public boolean isValid()
public final void checkValid()
public final long getPointer()
getPointer
in interface PointerWrapper
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.