infoitem.java

来自「java实现的web搜索引擎」· Java 代码 · 共 39 行

JAVA
39
字号
package com.catking.webSearcher;

public class InfoItem {
	
	private int fileID;
	private int offset;
	private InfoItem next;
	
	public InfoItem(){
		
		this.fileID = 0;
		this.offset = 0;
		this.next = null;
	}
	public InfoItem(int id, int offset){
		
		this.fileID = id;
		this.offset = offset;
		
	}
	
	public void setNext(InfoItem next){
		
		this.next = next;
	}
	public int getFileID() {
		return fileID;
	}
	public int getOffset() {
		return offset;
	}
	public InfoItem getNext() {
		return next;
	}
	
	

}

⌨️ 快捷键说明

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