All Packages Class Hierarchy This Package Previous Next Index
Class sdsu.algorithms.data.DoubleObjectGenerator
java.lang.Object
|
+----sdsu.algorithms.data.DoubleObjectGenerator
- public class DoubleObjectGenerator
- extends Object
- implements ObjectGenerator
Converts a sequence of numbers to a sequence of Double objects. Uses
a NumberGenerator to actually generate the sequence.
- Version:
- 1.0 19 June 1997
- Author:
- Roger Whitney (whitney@cs.sdsu.edu)
- See Also:
- ObjectGenerator, NumberGenerator
-
DoubleObjectGenerator(NumberGenerator)
- Create an DoubleObjectGenerator which uses aGenerator
to generate the actual sequence of numbers.
-
nextElement()
- Returns the next double in the sequence.
DoubleObjectGenerator
public DoubleObjectGenerator(NumberGenerator aGenerator)
- Create an DoubleObjectGenerator which uses aGenerator
to generate the actual sequence of numbers.
nextElement
public Object nextElement()
- Returns the next double in the sequence. The double is rapped in a Double object.
All Packages Class Hierarchy This Package Previous Next Index