Class FillArray

java.lang.Object
ru.objectsfill.types.array.FillArray

public class FillArray extends Object
The `FillArray` class provides a method to create an array and fill it with generated values.
  • Constructor Details

    • FillArray

      public FillArray()
  • Method Details

    • createArray

      public <T> Object[] createArray(Class<T> fieldType, Fill fill)
      Creates an array of the specified component type and fills it with generated values.
      Type Parameters:
      T - the component type of the array
      Parameters:
      fieldType - the class representing the component type of the array
      fill - the `Fill` object containing the generation parameters
      Returns:
      the created array filled with generated values