|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--sdsu.algorithms.data.ShiftedRangeGenarator
This class modifies a sequence of numbers. Given a number generator this generator shifts all numbers of the generator by a fixed value.
sdsu.data.NumberGenerator| Constructor Summary | |
ShiftedRangeGenarator(double shift,
NumberGenerator aGenerator)
Creates a generator that shifts the range of its generator. |
|
| Method Summary | |
double |
nextElement()
Returns the next number in a sequence. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ShiftedRangeGenarator(double shift,
NumberGenerator aGenerator)
shift - the amount to translate the range aGenerator.| Method Detail |
public final double nextElement()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||