Index
All Classes and Interfaces|All Packages
A
- address() - Method in interface java.lang.foreign.MemorySegmentPREVIEW
-
Returns the address of this memory segment.
- ADDRESS - Static variable in interface java.lang.foreign.ValueLayoutPREVIEW
-
A value layout constant whose size is the same as that of a machine address (
size_t
), bit alignment set tosizeof(size_t) * 8
, byte order set toByteOrder.nativeOrder()
. - ADDRESS_UNALIGNED - Static variable in interface java.lang.foreign.ValueLayoutPREVIEW
-
An unaligned value layout constant whose size is the same as that of a machine address (
size_t
), and byte order set toByteOrder.nativeOrder()
. - addVarg(GroupLayout, MemorySegment) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
-
Writes a
MemorySegment
, with the given layout, to the variable argument list being constructed. - addVarg(ValueLayout.OfAddress, MemorySegment) - Method in interface java.lang.foreign.VaList.BuilderPREVIEW
- 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.ArenaPREVIEW
-
Returns a native memory segment with the given size (in bytes) and alignment constraint (in bytes).
- allocate(long, long) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
-
Allocates a memory segment with the given size and alignment constraint.
- allocate(MemoryLayout) - Method in interface java.lang.foreign.SegmentAllocatorPREVIEW
-
Allocates a memory segment with the given layout.
- allocate(ValueLayout.OfAddress, MemorySegment) - 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, SegmentScope) - Static method in interface java.lang.foreign.MemorySegmentPREVIEW
-
Creates a native segment with the given size (in bytes), alignment (in bytes) and scope.
- allocateNative(long, SegmentScope) - Static method in interface java.lang.foreign.MemorySegmentPREVIEW
-
Creates a native segment with the given size (in bytes) and scope.
- allocateNative(MemoryLayout, SegmentScope) - Static method in interface java.lang.foreign.MemorySegmentPREVIEW
-
Creates a native segment with the given layout and scope.
- 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 interface java.lang.foreign.FunctionDescriptorPREVIEW
-
Returns a function descriptor with the given argument layouts appended to the argument layout array of this function descriptor.
- ArenaPREVIEW - Interface in java.lang.foreign
-
An arena controls the lifecycle of memory segments, providing both flexible allocation and timely deallocation.
- argumentLayouts() - Method in interface java.lang.foreign.FunctionDescriptorPREVIEW
-
Returns the argument layouts associated with this function descriptor (as an immutable list).
- array() - Method in interface java.lang.foreign.MemorySegmentPREVIEW
-
Returns the Java array associated with this memory segment, if any.
- arrayElementVarHandle(int...) - Method in interface java.lang.foreign.ValueLayoutPREVIEW
-
Creates a strided access var handle that can be used to access a memory segment as multi-dimensional array.
- asByteBuffer() - Method in interface java.lang.foreign.MemorySegmentPREVIEW
-
Wraps this segment in a
ByteBuffer
. - 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.
- asUnbounded() - Method in interface java.lang.foreign.ValueLayout.OfAddressPREVIEW
-
Returns an unbounded address layout with the same carrier, alignment constraint, name and order as this address layout, but with the specified pointee layout.
- auto() - Static method in interface java.lang.foreign.SegmentScopePREVIEW
-
Creates a new scope that is managed, automatically, by the garbage collector.
All Classes and Interfaces|All Packages