Interface IHasIntID

All Known Implementing Classes:
EFileIOErrorCode
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 IHasIntID
Base interface for all objects having an int ID.
Author:
Philip Helger
  • Method Details

    • getID

      int getID()
      Returns:
      The primitive int ID of this object.
    • getIDObj

      @Nonnull default Integer getIDObj()
      Returns:
      The Integer representation of the contained "int" ID.
    • getComparatorID

      @Nonnull static Comparator<IHasIntID> getComparatorID()