Class RandomProducer


  • public class RandomProducer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RandomProducer​(java.security.SecureRandom random)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String alpha​(int boundsMin, int boundsMax)  
      @NotNull java.lang.String alphanumeric​(int length)  
      @NotNull java.lang.String alphanumeric​(int boundsMin, int boundsMax)  
      <T> T element​(@NotNull java.util.List<T> list)  
      int intValue​(int boundsMin, int boundsMax)  
      long longValue​(long boundsMin, long boundsMax)  
      @NotNull java.lang.String numeric​(int length)  
      boolean trueOrFalse()  
      @NotNull java.lang.String uuid()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RandomProducer

        public RandomProducer​(java.security.SecureRandom random)
    • Method Detail

      • trueOrFalse

        public boolean trueOrFalse()
      • element

        @NotNull
        public <T> T element​(@NotNull
                             @NotNull java.util.List<T> list)
      • alpha

        @NotNull
        public @NotNull java.lang.String alpha​(int boundsMin,
                                               int boundsMax)
      • alphanumeric

        @NotNull
        public @NotNull java.lang.String alphanumeric​(int boundsMin,
                                                      int boundsMax)
      • alphanumeric

        @NotNull
        public @NotNull java.lang.String alphanumeric​(int length)
      • numeric

        @NotNull
        public @NotNull java.lang.String numeric​(int length)
      • intValue

        public int intValue​(int boundsMin,
                            int boundsMax)
      • longValue

        public long longValue​(long boundsMin,
                              long boundsMax)
      • uuid

        @NotNull
        public @NotNull java.lang.String uuid()