Package com.helger.commons.id.factory
Interface IIntIDFactory
- All Superinterfaces:
IBaseIDFactory
- All Known Implementing Classes:
AbstractPersistingIntIDFactory,FileIntIDFactory,MemoryIntIDFactory,MemoryStaticIntIDFactory
- 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 IIntIDFactory
extends IBaseIDFactory
Interface for an object creating unique int IDs.
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
getNewID
int getNewID()Create a new unique integer ID.- Returns:
- The newly created ID.
-