- get() - Method in interface com.yahoo.memory.Handle
-
Gets a Memory
- get() - Method in class com.yahoo.memory.MapHandle
-
- get() - Method in class com.yahoo.memory.WritableDirectHandle
-
- get() - Method in interface com.yahoo.memory.WritableHandle
-
Gets a WritableMemory
- get() - Method in class com.yahoo.memory.WritableMapHandle
-
- getAndAddLong(long, long) - Method in class com.yahoo.memory.WritableMemory
-
Atomically adds the given value to the long located at offsetBytes.
- getAndSetLong(long, long) - Method in class com.yahoo.memory.WritableMemory
-
Atomically exchanges the given value with the current value located at offsetBytes.
- getArray() - Method in class com.yahoo.memory.WritableBuffer
-
Returns the primitive backing array, otherwise null.
- getArray() - Method in class com.yahoo.memory.WritableMemory
-
Returns the primitive backing array, otherwise null.
- getBoolean() - Method in class com.yahoo.memory.Buffer
-
Gets the boolean value at the current position.
- getBoolean(long) - Method in class com.yahoo.memory.Buffer
-
Gets the boolean value at the given offset.
- getBoolean(long) - Method in class com.yahoo.memory.Memory
-
Gets the boolean value at the given offset
- getBooleanArray(boolean[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the boolean array at the current position.
- getBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the boolean array at the given offset
- getByte() - Method in class com.yahoo.memory.Buffer
-
Gets the byte value at the current position.
- getByte(long) - Method in class com.yahoo.memory.Buffer
-
Gets the byte value at the given offset.
- getByte(long) - Method in class com.yahoo.memory.Memory
-
Gets the byte value at the given offset
- getByteArray(byte[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the byte array at the current position.
- getByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the byte array at the given offset
- getChar() - Method in class com.yahoo.memory.Buffer
-
Gets the char value at the current position.
- getChar(long) - Method in class com.yahoo.memory.Buffer
-
Gets the char value at the given offset.
- getChar(long) - Method in class com.yahoo.memory.Memory
-
Gets the char value at the given offset
- getCharArray(char[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the char array at the current position.
- getCharArray(long, char[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the char array at the given offset
- getCharsFromUtf8(long, int, Appendable) - Method in class com.yahoo.memory.Memory
-
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of
utf8LengthBytes, decodes them into characters and appends them to the given Appendable.
- getCharsFromUtf8(long, int, StringBuilder) - Method in class com.yahoo.memory.Memory
-
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of
utf8LengthBytes, decodes them into characters and appends them to the given StringBuilder.
- getCodePoint() - Method in class com.yahoo.memory.Util.RandomCodePoints
-
Return a single valid random Code Point from 0, inclusive, to
Character.MAX_CODE_POINT, inclusive.
- getCodePoint(int, int) - Method in class com.yahoo.memory.Util.RandomCodePoints
-
Return a single valid random Code Point from startCP, inclusive, to
endCP, exclusive.
- getDouble() - Method in class com.yahoo.memory.Buffer
-
Gets the double value at the current position.
- getDouble(long) - Method in class com.yahoo.memory.Buffer
-
Gets the double value at the given offset.
- getDouble(long) - Method in class com.yahoo.memory.Memory
-
Gets the double value at the given offset
- getDoubleArray(double[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the double array at the current position.
- getDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the double array at the given offset
- getEnd() - Method in class com.yahoo.memory.BaseBuffer
-
Gets the end position
- getFloat() - Method in class com.yahoo.memory.Buffer
-
Gets the float value at the current position.
- getFloat(long) - Method in class com.yahoo.memory.Buffer
-
Gets the float value at the given offset.
- getFloat(long) - Method in class com.yahoo.memory.Memory
-
Gets the float value at the given offset
- getFloatArray(float[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the float array at the current position.
- getFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the float array at the given offset
- getInt() - Method in class com.yahoo.memory.Buffer
-
Gets the int value at the current position.
- getInt(long) - Method in class com.yahoo.memory.Buffer
-
Gets the int value at the given offset.
- getInt(long) - Method in class com.yahoo.memory.Memory
-
Gets the int value at the given offset
- getIntArray(int[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the int array at the current position.
- getIntArray(long, int[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the int array at the given offset
- getLong() - Method in class com.yahoo.memory.Buffer
-
Gets the long value at the current position.
- getLong(long) - Method in class com.yahoo.memory.Buffer
-
Gets the long value at the given offset.
- getLong(long) - Method in class com.yahoo.memory.Memory
-
Gets the long value at the given offset
- getLongArray(long[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the long array at the current position.
- getLongArray(long, long[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the long array at the given offset
- getMemoryRequestServer() - Method in class com.yahoo.memory.WritableBuffer
-
For Direct Memory only.
- getMemoryRequestServer() - Method in class com.yahoo.memory.WritableMemory
-
For Direct Memory only.
- getPosition() - Method in class com.yahoo.memory.BaseBuffer
-
Gets the current position
- getRemaining() - Method in class com.yahoo.memory.BaseBuffer
-
The number of elements remaining between the current position and the end position
- getShort() - Method in class com.yahoo.memory.Buffer
-
Gets the short value at the current position.
- getShort(long) - Method in class com.yahoo.memory.Buffer
-
Gets the short value at the given offset.
- getShort(long) - Method in class com.yahoo.memory.Memory
-
Gets the short value at the given offset
- getShortArray(short[], int, int) - Method in class com.yahoo.memory.Buffer
-
Gets the short array at the current position.
- getShortArray(long, short[], int, int) - Method in class com.yahoo.memory.Memory
-
Gets the short array at the given offset
- getStart() - Method in class com.yahoo.memory.BaseBuffer
-
Gets start position
- putBoolean(boolean) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the boolean value at the current position.
- putBoolean(long, boolean) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the boolean value at the given offset.
- putBoolean(long, boolean) - Method in class com.yahoo.memory.WritableMemory
-
Puts the boolean value at the given offset
- putBooleanArray(boolean[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the boolean array at the current position.
- putBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the boolean array at the given offset
- putByte(byte) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the byte value at the current position.
- putByte(long, byte) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the byte value at the given offset.
- putByte(long, byte) - Method in class com.yahoo.memory.WritableMemory
-
Puts the byte value at the given offset
- putByteArray(byte[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the byte array at the current position.
- putByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the byte array at the given offset
- putChar(char) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the char value at the current position.
- putChar(long, char) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the char value at the given offset.
- putChar(long, char) - Method in class com.yahoo.memory.WritableMemory
-
Puts the char value at the given offset
- putCharArray(char[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the char array at the current position.
- putCharArray(long, char[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the char array at the given offset
- putCharsToUtf8(long, CharSequence) - Method in class com.yahoo.memory.WritableMemory
-
Encodes characters from the given CharSequence into UTF-8 bytes and puts them into this
WritableMemory begining at the given offsetBytes.
- putDouble(double) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the double value at the current position.
- putDouble(long, double) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the double value at the given offset.
- putDouble(long, double) - Method in class com.yahoo.memory.WritableMemory
-
Puts the double value at the given offset
- putDoubleArray(double[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the double array at the current position.
- putDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the double array at the given offset
- putFloat(float) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the float value at the current position.
- putFloat(long, float) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the float value at the given offset.
- putFloat(long, float) - Method in class com.yahoo.memory.WritableMemory
-
Puts the float value at the given offset
- putFloatArray(float[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the float array at the current position.
- putFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the float array at the given offset
- putInt(int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the int value at the current position.
- putInt(long, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the int value at the given offset.
- putInt(long, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the int value at the given offset
- putIntArray(int[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the int array at the current position.
- putIntArray(long, int[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the int array at the given offset
- putLong(long) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the long value at the current position.
- putLong(long, long) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the long value at the given offset.
- putLong(long, long) - Method in class com.yahoo.memory.WritableMemory
-
Puts the long value at the given offset
- putLongArray(long[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the long array at the current position.
- putLongArray(long, long[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the long array at the given offset
- putShort(short) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the short value at the current position.
- putShort(long, short) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the short value at the given offset.
- putShort(long, short) - Method in class com.yahoo.memory.WritableMemory
-
Puts the short value at the given offset
- putShortArray(short[], int, int) - Method in class com.yahoo.memory.WritableBuffer
-
Puts the short array at the current position.
- putShortArray(long, short[], int, int) - Method in class com.yahoo.memory.WritableMemory
-
Puts the short array at the given offset
- wrap(ByteBuffer) - Static method in class com.yahoo.memory.Buffer
-
Accesses the given ByteBuffer for read-only operations.
- wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.Buffer
-
Accesses the given ByteBuffer for read-only operations.
- wrap(ByteBuffer) - Static method in class com.yahoo.memory.Memory
-
Accesses the given ByteBuffer for read-only operations.
- wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.Memory
-
Accesses the given ByteBuffer for read-only operations.
- wrap(boolean[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(byte[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(byte[], ByteOrder) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations with the given byte order.
- wrap(byte[], int, int, ByteOrder) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations with the given byte order.
- wrap(char[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(short[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(int[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(long[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(float[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(double[]) - Static method in class com.yahoo.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(ByteBuffer) - Static method in class com.yahoo.memory.WritableBuffer
-
Accesses the given ByteBuffer for write operations.
- wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.WritableBuffer
-
Accesses the given ByteBuffer for write operations.
- wrap(ByteBuffer) - Static method in class com.yahoo.memory.WritableMemory
-
Accesses the given ByteBuffer for write operations.
- wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
-
Accesses the given ByteBuffer for write operations.
- wrap(boolean[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(byte[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(byte[], ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations with the given byte order.
- wrap(byte[], int, int, ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations with the given byte order.
- wrap(char[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(short[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(int[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(long[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(float[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- wrap(double[]) - Static method in class com.yahoo.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- WritableBuffer - Class in com.yahoo.memory
-
Provides read and write, positional primitive and primitive array access to any of the four
resources mentioned at the package level.
- WritableDirectHandle - Class in com.yahoo.memory
-
A Handle for a writable direct memory resource.
- writableDuplicate() - Method in class com.yahoo.memory.WritableBuffer
-
Returns a duplicate writable view of this Buffer with the same but independent values of
start, position and end.
- writableDuplicate(ByteOrder) - Method in class com.yahoo.memory.WritableBuffer
-
Returns a duplicate writable view of this Buffer with the same but independent values of
start, position and end, but with the specified byteOrder.
- WritableHandle - Interface in com.yahoo.memory
-
A Handle for writable direct memory or a memory-mapped, writable file resource.
- WritableMapHandle - Class in com.yahoo.memory
-
A Handle for a memory-mapped, writable file resource.
- WritableMemory - Class in com.yahoo.memory
-
Provides read and write primitive and primitive array access to any of the four resources
mentioned at the package level.
- writableRegion() - Method in class com.yahoo.memory.WritableBuffer
-
A writable region is a writable view of this object.
- writableRegion(long, long, ByteOrder) - Method in class com.yahoo.memory.WritableBuffer
-
A writable region is a writable view of this object.
- writableRegion(long, long) - Method in class com.yahoo.memory.WritableMemory
-
A writable region is a writable view of this object.
- writableRegion(long, long, ByteOrder) - Method in class com.yahoo.memory.WritableMemory
-
A writable region is a writable view of this object.
- writeTo(long, long, WritableByteChannel) - Method in class com.yahoo.memory.Memory
-
Writes bytes from a source range of this Memory to the given WritableByteChannel.