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.

@API(status=STABLE, since="0.1") @FunctionalInterface public interface I18nStringConverter
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 Type
    Method
    Description
    @NotNull I18nString
    convert(@NotNull I18nString value)
    Converts the specified I18nString to an instance of the desired I18nString subtype.
  • Method Details

    • convert

      @NotNull @NotNull I18nString convert(@NotNull @NotNull I18nString value)
      Converts the specified I18nString to an instance of the desired I18nString subtype.
      Parameters:
      value - The original I18nString instance
      Returns:
      The converted I18nString instance