org.jscience.util
Class CircularNumberStepper

java.lang.Object
  extended by org.jscience.util.NumberStepper
      extended by org.jscience.util.BoundedNumberStepper
          extended by org.jscience.util.CircularNumberStepper
All Implemented Interfaces:
java.util.Iterator

public class CircularNumberStepper
extends BoundedNumberStepper

A class representing a way to iterate numbers.


Constructor Summary
CircularNumberStepper(double beginStep, double endStep, double step)
          Creates a new CircularNumberStepper object.
 
Method Summary
 boolean hasNext()
          DOCUMENT ME!
 java.lang.Object next()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.util.BoundedNumberStepper
getEndStep, setEndStep
 
Methods inherited from class org.jscience.util.NumberStepper
getBeginStep, getStep, getValue, remove, reset, setBeginStep, setStep, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircularNumberStepper

public CircularNumberStepper(double beginStep,
                             double endStep,
                             double step)
Creates a new CircularNumberStepper object.

Parameters:
beginStep - DOCUMENT ME!
endStep - DOCUMENT ME!
step - DOCUMENT ME!
Method Detail

hasNext

public boolean hasNext()
DOCUMENT ME!

Specified by:
hasNext in interface java.util.Iterator
Overrides:
hasNext in class BoundedNumberStepper
Returns:
DOCUMENT ME!

next

public java.lang.Object next()
DOCUMENT ME!

Specified by:
next in interface java.util.Iterator
Overrides:
next in class BoundedNumberStepper
Returns:
DOCUMENT ME!