org.infinispan.commons.configuration.io.Location Maven / Gradle / Ivy
package org.infinispan.commons.configuration.io;
/**
* @since 12.1
* @author Tristan Tarrant <[email protected]%gt;
*/
public interface Location {
int getLineNumber();
int getColumnNumber();
static Location of(int line, int column) {
return new Location() {
@Override
public int getLineNumber() {
return line;
}
@Override
public int getColumnNumber() {
return column;
}
public String toString() {
return "[" + line + ',' + column + ']';
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy