Package dev.orne.i18n
Interface I18nStringConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for methods able to convert from any
I18nString
to the desired I18nString subtype.- Since:
- 0.1
- Version:
- 1.0, 2021-02
- Author:
- (w) Iker Hernaez
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull I18nStringconvert(@NotNull I18nString value) Converts the specifiedI18nStringto an instance of the desiredI18nStringsubtype.
-
Method Details
-
convert
Converts the specifiedI18nStringto an instance of the desiredI18nStringsubtype.- Parameters:
value- The originalI18nStringinstance- Returns:
- The converted
I18nStringinstance
-