io.github.mmm.base.text.TextPosition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-base Show documentation
Show all versions of mmm-base Show documentation
Basic interfaces and classes for reuse.
The newest version!
package io.github.mmm.base.text;
/**
* Interface for an object that has a position in a text with {@link #getLine() line} and {@link #getColumn() column}
* number.
*/
public interface TextPosition {
/**
* @return the line number starting from {@code 1} for the first line.
*/
int getLine();
/**
* @return the column number starting from {@code 1} for the first character in the {@link #getLine() line}.
*/
int getColumn();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy