find

public abstract Optional<E> find(I id)

Finds an entity with the passed ID.

Return

the entity or empty if there's no entity with such ID

Parameters

id

the ID of the entity to load