GroupLayoutPREVIEW
, MemoryLayoutPREVIEW
UnionLayout
is a preview API of the Java platform.
A group layout whose member layouts are laid out at the same starting offset.
Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).
Returns a memory layout with the same characteristics as this layout, but with the given name.
Returns a memory layout with the same characteristics as this layout, but with no name.
Methods declared in interface java.lang.foreign.MemoryLayoutPREVIEWbyteAlignment, byteOffset, byteOffsetHandle, byteSize, equals, hashCode, name, select, sliceHandle, toString, varHandle
Returns a memory layout with the same characteristics as this layout, but with the given name.
withName
in interface GroupLayoutPREVIEW
withName
in interface MemoryLayoutPREVIEW
name
- the layout name.
Returns a memory layout with the same characteristics as this layout, but with no name.
withoutName
in interface GroupLayoutPREVIEW
withoutName
in interface MemoryLayoutPREVIEW
Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).
withByteAlignment
in interface GroupLayoutPREVIEW
withByteAlignment
in interface MemoryLayoutPREVIEW
byteAlignment
- the layout alignment constraint, expressed in bytes.
IllegalArgumentException
- if byteAlignment
is not a power of two.
IllegalArgumentException
- if byteAlignment
is less than M
, where M
is the maximum alignment constraint in any of the member layouts associated with this group layout.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4