superblock.java

来自「操作系统课内实验部分」· Java 代码 · 共 28 行

JAVA
28
字号
/** * Class representing the super block. *  * TO DO: This has to be refactored so to allow * the data in this class to be declared as private * This will require getter/setter methods for each data element. */class SuperBlock {	// number of blocks in the file system.	int size;	//public int size;	// number of index blocks in the file system. 	int iSize;	//public int iSize;	// first block of the free list	int freeList;	//public int freeList;	public String toString () {		return			"SUPERBLOCK:\n"			+ "Size: " + size			+ "  Isize: " + iSize			+ "  freeList: " + freeList;	}}

⌨️ 快捷键说明

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