Module data.api

Interface IdGenerator<T>

  • Type Parameters:
    T - the generic type of the id

    public interface IdGenerator<T>
    The interface IdGenerator provides a method for get the next and the current id object
    • Method Detail

      • getNextId

        T getNextId()
        Gets the next id
        Returns:
        the next id
      • getCurrentId

        T getCurrentId()
        Gets the current id
        Returns:
        the current id