Interface IHasDescription

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 IHasDescription
Base interface for objects that have a locale independent description.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default boolean
     
  • Method Details

    • getDescription

      @Nullable String getDescription()
      Returns:
      The description of this object. May be null.
    • hasDescription

      default boolean hasDescription()
      Returns:
      true if a description is present, false otherwise.