edu.isi.nlp.strings.offsets.EDTOffset Maven / Gradle / Ivy
The newest version!
package edu.isi.nlp.strings.offsets;
public final class EDTOffset extends AbstractOffset {
private EDTOffset(int val) {
super(val);
}
public static EDTOffset asEDTOffset(int val) {
return new EDTOffset(val);
}
@Override
public EDTOffset shiftedCopy(final int shiftAmount) {
return asEDTOffset(asInt() + shiftAmount);
}
@Override
public String toString() {
return "e" + asInt();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy