Interface EntityIdentifier<T,​ID>

  • Type Parameters:
    T - Тип сущности
    ID - Тип идентификатора
    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 interface EntityIdentifier<T,​ID>
    Идентификация сущности
    • Method Detail

      • identify

        ID identify​(T entity)
        Получить идентификатор сущности
        Parameters:
        entity - Сущность
        Returns:
        Идентификатор