Interface GroupMapping<L extends GroupLayout>
- Type Parameters:
L- the group layout type
- All Superinterfaces:
DataMapping<L>, Mapping<L>
- All Known Subinterfaces:
GroupBinder<L,T>, StructBinder<T>, UnionBinder<T>
- All Known Implementing Classes:
Mapping.Struct, Mapping.Union
A mapping for a group layout.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mapping
Mapping.Boolean, Mapping.Byte, Mapping.Char, Mapping.CLong, Mapping.Double, Mapping.Float, Mapping.Int, Mapping.Long, Mapping.Opaque, Mapping.Pointer, Mapping.Sequence, Mapping.Short, Mapping.Size, Mapping.Struct, Mapping.Union -
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of this mapping with the specified type name.withByteAlignment(long byteAlignment) Returns a copy of this mapping with the specified byte alignment.Methods inherited from interface DataMapping
allocateSegment, allocateSegment, allocateSegment, allocateSegment, array, mallocSegment, mallocSegment
-
Method Details
-
withByteAlignment
Description copied from interface:DataMappingReturns a copy of this mapping with the specified byte alignment.- Specified by:
withByteAlignmentin interfaceDataMapping<L extends GroupLayout>- Parameters:
byteAlignment- the new byte alignment- Returns:
- the new mapping
-
typedef
Description copied from interface:MappingCreates a new instance of this mapping with the specified type name.- Specified by:
typedefin interfaceMapping<L extends GroupLayout>- Returns:
- the new mapping
-