Annotation Interface GenerateListOfStrings


@Retention(RUNTIME) @Target(FIELD) public @interface GenerateListOfStrings
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Will add this number of nulls into the list to enable nulls to be generated with the weighting given (eg adding 6 nulls to a list of 6 strings ought to produce nulls 50% of the time).
  • Element Details

    • nullLoadFactor

      int nullLoadFactor
      Will add this number of nulls into the list to enable nulls to be generated with the weighting given (eg adding 6 nulls to a list of 6 strings ought to produce nulls 50% of the time). Default is zero ie no nulls.
      Returns:
      the number of nulls to generate
      Default:
      0