Interface IRandomStringGenerator<T>

  • Type Parameters:
    T - type of string representation, mostly String.
    All Known Implementing Classes:
    RandomNumberGenerator, RandomStringGenerator

    public interface IRandomStringGenerator<T>
    Interface for a random string generator. Provide a constructor where the randomness can be influenced.
    • Method Summary

      Modifier and Type Method Description
      T next​(int length)
      provides a random string with length length.
    • Method Detail

      • next

        T next​(int length)
        provides a random string with length length.
        Parameters:
        length - length of string
        Returns:
        random string