Interface IHasLongID

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 IHasLongID
Base interface for all objects having a long ID.
Author:
Philip Helger
  • Method Details

    • getID

      long getID()
      Returns:
      The simple long ID of this object.
    • getIDObj

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

      @Nonnull static Comparator<IHasLongID> getComparatorID()