Interface PartApiLookup.PartApiProvider<A,C,P extends IPart>

Enclosing class:
PartApiLookup
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 PartApiLookup.PartApiProvider<A,C,P extends IPart>
  • Method Summary

    Modifier and Type
    Method
    Description
    find(P part, C context)
    Return an API of type A if available in the given part with the given context, or null otherwise.
  • Method Details

    • find

      @Nullable A find(P part, C context)
      Return an API of type A if available in the given part with the given context, or null otherwise.
      Parameters:
      part - The part.
      context - Additional context passed to the query.
      Returns:
      An API of type A, or null if no API is available.