Package net.java.quickcheck.generator.support

Examples of net.java.quickcheck.generator.support.LongGenerator


  /**
   * Create a new long generator which creates longs ranging from
   * {@link Long#MIN_VALUE} to {@link Long#MAX_VALUE}.
   */
  public static Generator<Long> longs() {
    return new LongGenerator();
  }
View Full Code Here


  /**
   * Create a new long generator which creates longs ranging from lo to hi.
   */
  public static Generator<Long> longs(long lo, long hi) {
    return new LongGenerator(lo, hi, Distribution.UNIFORM);
  }
View Full Code Here

   * Create a new long generator which creates longs ranging from lo to hi
   * based on the given {@link Distribution}.
   */
  public static Generator<Long> longs(long lo, long hi,
      Distribution distribution) {
    return new LongGenerator(lo, hi, distribution);
  }
View Full Code Here

  /**
   * Create a new long generator which creates longs ranging from
   * {@link Long#MIN_VALUE} to {@link Long#MAX_VALUE}.
   */
  public static Generator<Long> longs() {
    return new LongGenerator();
  }
View Full Code Here

  /**
   * Create a new long generator which creates longs ranging from lo to hi.
   */
  public static Generator<Long> longs(long lo, long hi) {
    return new LongGenerator(lo, hi, Distribution.UNIFORM);
  }
View Full Code Here

   * Create a new long generator which creates longs ranging from lo to hi
   * based on the given {@link Distribution}.
   */
  public static Generator<Long> longs(long lo, long hi,
      Distribution distribution) {
    return new LongGenerator(lo, hi, distribution);
  }
View Full Code Here

TOP

Related Classes of net.java.quickcheck.generator.support.LongGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.