Interface SubRecord.SubRecordTypes.RecordConstructor<T extends SubRecord>

Enclosing class:
SubRecord.SubRecordTypes
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SubRecord.SubRecordTypes.RecordConstructor<T extends SubRecord>
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(LittleEndianInput in, int size, int cmoOt)
    read a sub-record from the supplied stream
  • Method Details

    • apply

      T apply(LittleEndianInput in, int size, int cmoOt)
      read a sub-record from the supplied stream
      Parameters:
      in - the stream to read from
      cmoOt - the objectType field of the containing CommonObjectDataSubRecord, we need it to propagate to next sub-records as it defines what data follows
      Returns:
      the created sub-record