Class BooleanGenerator

All Implemented Interfaces:
Generator, TypedGenerator<Boolean>

@API(status=STABLE, since="0.1") @Priority(-1000) public class BooleanGenerator extends AbstractPrimitiveGenerator<Boolean>
Generator of boolean and Boolean values.
Since:
0.1
Version:
1.0, 2022-10
Author:
(w) Iker Hernaez
  • Field Details

    • DEFAULT_VALUE

      public static final boolean DEFAULT_VALUE
      The default value.
      See Also:
  • Constructor Details

    • BooleanGenerator

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

    • defaultValue

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

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