Uses of Interface jdk.incubator.foreign.MemoryLayout.PathElement (Java SE 15 & JDK 15)
Description: use: module: jdk.incubator.foreign, package: jdk.incubator.foreign, interface: MemoryLayout, interface: PathElement

# Uses of Interface
jdk.incubator.foreign.MemoryLayout.PathElement

Packages that use MemoryLayout.PathElement
Package | Description
--- | ---
jdk.incubator.foreign | Classes to support low-level, safe and efficient memory access.

- ## Uses of MemoryLayout.PathElement in jdk.incubator.foreign

  Methods in jdk.incubator.foreign that return MemoryLayout.PathElement
  Modifier and Type | Method | Description
  --- | --- | ---
  `static MemoryLayout.PathElement` | MemoryLayout.PathElement.`groupElement​(String name)` | Returns a path element which selects a member layout with given name from a given group layout.
  `static MemoryLayout.PathElement` | MemoryLayout.PathElement.`sequenceElement()` | Returns a path element which selects an unspecified element layout from a given sequence layout.
  `static MemoryLayout.PathElement` | MemoryLayout.PathElement.`sequenceElement​(long index)` | Returns a path element which selects the element layout at the specified position in a given the sequence layout.
  `static MemoryLayout.PathElement` | MemoryLayout.PathElement.`sequenceElement​(long start, long step)` | Returns a path element which selects the element layout in a range of positions in a given the sequence layout, where the range is expressed as a pair of starting index (inclusive) `S` and step factor (which can also be negative) `F`.

  Methods in jdk.incubator.foreign with parameters of type MemoryLayout.PathElement
  Modifier and Type | Method | Description
  --- | --- | ---
  `default long` | MemoryLayout.`bitOffset​(MemoryLayout.PathElement... elements)` | Computes the offset, in bits, of the layout selected by a given layout path, where the path is considered rooted in this layout.
  `default long` | MemoryLayout.`byteOffset​(MemoryLayout.PathElement... elements)` | Computes the offset, in bytes, of the layout selected by a given layout path, where the path is considered rooted in this layout.
  `default MemoryLayout` | MemoryLayout.`map​(UnaryOperator<MemoryLayout> op, MemoryLayout.PathElement... elements)` | Creates a transformed copy of this layout where a selected layout, from a path rooted in this layout, is replaced with the result of applying the given operation.
  `default MemoryLayout` | MemoryLayout.`select​(MemoryLayout.PathElement... elements)` | Selects the layout from a path rooted in this layout.
  `default VarHandle` | MemoryLayout.`varHandle​(Class<?> carrier, MemoryLayout.PathElement... elements)` | Creates a memory access var handle that can be used to dereference memory at the layout selected by a given layout path, where the path is considered rooted in this layout.