public class SEL extends TypedPointer
Pointer.ListType, Pointer.Releaser, Pointer.StringType
defaultAlignment, NULL, SIZE
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Test equality of the pointer using the address.
|
boolean |
getBoolean()
Read a boolean value from the pointed memory location
|
boolean |
getBooleanAtOffset(long byteOffset)
Read a boolean value from the pointed memory location shifted by a byte offset
|
byte |
getByte()
Read a byte value from the pointed memory location
|
byte |
getByteAtOffset(long byteOffset)
Read a byte value from the pointed memory location shifted by a byte offset
|
char |
getChar()
Read a char value from the pointed memory location
|
char |
getCharAtOffset(long byteOffset)
Read a char value from the pointed memory location shifted by a byte offset
|
double |
getDouble()
Read a double value from the pointed memory location
|
double |
getDoubleAtOffset(long byteOffset)
Read a double value from the pointed memory location shifted by a byte offset
|
float |
getFloat()
Read a float value from the pointed memory location
|
float |
getFloatAtOffset(long byteOffset)
Read a float value from the pointed memory location shifted by a byte offset
|
int |
getInt()
Read a int value from the pointed memory location
|
int |
getIntAtOffset(long byteOffset)
Read a int value from the pointed memory location shifted by a byte offset
|
long |
getLong()
Read a long value from the pointed memory location
|
long |
getLongAtOffset(long byteOffset)
Read a long value from the pointed memory location shifted by a byte offset
|
String |
getName() |
short |
getShort()
Read a short value from the pointed memory location
|
short |
getShortAtOffset(long byteOffset)
Read a short value from the pointed memory location shifted by a byte offset
|
int |
hashCode()
Compute a hash code based on pointed address.
|
boolean |
isOrdered()
Whether this pointer reads data in the system's native byte order or not.
|
Pointer<T> |
setBoolean(boolean value)
Write a boolean value to the pointed memory location
|
Pointer<T> |
setBooleanAtOffset(long byteOffset,
boolean value)
Write a boolean value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setByte(byte value)
Write a byte value to the pointed memory location
|
Pointer<T> |
setByteAtOffset(long byteOffset,
byte value)
Write a byte value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setChar(char value)
Write a char value to the pointed memory location
|
Pointer<T> |
setCharAtOffset(long byteOffset,
char value)
Write a char value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setCLongsAtOffset(long byteOffset,
int[] values)
Deprecated.
Avoid using the byte offset methods variants unless you know what you're doing (may cause alignment issues). Please favour
Pointer.setCLongs(int[]) over this method. |
Pointer<T> |
setCLongsAtOffset(long byteOffset,
long[] values,
int valuesOffset,
int length)
Write an array of CLong values to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setDouble(double value)
Write a double value to the pointed memory location
|
Pointer<T> |
setDoubleAtOffset(long byteOffset,
double value)
Write a double value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setFloat(float value)
Write a float value to the pointed memory location
|
Pointer<T> |
setFloatAtOffset(long byteOffset,
float value)
Write a float value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setInt(int value)
Write a int value to the pointed memory location
|
Pointer<T> |
setIntAtOffset(long byteOffset,
int value)
Write a int value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setLong(long value)
Write a long value to the pointed memory location
|
Pointer<T> |
setLongAtOffset(long byteOffset,
long value)
Write a long value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setShort(short value)
Write a short value to the pointed memory location
|
Pointer<T> |
setShortAtOffset(long byteOffset,
short value)
Write a short value to the pointed memory location shifted by a byte offset
|
Pointer<T> |
setSizeTsAtOffset(long byteOffset,
int[] values)
Deprecated.
Avoid using the byte offset methods variants unless you know what you're doing (may cause alignment issues). Please favour
Pointer.setSizeTs(int[]) over this method. |
Pointer<T> |
setSizeTsAtOffset(long byteOffset,
long[] values,
int valuesOffset,
int length)
Write an array of SizeT values to the pointed memory location shifted by a byte offset
|
String |
toString() |
static SEL |
valueOf(String name) |
allocate, allocate, allocate, allocateAlignedArray, allocateAlignedArray, allocateAlignedBytes, allocateArray, allocateArray, allocateArray, allocateArray, allocateBoolean, allocateBooleans, allocateBooleans, allocateBooleans, allocateByte, allocateBytes, allocateBytes, allocateBytes, allocateBytes, allocateChar, allocateChars, allocateChars, allocateChars, allocateCLong, allocateCLongs, allocateDouble, allocateDoubles, allocateDoubles, allocateDoubles, allocateDynamicCallback, allocateFloat, allocateFloats, allocateFloats, allocateFloats, allocateInt, allocateInts, allocateInts, allocateInts, allocateList, allocateList, allocateList, allocateLong, allocateLongs, allocateLongs, allocateLongs, allocatePointer, allocatePointer, allocatePointer, allocatePointerPointer, allocatePointerPointer, allocatePointers, allocatePointers, allocatePointers, allocateShort, allocateShorts, allocateShorts, allocateShorts, allocateSizeT, allocateSizeTs, allocateTypedPointer, allocateTypedPointers, apply, as, as, as, asDynamicFunction, asList, asList, asUntyped, clearBytes, clearBytesAtOffset, clearValidBytes, clone, compareBytes, compareBytesAtOffset, compareTo, copyBytesAtOffsetTo, copyBytesTo, copyTo, copyTo, find, findByte, findLast, get, get, get, getAddress, getArray, getArray, getArrayAtOffset, getBooleanAtIndex, getBooleans, getBooleans, getBooleansAtOffset, getBuffer, getBuffer, getBufferAtOffset, getByteAtIndex, getByteBuffer, getByteBuffer, getByteBufferAtOffset, getBytes, getBytes, getBytes, getBytes, getBytesAtOffset, getBytesAtOffset, getCharAtIndex, getChars, getChars, getCharsAtOffset, getCLong, getCLongAtIndex, getCLongAtOffset, getCLongs, getCLongs, getCLongsAtOffset, getCString, getCStringAtOffset, getDoubleAtIndex, getDoubleBuffer, getDoubleBuffer, getDoubleBufferAtOffset, getDoubles, getDoubles, getDoubles, getDoubles, getDoublesAtOffset, getDoublesAtOffset, getFloatAtIndex, getFloatBuffer, getFloatBuffer, getFloatBufferAtOffset, getFloats, getFloats, getFloats, getFloats, getFloatsAtOffset, getFloatsAtOffset, getIntAtIndex, getIntBuffer, getIntBuffer, getIntBufferAtOffset, getIntegralAtOffset, getInts, getInts, getInts, getInts, getIntsAtOffset, getIntsAtOffset, getIO, getLongAtIndex, getLongBuffer, getLongBuffer, getLongBufferAtOffset, getLongs, getLongs, getLongs, getLongs, getLongsAtOffset, getLongsAtOffset, getNativeObject, getNativeObject, getNativeObjectAtOffset, getNativeObjectAtOffset, getPeer, getPeer, getPointer, getPointer, getPointer, getPointer, getPointer, getPointer, getPointerAtIndex, getPointerAtOffset, getPointerAtOffset, getPointerAtOffset, getPointerAtOffset, getPointers, getPointers, getPointersAtOffset, getPointersAtOffset, getPointersAtOffset, getPointersAtOffset, getReference, getShortAtIndex, getShortBuffer, getShortBuffer, getShortBufferAtOffset, getShorts, getShorts, getShorts, getShorts, getShortsAtOffset, getShortsAtOffset, getSizeT, getSizeTAtIndex, getSizeTAtOffset, getSizeTs, getSizeTs, getSizeTsAtOffset, getString, getString, getStringAtOffset, getTargetSize, getTargetType, getValidBytes, getValidElements, getWideCString, getWideCStringAtOffset, intEnumType, isAligned, isAligned, iterator, moveBytesAtOffsetTo, moveBytesTo, moveBytesTo, next, next, offset, order, order, pointerTo, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToAddress, pointerToArray, pointerToBoolean, pointerToBooleans, pointerToBooleans, pointerToBooleans, pointerToBuffer, pointerToByte, pointerToBytes, pointerToBytes, pointerToBytes, pointerToBytes, pointerToChar, pointerToChars, pointerToChars, pointerToChars, pointerToChars, pointerToCLong, pointerToCLong, pointerToCLongs, pointerToCLongs, pointerToCLongs, pointerToCString, pointerToCStrings, pointerToDouble, pointerToDoubles, pointerToDoubles, pointerToDoubles, pointerToDoubles, pointerToEnum, pointerToFloat, pointerToFloats, pointerToFloats, pointerToFloats, pointerToFloats, pointerToInt, pointerToInts, pointerToInts, pointerToInts, pointerToInts, pointerToLong, pointerToLongs, pointerToLongs, pointerToLongs, pointerToLongs, pointerToPointer, pointerToPointers, pointerToShort, pointerToShorts, pointerToShorts, pointerToShorts, pointerToShorts, pointerToSizeT, pointerToSizeT, pointerToSizeTs, pointerToSizeTs, pointerToSizeTs, pointerToString, pointerToWideCString, pointerToWideCStrings, pointerType, release, release, set, set, setArray, setArrayAtOffset, setBooleanAtIndex, setBooleans, setBooleansAtOffset, setBooleansAtOffset, setByteAtIndex, setBytes, setBytes, setBytesAtOffset, setBytesAtOffset, setBytesAtOffset, setBytesAtOffset, setCharAtIndex, setChars, setChars, setCharsAtOffset, setCharsAtOffset, setCharsAtOffset, setCharsAtOffset, setCLong, setCLong, setCLongAtIndex, setCLongAtOffset, setCLongAtOffset, setCLongs, setCLongs, setCLongs, setCLongsAtOffset, setCLongsAtOffset, setCString, setCStringAtOffset, setDoubleAtIndex, setDoubles, setDoubles, setDoublesAtOffset, setDoublesAtOffset, setDoublesAtOffset, setDoublesAtOffset, setFloatAtIndex, setFloats, setFloats, setFloatsAtOffset, setFloatsAtOffset, setFloatsAtOffset, setFloatsAtOffset, setIntAtIndex, setIntegralAtOffset, setInts, setInts, setIntsAtOffset, setIntsAtOffset, setIntsAtOffset, setIntsAtOffset, setLongAtIndex, setLongs, setLongs, setLongsAtOffset, setLongsAtOffset, setLongsAtOffset, setLongsAtOffset, setNativeObject, setPointer, setPointerAtIndex, setPointerAtOffset, setPointers, setPointersAtOffset, setPointersAtOffset, setShortAtIndex, setShorts, setShorts, setShortsAtOffset, setShortsAtOffset, setShortsAtOffset, setShortsAtOffset, setSizeT, setSizeT, setSizeTAtIndex, setSizeTAtOffset, setSizeTAtOffset, setSizeTs, setSizeTs, setSizeTs, setSizeTsAtOffset, setSizeTsAtOffset, setString, setStringAtOffset, setValues, setValuesAtOffset, setValuesAtOffset, setWideCString, setWideCStringAtOffset, toArray, toArray, update, updateBuffer, validBytes, validElements, withoutValidityInformation, withReleaser
forEach, spliterator
public boolean equals(Object o)
Pointer
public int hashCode()
Pointer
public boolean isOrdered()
Pointer
Pointer.order()
, Pointer.order(ByteOrder)
public Pointer<T> setInt(int value)
Pointer
public Pointer<T> setIntAtOffset(long byteOffset, int value)
Pointer
setIntAtOffset
in class Pointer<T>
public int getInt()
Pointer
public int getIntAtOffset(long byteOffset)
Pointer
getIntAtOffset
in class Pointer<T>
public Pointer<T> setLong(long value)
Pointer
public Pointer<T> setLongAtOffset(long byteOffset, long value)
Pointer
setLongAtOffset
in class Pointer<T>
public long getLong()
Pointer
public long getLongAtOffset(long byteOffset)
Pointer
getLongAtOffset
in class Pointer<T>
public Pointer<T> setShort(short value)
Pointer
public Pointer<T> setShortAtOffset(long byteOffset, short value)
Pointer
setShortAtOffset
in class Pointer<T>
public short getShort()
Pointer
public short getShortAtOffset(long byteOffset)
Pointer
getShortAtOffset
in class Pointer<T>
public Pointer<T> setByte(byte value)
Pointer
public Pointer<T> setByteAtOffset(long byteOffset, byte value)
Pointer
setByteAtOffset
in class Pointer<T>
public byte getByte()
Pointer
public byte getByteAtOffset(long byteOffset)
Pointer
getByteAtOffset
in class Pointer<T>
public Pointer<T> setChar(char value)
Pointer
public Pointer<T> setCharAtOffset(long byteOffset, char value)
Pointer
setCharAtOffset
in class Pointer<T>
public char getChar()
Pointer
public char getCharAtOffset(long byteOffset)
Pointer
getCharAtOffset
in class Pointer<T>
public Pointer<T> setFloat(float value)
Pointer
public Pointer<T> setFloatAtOffset(long byteOffset, float value)
Pointer
setFloatAtOffset
in class Pointer<T>
public float getFloat()
Pointer
public float getFloatAtOffset(long byteOffset)
Pointer
getFloatAtOffset
in class Pointer<T>
public Pointer<T> setDouble(double value)
Pointer
public Pointer<T> setDoubleAtOffset(long byteOffset, double value)
Pointer
setDoubleAtOffset
in class Pointer<T>
public double getDouble()
Pointer
public double getDoubleAtOffset(long byteOffset)
Pointer
getDoubleAtOffset
in class Pointer<T>
public Pointer<T> setBoolean(boolean value)
Pointer
setBoolean
in class Pointer<T>
public Pointer<T> setBooleanAtOffset(long byteOffset, boolean value)
Pointer
setBooleanAtOffset
in class Pointer<T>
public boolean getBoolean()
Pointer
getBoolean
in class Pointer<T>
public boolean getBooleanAtOffset(long byteOffset)
Pointer
getBooleanAtOffset
in class Pointer<T>
public Pointer<T> setSizeTsAtOffset(long byteOffset, long[] values, int valuesOffset, int length)
Pointer
setSizeTsAtOffset
in class Pointer<T>
public Pointer<T> setSizeTsAtOffset(long byteOffset, int[] values)
Pointer.setSizeTs(int[])
over this method.setSizeTsAtOffset
in class Pointer<T>
public Pointer<T> setCLongsAtOffset(long byteOffset, long[] values, int valuesOffset, int length)
Pointer
setCLongsAtOffset
in class Pointer<T>
public Pointer<T> setCLongsAtOffset(long byteOffset, int[] values)
Pointer.setCLongs(int[])
over this method.setCLongsAtOffset
in class Pointer<T>
Copyright © 2009-2020. All Rights Reserved.