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 BannerLine
Represents an additional line that can be added to a banner.

A banner line knows how to print itself as a string.

Author:
Grégory Van den Borre
  • Method Summary

    Modifier and Type
    Method
    Description
    Prints this banner line as a string.
  • Method Details

    • print

      String print()
      Prints this banner line as a string.
      Returns:
      the string representation of this banner line