Interface Unique
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A unique object has a sequential integer ID that specifically distinguishes
it from other objects of the same type in the same
story world.- Author:
- Stephen G. Ware
-
Method Summary
Modifier and TypeMethodDescriptionintgetID()Returns this object's unique, sequential, integer ID number that distinguishes it from other objects of the same type in the same story world.
-
Method Details
-
getID
int getID()Returns this object's unique, sequential, integer ID number that distinguishes it from other objects of the same type in the same story world.- Returns:
- the object's ID number
-