Interface ElfNote.NoteReaderFunc<T extends ElfNote>

Enclosing class:
ElfNote
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 ElfNote.NoteReaderFunc<T extends ElfNote>
  • Method Summary

    Modifier and Type
    Method
    Description
    read(ElfNote note, Program program)
    Returns a more specific Note type, typically using the data found in the generic note's ElfNote.getDescription() and the supplied Program.
  • Method Details

    • read

      T read(ElfNote note, Program program) throws IOException
      Returns a more specific Note type, typically using the data found in the generic note's ElfNote.getDescription() and the supplied Program.
      Parameters:
      note - generic note instance
      program - Program containing the note
      Returns:
      new note instance
      Throws:
      IOException - if error reading