Package com.helger.commons.id.factory
Interface IIDFactory<IDTYPE>
- Type Parameters:
IDTYPE- Type of ID to be generated
- All Superinterfaces:
IBaseIDFactory
- All Known Subinterfaces:
IStringIDFactory
- All Known Implementing Classes:
StringIDFactory,StringIDFromGlobalIntIDFactory,StringIDFromGlobalLongIDFactory,StringIDFromGlobalPersistentIntIDFactory,StringIDFromGlobalPersistentLongIDFactory,StringIDFromIntIDFactory,StringIDFromLongIDFactory
- 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 IIDFactory<IDTYPE>
extends IBaseIDFactory
Interface for an object creating unique IDs.
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
getNewID
- Returns:
- The new unique ID. May never be
null.
-