## com.ibm.lab.usingjdt.codegeneration
Class PrimeNumberGenerator

    java.lang.Object
      |
      +--com.ibm.lab.usingjdt.codegeneration.PrimeNumberGenerator

public class PrimeNumberGenerator
extends java.lang.Object

Class `PrimeNumberGenerator` generates a series of prime numbers 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
`int` | `quan`

Constructor Summary
`PrimeNumberGenerator()`

Method Summary
`void` | `generatePrimeNumbers()`
`java.lang.Object[]` | `getResults()`
`void` | `outputResults(java.lang.String prefix)` Method outputResults.
`void` | `setResults(java.lang.Object[] results)`
`void` | `sortResults()`

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

Field Detail

### quan

    public int quan

Constructor Detail

### PrimeNumberGenerator

    public PrimeNumberGenerator()

Method Detail

### generatePrimeNumbers

    public void generatePrimeNumbers()

### getResults

    public java.lang.Object[] getResults()

### outputResults

    public void outputResults(java.lang.String prefix)

  Method outputResults.

  Parameters:
    `prefix` -

### setResults

    public void setResults(java.lang.Object[] results)

### sortResults

    public void sortResults()