Package com.helger.commons.name
Interface INameProvider<DATATYPE>
-
- Type Parameters:
DATATYPE- The data type to retrieve the name from
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface INameProvider<DATATYPE>
Interface for a handler the provides the name of an object.- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static INameProvider<IHasName>createHasName()StringgetName(DATATYPE aObject)Get the name of the passed object.
-