Package com.helger.commons.id.factory
Interface ILongIDFactory
- All Superinterfaces:
IBaseIDFactory
- All Known Implementing Classes:
AbstractPersistingLongIDFactory,FileLongIDFactory,MemoryLongIDFactory,MemoryStaticLongIDFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@MustImplementEqualsAndHashcode
@FunctionalInterface
public interface ILongIDFactory
extends IBaseIDFactory
Interface for an object creating unique long IDs.
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
getNewID
long getNewID()Create a new unique long ID.- Returns:
- The newly created ID.
-