Package englishlanguage
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetContent()
-
-
-
Method Detail
-
getContent
T getContent()
-
-