|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.BasicSampledMappingIterator
public class BasicSampledMappingIterator
This class is a simple wrapper allowing to iterate over a SampledFunction.
The basic implementation of the iteration interface does not perform any transformation on the sample, it only handles a loop over the underlying sampled function.
SampledMapping,
Serialized Form| Constructor Summary | |
|---|---|
BasicSampledMappingIterator(SampledMapping function)
Simple constructor. |
|
| Method Summary | |
|---|---|
SampledMapping |
getSampledMapping()
DOCUMENT ME! |
boolean |
hasNext()
Check if the iterator can provide another point. |
ValuedPair |
next()
Get the next point of a sampled function. |
void |
remove()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicSampledMappingIterator(SampledMapping function)
function - smapled function over which we want to iterate| Method Detail |
|---|
public SampledMapping getSampledMapping()
SampledMappingIterator
getSampledMapping in interface SampledMappingIteratorpublic boolean hasNext()
SampledMappingIterator
hasNext in interface SampledMappingIteratorpublic ValuedPair next()
SampledMappingIterator
next in interface SampledMappingIteratorpublic void remove()
SampledMappingIterator
remove in interface SampledMappingIterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||