← 返回首页
GroupLayout (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents  
  1. Description
  2. Nested Class Summary
  3. Method Summary
  4. Method Details
    1. memberLayouts()
    2. withName(String)
    3. withoutName()
    4. withByteAlignment(long)
Hide sidebar  Show sidebar

Interface GroupLayout

All Superinterfaces: MemoryLayout All Known Subinterfaces: StructLayout, UnionLayout
public sealed interface GroupLayout extends MemoryLayout permits StructLayout, UnionLayout
A compound layout that is an aggregation of multiple, heterogeneous member layouts. There are two ways in which member layouts can be combined: if member layouts are laid out one after the other, the resulting group layout is a struct layout; conversely, if all member layouts are laid out at the same starting offset, the resulting group layout is a union layout.
Implementation Requirements: This class is immutable, thread-safe and value-based. Sealed Class Hierarchy Graph: Since: 22

Scripting on this page tracks web page traffic, but does not change the content in any way.