Interface Option<T>

All Superinterfaces:
Localized, Serializable
All Known Implementing Classes:
Option.RawOption

public interface Option<T> extends Serializable, Localized
  • Method Details

    • getValue

      T getValue()
    • getDisplayValue

      LocalizedString getDisplayValue()
    • toString

      default String toString(Locale locale)
      Description copied from interface: Localized
      Returns a localized string representation of this object for the given Locale.
      Specified by:
      toString in interface Localized
      Parameters:
      locale - The locale to use for translation.
      Returns:
      A localized string.