org.unlaxer.CodePointOffset Maven / Gradle / Ivy
package org.unlaxer;
import org.unlaxer.base.IntegerValue;
public class CodePointOffset extends IntegerValue{
public static final CodePointOffset ZERO = new CodePointOffset(0);
public CodePointOffset(int value) {
super(value);
}
public CodePointOffset(IntegerValue> value) {
super(value);
}
@Override
public CodePointOffset create(int i) {
return new CodePointOffset(i);
}
@Override
public CodePointOffset create(IntegerValue> i) {
return new CodePointOffset(i);
}
public CodePointIndex toCodePointIndex() {
return new CodePointIndex(value());
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy