Package com.helger.commons.name
Interface IHasName
- All Known Subinterfaces:
ICache<KEYTYPE,,VALUETYPE> IMutableCache<KEYTYPE,VALUETYPE>
- All Known Implementing Classes:
Cache,DateTimeFormatterCache,EHttpMethod,MappedCache,ObjectType,PDTFormatter.LocalizedDateFormatCache,RegExCache
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Base interface for all objects that have a mandatory INTERNAL name
that is not multilingual but should be human interpretable. If you need to
have a name that is displayed on the screen, please use the
IHasDisplayName interface.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator<IHasName> getComparatorCollating(Locale aSortLocale) static Comparator<IHasName> getName()
-
Method Details
-
getName
- Returns:
- The name of the object. May not be
null.
-
getComparatorName
-
getComparatorCollating
-