Package me.datafox.dfxengine.text.api
Interface PluralConverter
- All Known Implementing Classes:
DefaultPluralConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A converter that converts a singular noun to a plural one.
-
Method Summary
-
Method Details
-
convert
- Parameters:
singular
- singular form of a noun- Returns:
- plural form of the provided noun, or
null
if the singular isnull
-