# Class Quaternion4DGenerator

java.lang.Object
com.io7m.jtensors.generators.Quaternion4DGenerator

All Implemented Interfaces:
  `net.java.quickcheck.Generator<Quaternion4D>`

public final class Quaternion4DGenerator extends Object implements net.java.quickcheck.Generator<Quaternion4D>
A quaternion generator.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Quaternion4DGenerator(net.java.quickcheck.Generator<Double> in_gen)`
  Construct a generator.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> net.java.quickcheck.Generator<Quaternion4D>`
  `create()`
  Create a generator initialized with a default component generator that produces values in the range `[-1.0, 1.0]`.
  `Quaternion4D`
  `next()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Quaternion4DGenerator

    public Quaternion4DGenerator(net.java.quickcheck.Generator<Double> in_gen)
    Construct a generator.
    Parameters:
      `in_gen` - A component generator

- ## Method Details

  - ### create

    public static <T> net.java.quickcheck.Generator<Quaternion4D> create()
    Create a generator initialized with a default component generator that produces values in the range `[-1.0, 1.0]`.
    Type Parameters:
      `T` - A phantom type parameter
    Returns:
      A generator

  - ### next

    public Quaternion4D next()
    Specified by:
      `next` in interface `net.java.quickcheck.Generator<Quaternion4D>`