org.jcamp.parser.IStringIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcamp-dx Show documentation
Show all versions of jcamp-dx Show documentation
The JCAMP-DX project is the reference implemention of the IUPAC JCAMP-DX spectroscopy data standard.
The newest version!
package org.jcamp.parser;
/**
* iterator over a string returning substring positions
* @author Thomas Weber
* @see JCAMPParser
*/
interface IStringIterator {
/**
* get current offset within string.
*/
int getOffset();
/**
* check if another substring is available.
* @return boolean
*/
boolean hasNext();
/**
* gets next substring.
* @return java.lang.String
*/
String next();
}