# Index

A B C D E F G H I J L M N O P R S T U V W
All Classes and Interfaces|All Packages

## A

addCloseAction(Runnable) - Method in interface java.lang.foreign.MemorySessionPREVIEW
  Adds a custom cleanup action which will be executed when the memory session is closed.
addOffset(long) - Method in interface java.lang.foreign.MemoryAddressPREVIEW
  Returns a memory address at given offset from this address.
address() - Method in interface java.lang.foreign.AddressablePREVIEW
  Returns the memory addressPREVIEW associated with this addressable.
address() - Method in interface java.lang.foreign.MemorySegmentPREVIEW
  Returns the base memory address associated with this native memory segment.
address() - Method in interface java.lang.foreign.VaListPREVIEW
  Returns the memory addressPREVIEW associated with this variable argument list.
ADDRESS - Static variable in class java.lang.foreign.ValueLayoutPREVIEW
  A value layout constant whose size is the same as that of a machine address (`size_t`), bit alignment set to `sizeof(size_t) * 8`, and byte order set to `ByteOrder.nativeOrder()`.
AddressablePREVIEW - Interface in java.lang.foreign
  An object that may be projected down to a memory addressPREVIEW.
addVarg(GroupLayout, MemorySegment) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
  Writes a `MemorySegment` value, with the given layout, to the variable argument list being constructed.
addVarg(ValueLayout.OfAddress, Addressable) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
  Writes an `Addressable` value to the variable argument list being constructed.
addVarg(ValueLayout.OfDouble, double) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
  Writes a `double` value to the variable argument list being constructed.
addVarg(ValueLayout.OfInt, int) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
  Writes an `int` value to the variable argument list being constructed.
addVarg(ValueLayout.OfLong, long) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
  Writes a `long` value to the variable argument list being constructed.
allocate(long) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given size.
allocate(long, long) - Method in interface java.lang.foreign.MemorySessionPREVIEW
  Allocates a native segment, using this session.
allocate(long, long) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given size and alignment constraints.
allocate(MemoryLayout) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout.
allocate(ValueLayout.OfAddress, Addressable) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given address value.
allocate(ValueLayout.OfByte, byte) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given byte value.
allocate(ValueLayout.OfChar, char) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given char value.
allocate(ValueLayout.OfDouble, double) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given double value.
allocate(ValueLayout.OfFloat, float) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given float value.
allocate(ValueLayout.OfInt, int) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given int value.
allocate(ValueLayout.OfLong, long) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given long value.
allocate(ValueLayout.OfShort, short) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given short value.
allocateArray(MemoryLayout, long) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given element layout and size.
allocateArray(ValueLayout.OfByte, byte...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given byte elements.
allocateArray(ValueLayout.OfChar, char...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given char elements.
allocateArray(ValueLayout.OfDouble, double...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given double elements.
allocateArray(ValueLayout.OfFloat, float...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given float elements.
allocateArray(ValueLayout.OfInt, int...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given int elements.
allocateArray(ValueLayout.OfLong, long...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given long elements.
allocateArray(ValueLayout.OfShort, short...) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Allocates a memory segment with the given layout and initializes it with the given short elements.
allocateNative(long, long, MemorySession) - Static method in interface java.lang.foreign.MemorySegmentPREVIEW
  Creates a native memory segment with the given size (in bytes), alignment constraint (in bytes) and memory session.
allocateNative(long, MemorySession) - Static method in interface java.lang.foreign.MemorySegmentPREVIEW
  Creates a native memory segment with the given size (in bytes) and memory session.
allocateNative(MemoryLayout, MemorySession) - Static method in interface java.lang.foreign.MemorySegmentPREVIEW
  Creates a native memory segment with the given layout and memory session.
allocateUtf8String(String) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
  Converts a Java string into a UTF-8 encoded, null-terminated C string, storing the result into a memory segment.
appendArgumentLayouts(MemoryLayout...) - Method in class java.lang.foreign.FunctionDescriptorPREVIEW
  Returns a function descriptor with the given argument layouts appended to the argument layout array of this function descriptor.
argumentLayouts() - Method in class java.lang.foreign.FunctionDescriptorPREVIEW
  Returns the argument layouts associated with this function descriptor (as an immutable list).
arrayElementVarHandle(int...) - Method in class java.lang.foreign.ValueLayoutPREVIEW
  Creates a strided access var handle that can be used to dereference a multi-dimensional array.
asByteBuffer() - Method in interface java.lang.foreign.MemorySegmentPREVIEW
  Wraps this segment in a `ByteBuffer`.
asNonCloseable() - Method in interface java.lang.foreign.MemorySessionPREVIEW
  Returns a non-closeable view of this memory session.
asOverlappingSlice(MemorySegment) - Method in interface java.lang.foreign.MemorySegmentPREVIEW
  Returns a slice of this segment that is the overlap between this and the provided segment.
asReadOnly() - Method in interface java.lang.foreign.MemorySegmentPREVIEW
  Returns a read-only view of this segment.
asSlice(long) - Method in interface java.lang.foreign.MemorySegmentPREVIEW
  Returns a slice of this memory segment, at the given offset.
asSlice(long, long) - Method in interface java.lang.foreign.MemorySegmentPREVIEW
  Returns a slice of this memory segment, at the given offset.
asVariadic(MemoryLayout...) - Method in class java.lang.foreign.FunctionDescriptorPREVIEW
  Creates a specialized variadic function descriptor, by appending given variadic layouts to this function descriptor argument layouts.

A B C D E F G H I J L M N O P R S T U V W
All Classes and Interfaces|All Packages