Module java.base

Interface MemoryLayout.PathElement

Enclosing interface:

public static sealed interface MemoryLayout.PathElement
An element in a layout path. There are three kinds of path elements:
  • group path elements, used to select a member layout within a GroupLayout, either by name or by index;
  • sequence path elements, used to select one or more sequence element layouts within a SequenceLayout; and
  • dereference path elements, used to dereference an address layout as its target layout.
Sequence path elements selecting more than one sequence element layout are called open path elements.
Implementation Requirements:
Implementations of this interface are immutable, thread-safe and value-based.