Interface BookLike

All Known Subinterfaces:
Book
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 BookLike
Something that can be represented as a Book.
Since:
5.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a Book representation of this object.
  • Method Details

    • asBook

      @Contract(pure=true) Book asBook()
      Gets a Book representation of this object.
      Returns:
      a book
      Since:
      5.0.0