Package com.helger.commons.id
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.
Base interface for all objects having a long ID.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator<IHasLongID> longgetID()default LonggetIDObj()
-
Method Details
-
getID
long getID()- Returns:
- The simple long ID of this object.
-
getIDObj
- Returns:
- The
Longrepresentation of the contained "long" ID.
-
getComparatorID
-