java.lang.Object
com.pholser.junit.quickcheck.internal.Ranges

public final class Ranges extends Object
  • Constructor Details

    • Ranges

      private Ranges()
  • Method Details

    • checkRange

      public static <T extends Comparable<? super T>> int checkRange(Ranges.Type type, T min, T max)
    • choose

      public static BigInteger choose(SourceOfRandomness random, BigInteger min, BigInteger max)
    • choose

      public static long choose(SourceOfRandomness random, long min, long max)
    • findNextPowerOfTwoLong

      static long findNextPowerOfTwoLong(long positiveLong)
    • isPowerOfTwoLong

      private static boolean isPowerOfTwoLong(long positiveLong)