
org.jcamp.parser.ASDFParseState 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.
package org.jcamp.parser;
final class ASDFParseState {
private int currentLineNumber = 1;
private int currentIndex = -1;
private int currentY = 0;
private double checkX = 0.0;
private int checkY = 0;
public ASDFParseState() {
}
public double getCheckX() {
return this.checkX;
}
public int getCheckY() {
return this.checkY;
}
public int getCurrentIndex() {
return this.currentIndex;
}
public int getCurrentLineNumber() {
return this.currentLineNumber;
}
public int getCurrentY() {
return this.currentY;
}
void incrCurrentIndex() {
currentIndex ++;
}
void incrCurrentIndex(int incr) {
currentIndex += incr;
}
void incrCurrentLineNumber() {
currentLineNumber ++;
}
void setCheckX(double x)
{
this.checkX = x;
}
void setCheckY(int y)
{
this.checkY = y;
}
public void setCurrentIndex(int index) {
this.currentIndex = index;
}
public void setCurrentY(int y)
{
this.currentY = y;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy