pair.java

来自「软件体系结构 KWIC三种风格的java实现」· Java 代码 · 共 19 行

JAVA
19
字号
package SharedDataKwic;

class Pair {
	private int lineIndex; //单词所在行的索引
	private int wordIndex; //单词当前行的索引,即单词在当前行的第几个
	
	public Pair(int line, int word) {
		this.lineIndex = line;
		this.wordIndex = word;
	}

	public int getLineIndex() {
		return lineIndex;
	}

	public int getWordIndex() {
		return wordIndex;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?