Interface HeaderView.HeaderConsumer

Enclosing interface:
HeaderView
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 HeaderView.HeaderConsumer
Callback for HeaderView.forEach(dev.relism.flash.models.HeaderView.HeaderConsumer). Implement with a reusable, field-holding instance (reset before each forEach call) rather than a capturing lambda if the call site itself needs to be allocation-free too — a capturing lambda is its own per-call allocation, same as anywhere else on a hot path.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(dev.relism.fpr.core.ByteView name, dev.relism.fpr.core.ByteView value)
     
  • Method Details

    • accept

      void accept(dev.relism.fpr.core.ByteView name, dev.relism.fpr.core.ByteView value)