## com.ibm.lab.soln.usingjdt.refactoring
Class PrimeNumberGenerator

    java.lang.Object
      |
      +--com.ibm.lab.soln.usingjdt.refactoring.NumberGenerator
            |
            +--com.ibm.lab.soln.usingjdt.refactoring.PrimeNumberGenerator

public class PrimeNumberGenerator
extends NumberGenerator

Class `PrimeNumberGenerator` generates a series of prime factorials starting with 2. The class is used in a number of the exercises to illustrate different capabilities of the Java Development Tools (JDT). Several versions of this class exist in different packages in this project and in packages in other projects. These different versions are used in the different parts of the exercises.

Field Summary

Fields inherited from class com.ibm.lab.soln.usingjdt.refactoring.NumberGenerator
`quantity, results`

Constructor Summary
`PrimeNumberGenerator()`

Method Summary
`void` | `generateNumbers()` Method `generateNumbers` generates `quantity` prime numbers.

Methods inherited from class com.ibm.lab.soln.usingjdt.refactoring.NumberGenerator
`getQuantity, getResults, outputResults, setQuantity, setResults, sortResults`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PrimeNumberGenerator

    public PrimeNumberGenerator()

Method Detail

### generateNumbers

    public void generateNumbers()

  Method `generateNumbers` generates `quantity` prime numbers.

  Overrides:
    `generateNumbers` in class `NumberGenerator`