rafa.math.gen
Interface INumberGenerator
- All Superinterfaces:
- Dependent, java.util.EventListener, Listened, Named, java.beans.PropertyChangeListener
- All Known Implementing Classes:
- FilteredGenerator, NumberGenerator
public interface INumberGenerator
- extends Dependent, Named, Listened, java.beans.PropertyChangeListener
- Author:
- rafa
Method Summary |
void |
generate()
Performs an iteration of value generation. |
java.lang.Number |
getValue(int index)
|
java.util.List<java.lang.Number> |
getValues()
|
void |
reset()
Resets the generator to initial values. |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
generate
void generate()
throws java.lang.Exception
- Performs an iteration of value generation.
- Throws:
java.lang.Exception
getValue
java.lang.Number getValue(int index)
throws java.lang.Exception
- Parameters:
index
- The value index
- Returns:
- The requested value
- Throws:
java.lang.Exception
getValues
java.util.List<java.lang.Number> getValues()
- Returns:
- Returns the values.
reset
void reset()
throws java.lang.Exception
- Resets the generator to initial values.
- Throws:
java.lang.Exception
Copyright © 2008-2009. All Rights Reserved.