|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peakml.PeakDataIterator<gPeak>
public class PeakDataIterator<gPeak extends Peak>
An iterator for peak-data, allowing for sequential access to Peak
data
stored in a PeakData
instance. It uses the Centroid
or
Profile
implementations for access to the different elements of a data
point.
Method Summary | |
---|---|
boolean |
hasNext()
Returns true when there are still more elements in the PeakData instance
to be traversed. |
gPeak |
next()
Returns the current Peak instance and moves the iterator one step further. |
void |
remove()
This function has not been implemented and throws a RuntimeException on invocation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
PeakData
instance
to be traversed.
hasNext
in interface java.util.Iterator<gPeak extends Peak>
public gPeak next()
Peak
instance and moves the iterator one step further.
next
in interface java.util.Iterator<gPeak extends Peak>
Peak
instance.public void remove()
remove
in interface java.util.Iterator<gPeak extends Peak>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |