Interface IIDProvider<VALUETYPE,IDTYPE>

Type Parameters:
VALUETYPE - Object type
IDTYPE - Key type
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 IIDProvider<VALUETYPE,IDTYPE>
Interface for objects having an ID.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    getID(VALUETYPE aObject)
    Get the ID of the passed object.
  • Method Details

    • getID

      Get the ID of the passed object.
      Parameters:
      aObject - The object who's ID is to be retrieved. May not be null .
      Returns:
      The ID of the object. May not be null.