Interface Word<T>

  • Type Parameters:
    T - The type of the content.
    All Known Implementing Classes:
    Article, Noun, Preposition, Verb
    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 Word<T>
    This functional interface provides a "getContent()" method to Words.
    • Method Detail

      • getContent

        T getContent()