Class CurrencyGenerator

All Implemented Interfaces:
Generator, TypedGenerator<Currency>

@API(status=STABLE, since="0.1") @Priority(-1000) public class CurrencyGenerator extends AbstractTypedGenerator<Currency>
Generator of Currency values.
Since:
0.1
Version:
2.0, 2022-10
Author:
(w) Iker Hernaez
  • Field Details

    • DEFAULT

      public static final Currency DEFAULT
      The default currency.
  • Constructor Details

    • CurrencyGenerator

      public CurrencyGenerator()
      Creates a new instance.
  • Method Details

    • defaultValue

      @NotNull public @NotNull Currency defaultValue()
      Returns the default value of the supported type.
      Returns:
      The default value.
    • randomValue

      @NotNull public @NotNull Currency randomValue()
      Returns a random value of the supported type.
      Returns:
      A random value.