Uses of Interface java.lang.foreign.SequenceLayout (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.foreign, interface: SequenceLayout

# Uses of Interface
java.lang.foreign.SequenceLayout

Packages that use SequenceLayout
Package
Description
java.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.

- ## Uses of SequenceLayout in java.lang.foreign

  Methods in java.lang.foreign that return SequenceLayout
  Modifier and Type
  Method
  Description
  `SequenceLayout`
  SequenceLayout.`flatten()`
  Returns a flattened sequence layout.
  `SequenceLayout`
  SequenceLayout.`reshape(long... elementCounts)`
  Rearranges the elements in this sequence layout into a multidimensional sequence layout.
  `static SequenceLayout`
  MemoryLayout.`sequenceLayout(long elementCount, MemoryLayout elementLayout)`
  Creates a sequence layout with the given element layout and element count.
  `SequenceLayout`
  SequenceLayout.`withByteAlignment(long byteAlignment)`
  Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).
  `SequenceLayout`
  SequenceLayout.`withElementCount(long elementCount)`
  Returns a sequence layout with the same characteristics of this layout, but with the given element count.
  `SequenceLayout`
  SequenceLayout.`withName(String name)`
  Returns a memory layout with the same characteristics as this layout, but with the given name.