Enum Class ICUFunctionFactory

java.lang.Object
java.lang.Enum<ICUFunctionFactory>
fluent.functions.icu.ICUFunctionFactory
All Implemented Interfaces:
fluent.functions.FluentFunctionFactory, Serializable, Comparable<ICUFunctionFactory>, Constable

public enum ICUFunctionFactory extends Enum<ICUFunctionFactory> implements fluent.functions.FluentFunctionFactory
The factory for ICU-based functions.

This factory is used to initialize fluent bundles with ICU-based functions.

Example usage: FluentBundle.builder( Locale.US, ICUFunctionFactory.INSTANCE )

  • Enum Constant Details

  • Method Details

    • values

      public static ICUFunctionFactory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ICUFunctionFactory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • implicits

      public Set<fluent.functions.FluentImplicit> implicits()
      Specified by:
      implicits in interface fluent.functions.FluentFunctionFactory
    • functions

      public Set<fluent.functions.FluentFunction> functions()
      Specified by:
      functions in interface fluent.functions.FluentFunctionFactory
    • resources

      public fluent.functions.FunctionResources resources(Locale locale)
      Specified by:
      resources in interface fluent.functions.FluentFunctionFactory