Uses of Interface
java.lang.foreign.SequenceLayout
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of SequenceLayoutPREVIEW in java.lang.foreign
Modifier and TypeMethodDescriptionSequenceLayout.flatten()
Returns a flattened sequence layout.SequenceLayout.reshape
(long... elementCounts) Rearranges the elements in this sequence layout into a multi-dimensional sequence layout.static SequenceLayoutPREVIEW
MemoryLayout.sequenceLayout
(long elementCount, MemoryLayoutPREVIEW elementLayout) Creates a sequence layout with the given element layout and element count.static SequenceLayoutPREVIEW
MemoryLayout.sequenceLayout
(MemoryLayoutPREVIEW elementLayout) Creates a sequence layout with the given element layout and the maximum element count such that it does not overflow along
.SequenceLayout.withByteAlignment
(long byteAlignment) Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).SequenceLayout.withElementCount
(long elementCount) Returns a sequence layout with the same characteristics of this layout, but with the given element count.Returns a memory layout with the same characteristics as this layout, but with the given name.