sdsu.algorithms.data
Interface ObjectGenerator
- All Known Implementing Classes:
- DoubleObjectGenerator, StringGenerator, IntegerObjectGenerator
- public abstract interface ObjectGenerator
An interface for generating a sequence of objects. The intent is to act as an
adaptor for number generators. Some objects require numbers to be wrapped in
an Number object. Placing a ObjectGenerator at the end of a number generator chain
will automatical place the number in a Number object. It is also used to keep data
manipulators independent from the data type.
- Version:
- 1.0 19 June 1997
- Author:
- Roger Whitney (whitney@cs.sdsu.edu)
- See Also:
sdsu.data.NumberGenerator
nextElement
public java.lang.Object nextElement()