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 I18nString
convert
(@NotNull I18nString value) Converts the specifiedI18nString
to an instance of the desiredI18nString
subtype.
-
Method Details
-
convert
Converts the specifiedI18nString
to an instance of the desiredI18nString
subtype.- Parameters:
value
- The originalI18nString
instance- Returns:
- The converted
I18nString
instance
-