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

public interface GroupMapping<L extends GroupLayout> extends DataMapping<L>
A mapping for a group layout.
  • Method Details

    • withByteAlignment

      GroupMapping<L> withByteAlignment(long byteAlignment)
      Description copied from interface: DataMapping
      Returns a copy of this mapping with the specified byte alignment.
      Specified by:
      withByteAlignment in interface DataMapping<L extends GroupLayout>
      Parameters:
      byteAlignment - the new byte alignment
      Returns:
      the new mapping
    • typedef

      GroupMapping<L> typedef(String name)
      Description copied from interface: Mapping
      Creates a new instance of this mapping with the specified type name.
      Specified by:
      typedef in interface Mapping<L extends GroupLayout>
      Returns:
      the new mapping