Interface IHasDisplayName

All Known Subinterfaces:
IEmailAddress, ILicense, IThirdPartyModule
All Known Implementing Classes:
CustomLicense, ELicense, EmailAddress, EOperatingSystem, ThirdPartyModule
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 IHasDisplayName
Base interface for objects that have a locale independent display name.
I contract to IHasName this interface is meant for display names of objects (e.g. user names or folder names).
Author:
Philip Helger
  • Method Details

    • getDisplayName

      @NonNull String getDisplayName()
      Returns:
      The display name of this object. Should never be null.
    • getComparatorDisplayName

      static @NonNull Comparator<IHasDisplayName> getComparatorDisplayName()