MemoryLayout#structLayout(MemoryLayout...) ); conversely, if all member layouts are laid out at the same starting offset,
the resulting group layout is said to be a union (see MemoryLayout#unionLayout(MemoryLayout...) ).
Implementation Specification
This class is immutable, thread-safe and value-based.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | AbstractGroupLayout.
The group kind. |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final AbstractGroupLayout. | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractGroupLayout(AbstractGroupLayout.
|
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object other)
Overrides jdk. Compares the specified object with this layout for equality. |
| public final int | hashCode()
Overrides jdk. Returns the hash code value for this layout. |
| public final boolean | |
| public final List | Returns: the member layouts associated with this group.Returns the member layouts associated with this group. |
| public final String | toString()
Implements abstract jdk. Returns the string representation of this layout. |
| public L | withByteAlignment(long byteAlignment)
Overrides jdk.
|
| elements | back to summary |
|---|---|
| private final List<MemoryLayout> elements | |
| kind | back to summary |
|---|---|
| private final AbstractGroupLayout. | |
| minByteAlignment | back to summary |
|---|---|
| pack-priv final long minByteAlignment | |
| AbstractGroupLayout | back to summary |
|---|---|
| pack-priv AbstractGroupLayout(AbstractGroupLayout. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object other) Overrides jdk. Doc from jdk. Compares the specified object with this layout for equality. Returns
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides jdk. Doc from jdk. Returns the hash code value for this layout.
| |
| hasNaturalAlignment | back to summary |
|---|---|
| public final boolean hasNaturalAlignment() Overrides jdk.
| |
| memberLayouts | back to summary |
|---|---|
| public final List Returns the member layouts associated with this group. API Note the order in which member layouts are returned is the same order in which member layouts have
been passed to one of the group layout factory methods (see
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract jdk. Doc from jdk. Returns the string representation of this layout.
| |
| withByteAlignment | back to summary |
|---|---|
| public L withByteAlignment(long byteAlignment) Overrides jdk.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| public static final AbstractGroupLayout. | STRUCT
A 'struct' kind. |
| public static final AbstractGroupLayout. | UNION
A 'union' kind. |
| Modifier and Type | Method and Description |
|---|---|
| public static AbstractGroupLayout. | |
| public static AbstractGroupLayout. |
| delimTag | back to summary |
|---|---|
| pack-priv final String delimTag | |
| STRUCT | back to summary |
|---|---|
| public static final AbstractGroupLayout. A 'struct' kind. | |
| UNION | back to summary |
|---|---|
| public static final AbstractGroupLayout. A 'union' kind. | |
| Kind | back to summary |
|---|---|
| private Kind(String delimTag) | |
| valueOf | back to summary |
|---|---|
| public static AbstractGroupLayout. | |
| values | back to summary |
|---|---|
| public static AbstractGroupLayout. | |