Interface IDHolder<T>

  • Type Parameters:
    T - the type of ID hold by the object
    All Known Subinterfaces:
    Question
    All Known Implementing Classes:
    DefaultQuestion, Player

    public interface IDHolder<T>
    An object that can be represented by an ID. The reason why `IDHolder` is generic is that some libraries use their own ID system, which makes IDHolders easier to use if no type like UUID is enforced
    • Method Summary

      Modifier and Type Method Description
      T getId()  
    • Method Detail

      • getId

        T getId()
        Returns:
        the ID of the holder