- Enclosing interface:
EntityApiLookup<A,C>
public static interface EntityApiLookup.EntityApiProvider<A,C>
-
Method Summary 
Return an instance of API A
if available in the given entity with the given context, or null
otherwise.
-
Method Details 
-
find 
@Nullable
A find(Entity entity,
C context)
Return an instance of API A
if available in the given entity with the given context, or null
otherwise.
- Parameters:
entity
- the entity.
context
- additional context for the query.