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 Summary

    Modifier and Type
    Method
    Description
    Gets the current id
    Gets the next id
  • Method Details

    • getNextId

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

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