## com.ibm.lab.usingjdt.refactoring
Class NumberGenerator

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

Direct Known Subclasses:
  PrimeFactorialGenerator, PrimeNumberGenerator

public class NumberGenerator
extends java.lang.Object

Class `NumberGenerator` is a superclass for `PrimeNumberGenerator` and `PrimeFactorialGenerator` . It is used in a number of the exercises to illustrate different capabilities of the Java Development Tools (JDT).

Field Summary
`protected int` | `quantity`
`protected java.lang.Object[]` | `results`

Constructor Summary
`NumberGenerator()`

Method Summary
`void` | `generateNumbers()`
`int` | `getQuantity()`
`java.lang.Object[]` | `getResults()`
`void` | `outputResults(java.lang.String prefix)`
`void` | `setQuantity(int quan)`
`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

### quantity

    protected int quantity

### results

    protected java.lang.Object[] results

Constructor Detail

### NumberGenerator

    public NumberGenerator()

Method Detail

### generateNumbers

    public void generateNumbers()

### getQuantity

    public int getQuantity()

### getResults

    public java.lang.Object[] getResults()

### outputResults

    public void outputResults(java.lang.String prefix)

### setQuantity

    public void setQuantity(int quan)

### setResults

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

### sortResults

    public void sortResults()