org.xvolks.jnative.misc.basicStructures
Class AbstractBasicData<T>
java.lang.Object
org.xvolks.jnative.misc.basicStructures.AbstractBasicData<T>
- All Implemented Interfaces:
- BasicData<T>
- Direct Known Subclasses:
- HWND, INT64, LONG, MemoryStatusEx, Point, UINT
public abstract class AbstractBasicData<T>
- extends java.lang.Object
- implements BasicData<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mValue
protected T mValue
pointer
protected Pointer pointer
offset
protected int offset
AbstractBasicData
protected AbstractBasicData(T lValue)
getNextByte
protected byte getNextByte()
throws NativeException
- Throws:
NativeException
getNextShort
protected short getNextShort()
throws NativeException
- Throws:
NativeException
getNextInt
protected int getNextInt()
throws NativeException
- Throws:
NativeException
getNextLong
protected long getNextLong()
throws NativeException
- Throws:
NativeException
getPointer
public Pointer getPointer()
- Method getPointer
- Specified by:
getPointer
in interface BasicData<T>
- Returns:
- a Pointer
getValue
public T getValue()
- Method getValue
- Specified by:
getValue
in interface BasicData<T>
- Returns:
- a T
getValueAsString
public java.lang.String getValueAsString()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object